OSDN Git Service

Fix handling of "--dev" argument in dalvik tests.
authorAndy McFadden <fadden@android.com>
Wed, 13 May 2009 17:43:08 +0000 (10:43 -0700)
committerAndy McFadden <fadden@android.com>
Wed, 13 May 2009 17:43:08 +0000 (10:43 -0700)
This was originally part of p9-144240, which was only made in "master".

tests/etc/push-and-run-test-jar
tests/etc/reference-run-test-classes

index e2a1e06..c9bcfb2 100755 (executable)
@@ -9,6 +9,7 @@
 #   --portable    -- use the portable interpreter
 #   --debug       -- wait for debugger to attach
 #   --zygote      -- use the zygote (if so, all other options are ignored)
+#   --dev         -- development mode
 #   --no-verify   -- turn off verification (on by default)
 #   --no-optimize -- turn off optimization (on by default)
 
@@ -44,6 +45,9 @@ while true; do
         ZYGOTE="y"
         msg "Spawning from zygote"
         shift
+    elif [ "x$1" = "x--dev" ]; then
+        # not used; ignore
+        shift
     elif [ "x$1" = "x--no-verify" ]; then
         VERIFY="n"
         shift
index cc2c39d..94c8050 100755 (executable)
@@ -7,6 +7,7 @@
 #   --quiet       -- don't chatter
 #   --debug       -- wait for debugger to attach
 #   --no-verify   -- turn off verification (on by default)
+#   --dev         -- development mode
 
 msg() {
     if [ "$QUIET" = "n" ]; then
@@ -28,6 +29,9 @@ while true; do
     elif [ "x$1" = "x--no-verify" ]; then
         VERIFY="n"
         shift
+    elif [ "x$1" = "x--dev" ]; then
+        # not used; ignore
+        shift
     elif [ "x$1" = "x--" ]; then
         shift
         break