diff options
| author | Angus Gratton <angus@redyak.com.au> | 2024-08-01 16:26:46 +1000 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2024-08-02 10:27:53 +1000 |
| commit | 9ba04cc7563ec934ca14d66aa18ae3563c8d1aea (patch) | |
| tree | a24ce19aa7e8a0739e2b8ec1fcb9d8a780d372f5 | |
| parent | d1685a3f5f81f20e9eea26f1274bf6171b287814 (diff) | |
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 <angus@redyak.com.au>
| -rw-r--r-- | tests/extmod/machine_soft_timer.py (renamed from tests/extmod/machine_timer.py) | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/tests/extmod/machine_timer.py b/tests/extmod/machine_soft_timer.py index 1be01d184..bff9af5b8 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 |
