aboutsummaryrefslogtreecommitdiff
path: root/build-scripts/post-build-lava.py
diff options
context:
space:
mode:
authorYongqin Liu <yongqin.liu@linaro.org>2012-08-13 11:20:19 +0800
committerYongqin Liu <yongqin.liu@linaro.org>2012-08-13 11:20:19 +0800
commit2555919e1044e6b1d396fef99da8415fb06cb5d0 (patch)
treee95a717a948ed7404a9fce0a22621b2b517dce67 /build-scripts/post-build-lava.py
parent89f81c29a47172306471d5380beafdec80ac76ee (diff)
fix the problem that generate wrong option for test
Diffstat (limited to 'build-scripts/post-build-lava.py')
-rwxr-xr-xbuild-scripts/post-build-lava.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/build-scripts/post-build-lava.py b/build-scripts/post-build-lava.py
index 63c3815..bf09de1 100755
--- a/build-scripts/post-build-lava.py
+++ b/build-scripts/post-build-lava.py
@@ -85,8 +85,8 @@ def gen_lava_android_test_actions(tests=[]):
test_option = ''
if test.find('(') >= 0 and test.rfind(')') > test.find('(') \
and test[:test.find('(')].strip():
- test = test[:test.find('(')].strip()
test_option = test[test.find('(') + 1 : test.rfind(')')]
+ test = test[:test.find('(')].strip()
parameters = {'test_name': test}