summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland Levillain <rpl@google.com>2019-09-19 18:34:05 +0100
committerRoland Levillain <rpl@google.com>2019-09-20 11:05:47 +0000
commit8df75ed1f95d8dc36e204f56a120237d338a918f (patch)
tree4846fbbfc73e9e28682a2f33efd66657bc84732b
parentbac1a8058e624b4222b5a87063a655065d4f2fe3 (diff)
Do not propagate option `--get-random` to Vogar in `run-libcore-tests.sh`.
This bit was missing from commit d6e2c388d0d91c0e7cce66147cc188caed3208b6. Test: art/tools/run-libcore-tests.sh --mode=device --no-getrandom Test: Rely on the ART Buildbot. Bug: 141230711 Change-Id: I25742c477594f9127c79054850787742b9086f43
-rwxr-xr-xtools/run-libcore-tests.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/run-libcore-tests.sh b/tools/run-libcore-tests.sh
index 5f49bbea3a..4c39445d4b 100755
--- a/tools/run-libcore-tests.sh
+++ b/tools/run-libcore-tests.sh
@@ -168,6 +168,8 @@ while true; do
gcstress=true
shift
elif [[ "$1" == "--no-getrandom" ]]; then
+ # Remove the option from Vogar arguments.
+ vogar_args=${vogar_args/$1}
getrandom=false
shift
elif [[ "$1" == "" ]]; then