[zorg] r307010 - [sanitizers] Fix args of test_on_device function in Android build script
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 3 02:31:24 PDT 2017
Author: vitalybuka
Date: Mon Jul 3 02:31:24 2017
New Revision: 307010
URL: http://llvm.org/viewvc/llvm-project?rev=307010&view=rev
Log:
[sanitizers] Fix args of test_on_device function in Android build script
Modified:
zorg/trunk/zorg/buildbot/builders/sanitizers/buildbot_android_functions.sh
Modified: zorg/trunk/zorg/buildbot/builders/sanitizers/buildbot_android_functions.sh
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/zorg/buildbot/builders/sanitizers/buildbot_android_functions.sh?rev=307010&r1=307009&r2=307010&view=diff
==============================================================================
--- zorg/trunk/zorg/buildbot/builders/sanitizers/buildbot_android_functions.sh (original)
+++ zorg/trunk/zorg/buildbot/builders/sanitizers/buildbot_android_functions.sh Mon Jul 3 02:31:24 2017
@@ -114,7 +114,9 @@ function restart_adb_server {
function test_on_device {
local _serial=$1
- local _out=$2
+ shift
+ local _out=$1
+ shift
ABILIST=$(${ADB} -s $_serial shell getprop ro.product.cpu.abilist)
patch_abilist $ABILIST ABILIST
@@ -144,7 +146,7 @@ function test_android {
local _counter=0
for SERIAL in $ANDROID_DEVICES; do
- (test_on_device "$SERIAL" _tested 2>&1 > test_device_${_counter}.log) &
+ (test_on_device "$SERIAL" _tested $@ 2>&1 > test_device_${_counter}.log) &
counter=$((counter+1))
done
More information about the llvm-commits
mailing list