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:
Jeff Epler 2022-10-14 14:44:23 -05:00
parent 496057e149
commit 798f6ec71f
No known key found for this signature in database
GPG Key ID: D5BF15AB975AB4DE

View File

@ -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)