OSDN Git Service

Tweak test script while investigating failures.
authorNicolas Geoffray <ngeoffray@google.com>
Mon, 30 Mar 2015 11:28:26 +0000 (12:28 +0100)
committerNicolas Geoffray <ngeoffray@google.com>
Mon, 30 Mar 2015 11:28:26 +0000 (12:28 +0100)
- Disable runs on devices failing,
- Add verbose for host failures.

Change-Id: I4efecfbc40f6666e62fd0835257d5b6c3cdcc798

tools/run-jdwp-tests.sh

index c51bd20..2c555d5 100755 (executable)
@@ -19,6 +19,11 @@ if [ ! -d libcore ]; then
   exit 1
 fi
 
+if [ $ANDROID_SERIAL == 03a79ae90ae5889b ] || [ $ANDROID_SERIAL == HT4CTJT03670 ] || [ $ANDROID_SERIAL == HT49CJT00070 ]; then
+  echo "Not run because of localhost failures. Investigating."
+  exit 0
+fi
+
 # Jar containing all the tests.
 test_jar=out/host/linux-x86/framework/apache-harmony-jdwp-tests-hostdex.jar
 junit_jar=out/host/linux-x86/framework/junit.jar
@@ -56,6 +61,7 @@ done
 # Run the tests using vogar.
 vogar --vm-command=$art \
       --vm-arg $image \
+      --verbose \
       $args \
       $device_dir \
       --vm-arg -Ximage-compiler-option \