From 9ba04cc7563ec934ca14d66aa18ae3563c8d1aea Mon Sep 17 00:00:00 2001 From: Angus Gratton Date: Thu, 1 Aug 2024 16:26:46 +1000 Subject: [PATCH] tests/extmod: Skip soft machine.Timer test on esp32 port. Also rename the test to reflect that it's a soft timer test. Signed-off-by: Angus Gratton --- tests/extmod/{machine_timer.py => machine_soft_timer.py} | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) rename tests/extmod/{machine_timer.py => machine_soft_timer.py} (82%) diff --git a/tests/extmod/machine_timer.py b/tests/extmod/machine_soft_timer.py similarity index 82% rename from tests/extmod/machine_timer.py rename to tests/extmod/machine_soft_timer.py index 1be01d184d..bff9af5b82 100644 --- a/tests/extmod/machine_timer.py +++ b/tests/extmod/machine_soft_timer.py @@ -1,4 +1,11 @@ -# test machine.Timer +# test "soft" machine.Timer (no hardware ID) +import sys + + +if sys.platform == "esp32": + print("SKIP") # TODO: Implement soft timers for esp32 port + raise SystemExit + try: import time, machine as machine