micropython/tests/extmod
Paul Sokolovsky d5e9ab6e61 extmod/machine_pulse: Make time_pulse_us() not throw exceptions.
machine.time_pulse_us() is intended to provide very fine timing, including
while working with signal bursts, where each transition is tracked in row.
Throwing and handling an exception may take too much time and "signal loss".
So instead, in case of a timeout, just return negative value. Cases of
timeout while waiting for initial signal stabilization, and during actual
timing, are recognized.

The documentation is updated accordingly, and rewritten somewhat to clarify
the function behavior.
2017-02-05 14:20:17 +03:00
..
btree1.py tests/extmod/btree1: Exercise btree.flush(). 2016-12-05 01:55:05 +03:00
btree1.py.exp
framebuf1.py tests/extmod/framebuf1: Fix test for framebuf invalid constructor. 2017-01-25 23:23:50 +11:00
framebuf1.py.exp tests/extmod: Improve modframebuf test coverage. 2016-12-13 16:29:21 +11:00
framebuf4.py tests/extmod/framebuf4: Add tests for GS4_HMSB framebuf format. 2017-01-25 23:20:19 +11:00
framebuf4.py.exp tests/extmod/framebuf4: Add tests for GS4_HMSB framebuf format. 2017-01-25 23:20:19 +11:00
framebuf16.py tests/extmod: Improve modframebuf test coverage. 2016-12-13 16:29:21 +11:00
framebuf16.py.exp
machine1.py
machine1.py.exp
machine_pinbase.py
machine_pinbase.py.exp
machine_pulse.py extmod/machine_pulse: Make time_pulse_us() not throw exceptions. 2017-02-05 14:20:17 +03:00
machine_pulse.py.exp extmod/machine_pulse: Make time_pulse_us() not throw exceptions. 2017-02-05 14:20:17 +03:00
ticks_diff.py
ticks_diff.py.exp
time_ms_us.py
time_ms_us.py.exp
ubinascii_a2b_base64.py tests/extmod: Improve ubinascii.c test coverage. 2016-12-29 13:22:19 +11:00
ubinascii_b2a_base64.py tests/extmod: Improve ubinascii.c test coverage. 2016-12-29 13:22:19 +11:00
ubinascii_crc32.py
ubinascii_hexlify.py
ubinascii_micropython.py tests/extmod: Improve ubinascii.c test coverage. 2016-12-29 13:22:19 +11:00
ubinascii_micropython.py.exp tests/extmod: Improve ubinascii.c test coverage. 2016-12-29 13:22:19 +11:00
ubinascii_unhexlify.py tests/extmod: Improve ubinascii.c test coverage. 2016-12-29 13:22:19 +11:00
uctypes_array_assign_le.py
uctypes_array_assign_le.py.exp
uctypes_array_assign_native_le.py tests/extmod: Improve moductypes test coverage. 2016-12-12 17:09:14 +11:00
uctypes_array_assign_native_le.py.exp tests/extmod: Improve moductypes test coverage. 2016-12-12 17:09:14 +11:00
uctypes_bytearray.py
uctypes_bytearray.py.exp
uctypes_le.py tests/extmod: Improve moductypes test coverage. 2016-12-12 17:09:14 +11:00
uctypes_le.py.exp tests/extmod: Improve moductypes test coverage. 2016-12-12 17:09:14 +11:00
uctypes_le_float.py
uctypes_le_float.py.exp
uctypes_native_float.py
uctypes_native_float.py.exp
uctypes_native_le.py tests/extmod: Improve moductypes test coverage. 2016-12-12 17:09:14 +11:00
uctypes_native_le.py.exp tests/extmod: Improve moductypes test coverage. 2016-12-12 17:09:14 +11:00
uctypes_print.py tests/extmod: Improve moductypes test coverage. 2016-12-12 17:09:14 +11:00
uctypes_print.py.exp tests/extmod: Improve moductypes test coverage. 2016-12-12 17:09:14 +11:00
uctypes_ptr_le.py tests: Update for required byteorder arg for int.from_bytes()/to_bytes(). 2016-12-09 22:53:30 +03:00
uctypes_ptr_le.py.exp
uctypes_ptr_native_le.py tests: Update for required byteorder arg for int.from_bytes()/to_bytes(). 2016-12-09 22:53:30 +03:00
uctypes_ptr_native_le.py.exp
uctypes_sizeof.py
uctypes_sizeof.py.exp
uctypes_sizeof_native.py
uctypes_sizeof_native.py.exp
uhashlib_sha1.py
uhashlib_sha256.py
uheapq1.py
ujson_dumps.py
ujson_dumps_extra.py
ujson_dumps_extra.py.exp
ujson_dumps_float.py
ujson_load.py
ujson_loads.py
ujson_loads_float.py
urandom_basic.py
urandom_extra.py
ure1.py tests/extmod: Improve test coverage of ure module. 2017-01-17 17:42:37 +11:00
ure_debug.py tests/extmod: Add test for ure debug printing when compiling a regex. 2017-01-26 23:45:51 +11:00
ure_debug.py.exp tests/extmod: Add test for ure debug printing when compiling a regex. 2017-01-26 23:45:51 +11:00
ure_error.py
ure_group.py
ure_namedclass.py
ure_split.py
ure_split_empty.py
ure_split_empty.py.exp
ure_split_notimpl.py tests/extmod: Improve test coverage of ure module. 2017-01-17 17:42:37 +11:00
ure_split_notimpl.py.exp tests/extmod: Improve test coverage of ure module. 2017-01-17 17:42:37 +11:00
utimeq1.py tests/extmod: Add test for utimeq module. 2016-12-22 00:31:38 +03:00
utimeq1.py.exp tests/extmod: Add test for utimeq module. 2016-12-22 00:31:38 +03:00
utimeq_stable.py tests/utimeq_stable: Test for partial stability of utimeq queuing. 2016-12-24 00:25:15 +03:00
utimeq_stable.py.exp tests/utimeq_stable: Test for partial stability of utimeq queuing. 2016-12-24 00:25:15 +03:00
uzlib_decompio.py
uzlib_decompio.py.exp
uzlib_decompio_gz.py
uzlib_decompio_gz.py.exp
uzlib_decompress.py
vfs_fat_fileio.py tests/extmod/vfs_fat: Update tests to work with new VFS sub-system. 2017-01-27 17:21:45 +11:00
vfs_fat_fileio.py.exp tests/extmod/vfs_fat: Update tests to work with new VFS sub-system. 2017-01-27 17:21:45 +11:00
vfs_fat_oldproto.py tests/extmod/vfs_fat: Update tests to work with new VFS sub-system. 2017-01-27 17:21:45 +11:00
vfs_fat_oldproto.py.exp test/extmod: Update vfs_fat tests for new OO FatFs library. 2017-01-27 13:19:10 +11:00
vfs_fat_ramdisk.py tests/extmod/vfs_fat_ramdisk: Make it work on pyboard. 2017-01-27 23:22:15 +11:00
vfs_fat_ramdisk.py.exp tests/extmod/vfs_fat_ramdisk: Make it work on pyboard. 2017-01-27 23:22:15 +11:00