From efbc659ba4566f6fbad3d13bea170fb522955b8a Mon Sep 17 00:00:00 2001 From: Vladimir Marko Date: Fri, 16 Apr 2021 10:29:13 +0000 Subject: Update run-test to python3. Test: testrunner.py --host -t 001-Main Change-Id: I1f95a57e88890c332f58303795ee93f4be7d575a --- test/run-test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3-59-g8ed1b