summaryrefslogtreecommitdiff
path: root/tests/extmod/uasyncio_threadsafeflag.py.exp
diff options
context:
space:
mode:
authorJim Mussared <jim.mussared@gmail.com>2021-02-15 17:28:39 +1100
committerJim Mussared <jim.mussared@gmail.com>2021-02-16 17:08:36 +1100
commit83d23059ef80d0d28d1e0769a721c83665b0095f (patch)
treef7ad2651a3af12d4f0fe1b07ef8ad0897ca2dca6 /tests/extmod/uasyncio_threadsafeflag.py.exp
parentcdf9c8648f81dd4f2795a71b075aab75f01a9f1f (diff)
tests/extmod: Add test for ThreadSafeFlag.
Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
Diffstat (limited to 'tests/extmod/uasyncio_threadsafeflag.py.exp')
-rw-r--r--tests/extmod/uasyncio_threadsafeflag.py.exp21
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/extmod/uasyncio_threadsafeflag.py.exp b/tests/extmod/uasyncio_threadsafeflag.py.exp
new file mode 100644
index 000000000..aef4e479b
--- /dev/null
+++ b/tests/extmod/uasyncio_threadsafeflag.py.exp
@@ -0,0 +1,21 @@
+yield
+task 1
+set event
+yield
+wait task
+task 1 done
+----
+yield
+task 2
+set event
+yield
+schedule
+schedule done
+wait task
+task 2 done
+----
+set event
+yield
+task 3
+task 3 done
+wait task