OSDN Git Service

Use -Xno-dex-file-fallback for libcore tests.
authorCalin Juravle <calin@google.com>
Thu, 18 Jun 2015 17:38:48 +0000 (18:38 +0100)
committerCalin Juravle <calin@google.com>
Tue, 23 Jun 2015 13:17:28 +0000 (14:17 +0100)
Change-Id: I23911d17c4d71504b3ff9293325af533097ba49d

tools/run-libcore-tests.sh

index 1b8748b..394981b 100755 (executable)
@@ -64,6 +64,8 @@ working_packages=("dalvik.system"
                   "jsr166")
 
 vogar_args=$@
+# Make sure we don't fall back to dex files without oat files.
+vogar_args="$vogar_args --vm-arg -Xno-dex-file-fallback"
 while true; do
   if [[ "$1" == "--mode=device" ]]; then
     vogar_args="$vogar_args --device-dir=/data/local/tmp"