Add an option to the art script to not cleanup.
Use it for jdwp tests, where the debuggee shouldn't clean up
the oat files generated by the debugger.
Test: run-jdwp-tests
Change-Id: I2f4c2066fac18c2cedb2b72d13186db4a8807e05
diff --git a/tools/run-jdwp-tests.sh b/tools/run-jdwp-tests.sh
index d2322bb..355646b 100755
--- a/tools/run-jdwp-tests.sh
+++ b/tools/run-jdwp-tests.sh
@@ -122,6 +122,9 @@
fi
done
+# Make sure the debuggee doesn't clean up what the debugger has generated.
+art_debugee="$art_debugee --no-clean"
+
# For the host:
#
# If, on the other hand, there is a variant set, use it to modify the art_debugee parameter to