Commit 1034d9ac authored by Damien George's avatar Damien George
Browse files

tools/ Set the Python import path to find test modules.

parent 047af9b1
......@@ -203,8 +203,9 @@ def gen_rst(results):
def main():
""" Main function """
# clear search path to make sure tests use only builtin modules
os.environ['MICROPYPATH'] = ''
# set search path so that test scripts find the test modules (and no other ones)
files = readfiles()
results = run_tests(files)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment