summaryrefslogtreecommitdiffstats
path: root/test/124-missing-classes/build
diff options
context:
space:
mode:
Diffstat (limited to 'test/124-missing-classes/build')
-rw-r--r--test/124-missing-classes/build9
1 files changed, 8 insertions, 1 deletions
diff --git a/test/124-missing-classes/build b/test/124-missing-classes/build
index 62e57c8..b92ecf9 100644
--- a/test/124-missing-classes/build
+++ b/test/124-missing-classes/build
@@ -25,4 +25,11 @@ ${JAVAC} -d classes `find src -name '*.java'`
# ...but not at run time.
rm 'classes/MissingClass.class'
rm 'classes/Main$MissingInnerClass.class'
-${DX} -JXmx256m --debug --dex --output=$TEST_NAME.jar classes
+
+if [ ${USE_JACK} = "true" ]; then
+ ${JILL} classes --output classes.jack
+ ${JACK} --import classes.jack --output-dex .
+else
+ ${DX} -JXmx256m --debug --dex --output=classes.dex classes
+fi
+zip $TEST_NAME.jar classes.dex