diff options
| author | 2021-04-16 10:29:13 +0000 | |
|---|---|---|
| committer | 2021-04-16 10:29:13 +0000 | |
| commit | efbc659ba4566f6fbad3d13bea170fb522955b8a (patch) | |
| tree | e7650951550e50e7619f0b17467cfa9d328135c5 | |
| parent | 640c448bad41c00599f8f8fb056eba679edc891e (diff) | |
Update run-test to python3.
Test: testrunner.py --host -t 001-Main
Change-Id: I1f95a57e88890c332f58303795ee93f4be7d575a
| -rwxr-xr-x | test/run-test | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/run-test b/test/run-test index 0ebe241d8c..f2e2a81d71 100755 --- a/test/run-test +++ b/test/run-test @@ -563,7 +563,7 @@ function err_echo() { # Cannot use readlink -m, as it does not exist on Mac. # Fallback to nuclear option: noncanonical_tmp_dir=$tmp_dir -tmp_dir="`cd $oldwd ; python -c "import os; import sys; sys.stdout.write(os.path.realpath('$tmp_dir'))"`" +tmp_dir="`cd $oldwd ; python3 -c "import os; import sys; sys.stdout.write(os.path.realpath('$tmp_dir'))"`" if [ -z $tmp_dir ] ; then err_echo "Failed to resolve $tmp_dir" exit 1 |