summaryrefslogtreecommitdiff
path: root/util/ec3po
diff options
context:
space:
mode:
authorYilin Yang <kerker@google.com>2020-09-18 17:01:41 +0800
committerCommit Bot <commit-bot@chromium.org>2020-09-26 02:04:16 +0000
commitd888a8e84e8739cc4d3e89f7c534b49e360e34ad (patch)
tree85c0e6dc1ece7be9279281652339460dcab39b89 /util/ec3po
parent58d1886f5bba0cea0b79b3d4c1cc62e9222ff252 (diff)
downloadchrome-ec-d888a8e84e8739cc4d3e89f7c534b49e360e34ad.tar.gz
ec3po: run_tests.sh uses python3 to run unittest
BUG=chromium:1031705 BRANCH=master TEST=run_tests.sh pass Signed-off-by: kerker <kerker@chromium.org> Change-Id: I3be180f50db5ec84d0035dd558a2177e0ef1313c Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2418193 Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
Diffstat (limited to 'util/ec3po')
-rwxr-xr-xutil/ec3po/run_tests.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/ec3po/run_tests.sh b/util/ec3po/run_tests.sh
index f0ef348273..09e1a545d0 100755
--- a/util/ec3po/run_tests.sh
+++ b/util/ec3po/run_tests.sh
@@ -5,5 +5,5 @@
# found in the LICENSE file.
# Discover all the unit tests in the ec3po directory and run them.
-python2 -m unittest discover -b -s util/ec3po/ -p *_unittest.py \
+python3 -m unittest discover -b -s util/ec3po/ -p "*_unittest.py" \
&& touch util/ec3po/.tests-passed