Skip to content

Commit 798f6ec

Browse files
committed
Switch tests to run on Adafruit_CircuitPython_asyncio (fails)
This also depends on adafruit/Adafruit_CircuitPython_Ticks#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.
1 parent 496057e commit 798f6ec

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

tests/run-tests.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -870,8 +870,14 @@ def main():
870870

871871
if not args.keep_path:
872872
# clear search path to make sure tests use only builtin modules and those in extmod
873-
os.environ["MICROPYPATH"] = os.pathsep + ".frozen" + os.pathsep + base_path("../extmod")
874-
873+
os.environ["MICROPYPATH"] = os.pathsep.join(
874+
[
875+
"",
876+
".frozen",
877+
base_path("../frozen/Adafruit_CircuitPython_asyncio"),
878+
base_path("../frozen/Adafruit_CircuitPython_Ticks"),
879+
]
880+
)
875881
try:
876882
os.makedirs(args.result_dir, exist_ok=True)
877883
res = run_tests(pyb, tests, args, args.result_dir, args.jobs)

0 commit comments

Comments
 (0)