summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChase Qi <chase.qi@linaro.org>2017-03-28 17:01:10 +0800
committerMilosz Wasilewski <milosz.wasilewski@linaro.org>2017-03-29 09:35:28 +0000
commitf2762469daa846a99f8ef430f2866112e0d86434 (patch)
treed8622f11010aaac3b7c9a4849e8d5b4b53470c03
parent9ad14134d69c00629290b96978704b0b0d6a4538 (diff)
downloadtest-definitions-pipe-f2762469daa846a99f8ef430f2866112e0d86434.tar.gz
test-runner: run 'run.sh' under 'set -x'
When converting testdef to 'run.sh', LAVA has shell '-x' argument enabled. It can be useful for debugging. Change-Id: I1d1070b716713238e213b7140eb44526cdbcd7e1 Signed-off-by: Chase Qi <chase.qi@linaro.org>
-rwxr-xr-xautomated/utils/test-runner.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/automated/utils/test-runner.py b/automated/utils/test-runner.py
index d057cad..6bea92b 100755
--- a/automated/utils/test-runner.py
+++ b/automated/utils/test-runner.py
@@ -181,6 +181,7 @@ class TestDefinition(object):
f.write(line)
f.write('set -e\n')
+ f.write('set -x\n')
f.write('export TESTRUN_ID=%s\n' % self.testdef['metadata']['name'])
if self.args.target is None:
f.write('cd %s\n' % (self.test['test_path']))