commit | e2788d212e3b61662cf96fbcd971a1b6b2bbf34a | [log] [tgz] |
---|---|---|
author | Christoffer Quist Adamsen <christofferqa@google.com> | Fri Nov 05 12:37:39 2021 +0100 |
committer | Christoffer Quist Adamsen <christofferqa@google.com> | Fri Nov 05 12:37:39 2021 +0100 |
tree | 28139cf52011c019688551074c413e62ff4946e7 | |
parent | da43d9b467e074244af90f84bdd04d99a320191e [diff] [blame] |
Use current python in internal_test.py Change-Id: I2035a32c100ab2ed8cba0171405ac87f1653d315
diff --git a/tools/internal_test.py b/tools/internal_test.py index cc2ee93..8e03610 100755 --- a/tools/internal_test.py +++ b/tools/internal_test.py
@@ -340,6 +340,10 @@ def execute(cmd, archive, env=None): if cmd == []: return + + assert(cmd[0].endswith('.py')) + cmd = [sys.executable] + cmd + utils.PrintCmd(cmd) with utils.TempDir() as temp: