summaryrefslogtreecommitdiff
path: root/tests/run-multitests.py
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2020-03-10 02:58:47 +1100
committerDamien George <damien.p.george@gmail.com>2020-03-26 01:25:45 +1100
commit18fa65e47402d85c53361798046e306d2cf4bac1 (patch)
tree84c0d14c266ebcf78800ba4cc715bd8e3e2140a8 /tests/run-multitests.py
parent3667effff1d82f4e16b2843ae292ce7b86926b6b (diff)
tests: Make default MICROPYPATH include extmod to find uasyncio.
Diffstat (limited to 'tests/run-multitests.py')
-rwxr-xr-xtests/run-multitests.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/run-multitests.py b/tests/run-multitests.py
index edf2238a5..4e5bfc3b0 100755
--- a/tests/run-multitests.py
+++ b/tests/run-multitests.py
@@ -382,6 +382,9 @@ def main():
cmd_parser.add_argument("files", nargs="+", help="input test files")
cmd_args = cmd_parser.parse_args()
+ # clear search path to make sure tests use only builtin modules and those in extmod
+ os.environ['MICROPYPATH'] = os.pathsep + '../extmod'
+
test_files = prepare_test_file_list(cmd_args.files)
max_instances = max(t[1] for t in test_files)