diff options
Diffstat (limited to 'test/303-verification-stress/build')
-rw-r--r-- | test/303-verification-stress/build | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/test/303-verification-stress/build b/test/303-verification-stress/build index 789d38e..9d19809 100644 --- a/test/303-verification-stress/build +++ b/test/303-verification-stress/build @@ -21,8 +21,14 @@ set -e gcc -Wall -Werror -o classes-gen classes-gen.c ./classes-gen -mkdir classes -${JAVAC} -d classes src/*.java +if [ ${USE_JACK} = "true" ]; then + ${JACK} --output-dex . src +else + mkdir classes + ${JAVAC} -d classes src/*.java + + # dx needs more memory for that test so do not pass Xmx option here. + ${DX} --debug --dex --output=classes.dex classes +fi -${DX} --debug --dex --output=classes.dex classes zip $TEST_NAME.jar classes.dex |