Switch tests to run on Adafruit_CircuitPython_asyncio (fails)
This also depends on https://github.com/adafruit/Adafruit_CircuitPython_Ticks/pull/8 otherwise adafruit_ticks is unimportable and the tests are just skipped. Several of the tests fail, and one runs forever instead of terminating. We should fix our asyncio until the tests patch, then incorporate this change.
This commit is contained in:
parent
496057e149
commit
798f6ec71f
@ -870,8 +870,14 @@ the last matching regex is used:
|
||||
|
||||
if not args.keep_path:
|
||||
# clear search path to make sure tests use only builtin modules and those in extmod
|
||||
os.environ["MICROPYPATH"] = os.pathsep + ".frozen" + os.pathsep + base_path("../extmod")
|
||||
|
||||
os.environ["MICROPYPATH"] = os.pathsep.join(
|
||||
[
|
||||
"",
|
||||
".frozen",
|
||||
base_path("../frozen/Adafruit_CircuitPython_asyncio"),
|
||||
base_path("../frozen/Adafruit_CircuitPython_Ticks"),
|
||||
]
|
||||
)
|
||||
try:
|
||||
os.makedirs(args.result_dir, exist_ok=True)
|
||||
res = run_tests(pyb, tests, args, args.result_dir, args.jobs)
|
||||
|
Loading…
Reference in New Issue
Block a user