summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Dechesne <nicolas.dechesne@linaro.org>2017-05-11 17:58:50 +0200
committerNicolas Dechesne <nicolas.dechesne@linaro.org>2017-05-11 18:00:49 +0200
commitb63057fc06a0f434654240857604505af94ee088 (patch)
tree000f4ee95b124c6d3fd82dd67bf195b1f6ef93ea
parent77c0b4c3beb3715430b923ba32d5d58d5aca18e2 (diff)
test-runner.py: use python2, not python
test-runner.py does not work with python3. The first error is the following: File "/work/linaro/test-definitions/automated/bin/test-runner", line 201 os.chmod('%s/run.sh' % self.test['test_path'], 0755) ^ SyntaxError: invalid token Until we have support for python3, let's make sure that we use python2, this is especially needed when trying to use distro where python3 is the default (e.g. archlinux). Change-Id: Id387bf0d6092c6555081eb891de12ff0a4df3bb7 Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
-rwxr-xr-xautomated/utils/test-runner.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/automated/utils/test-runner.py b/automated/utils/test-runner.py
index 13087e0..6e1d117 100755
--- a/automated/utils/test-runner.py
+++ b/automated/utils/test-runner.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
import argparse
import csv
import cmd