summaryrefslogtreecommitdiffstats
path: root/test/etc/default-build
diff options
context:
space:
mode:
Diffstat (limited to 'test/etc/default-build')
-rwxr-xr-xtest/etc/default-build5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/etc/default-build b/test/etc/default-build
index ab859ec..6731ad3 100755
--- a/test/etc/default-build
+++ b/test/etc/default-build
@@ -17,6 +17,11 @@
# Stop if something fails.
set -e
+if [ -e classes.dex ]; then
+ zip $TEST_NAME.jar classes.dex
+ exit 0
+fi
+
mkdir classes
${JAVAC} -d classes `find src -name '*.java'`