micropython/tests/extmod
stijn 06643a0df4 tests/extmod: Skip uselect test when CPython doesn't have poll().
CPython does not have an implementation of select.poll() on some
operating systems (Windows, OSX depending on version) so skip the
test in those cases instead of failing it.
2018-10-30 14:49:23 +11:00
..
btree1.py tests: Convert remaining "sys.exit()" to "raise SystemExit". 2017-06-10 20:34:38 +03:00
btree1.py.exp tests/extmod/btree1: Checks for put, seq, string print and unsupported binary op. 2016-10-05 00:17:22 +11:00
framebuf1.py tests: Convert remaining "sys.exit()" to "raise SystemExit". 2017-06-10 20:34:38 +03:00
framebuf1.py.exp extmod/modframebuf: Make monochrome bitmap formats start with MONO_. 2017-04-04 17:38:33 +10:00
framebuf2.py extmod/modframebuf: Add 2-bit color format (GS2_HMSB). 2017-12-14 17:13:02 +11:00
framebuf2.py.exp extmod/modframebuf: Add 2-bit color format (GS2_HMSB). 2017-12-14 17:13:02 +11:00
framebuf4.py tests: Convert remaining "sys.exit()" to "raise SystemExit". 2017-06-10 20:34:38 +03:00
framebuf4.py.exp tests/extmod/framebuf4: Add tests for GS4_HMSB framebuf format. 2017-01-25 23:20:19 +11:00
framebuf8.py extmod/modframebuf: Add 8-bit greyscale format (GS8). 2017-12-14 17:36:13 +11:00
framebuf8.py.exp extmod/modframebuf: Add 8-bit greyscale format (GS8). 2017-12-14 17:36:13 +11:00
framebuf16.py tests: Convert remaining "sys.exit()" to "raise SystemExit". 2017-06-10 20:34:38 +03:00
framebuf16.py.exp extmod/modframebuf: Make FrameBuffer handle 16bit depth. 2016-12-01 16:43:25 +11:00
framebuf_subclass.py tests/extmod: Add test which subclasses framebuf.FrameBuffer. 2017-12-12 16:48:09 +11:00
framebuf_subclass.py.exp tests/extmod: Add test which subclasses framebuf.FrameBuffer. 2017-12-12 16:48:09 +11:00
machine1.py tests: Convert remaining "sys.exit()" to "raise SystemExit". 2017-06-10 20:34:38 +03:00
machine1.py.exp modmachine: Implement physical memory access using /dev/mem (Linux, etc). 2015-07-08 11:37:23 +03:00
machine_pinbase.py tests: Convert remaining "sys.exit()" to "raise SystemExit". 2017-06-10 20:34:38 +03:00
machine_pinbase.py.exp tests: Add a testcase for machine.PinBase class. 2016-06-19 19:45:29 +03:00
machine_pulse.py tests: Convert remaining "sys.exit()" to "raise SystemExit". 2017-06-10 20:34:38 +03:00
machine_pulse.py.exp extmod/machine_pulse: Make time_pulse_us() not throw exceptions. 2017-02-05 14:20:17 +03:00
machine_signal.py tests: Convert remaining "sys.exit()" to "raise SystemExit". 2017-06-10 20:34:38 +03:00
machine_signal.py.exp tests/extmod: Add test for machine.Signal class. 2017-03-02 16:09:16 +11:00
ticks_diff.py tests/extmod/ticks_diff: Test for new semantics of ticks_diff(). 2016-10-30 21:33:12 +03:00
ticks_diff.py.exp tests/extmod/ticks_diff: Test for new semantics of ticks_diff(). 2016-10-30 21:33:12 +03:00
time_ms_us.py tests/extmod/time_ms_us: Fix ticks tests, ticks_diff args are reversed. 2018-03-04 00:38:15 +11:00
time_ms_us.py.exp tests/extmod/time_ms_us: Add test for calling ticks_cpu(). 2018-03-04 00:17:33 +11:00
ubinascii_a2b_base64.py extmod/modubinascii: Rewrite mod_binascii_a2b_base64. 2017-08-17 09:25:51 +03:00
ubinascii_b2a_base64.py tests: Convert remaining "sys.exit()" to "raise SystemExit". 2017-06-10 20:34:38 +03:00
ubinascii_crc32.py tests: Convert remaining "sys.exit()" to "raise SystemExit". 2017-06-10 20:34:38 +03:00
ubinascii_hexlify.py tests: Convert remaining "sys.exit()" to "raise SystemExit". 2017-06-10 20:34:38 +03:00
ubinascii_micropython.py extmod/modubinascii: Add check for empty buffer passed to hexlify. 2017-07-03 14:52:00 +10:00
ubinascii_micropython.py.exp extmod/modubinascii: Add check for empty buffer passed to hexlify. 2017-07-03 14:52:00 +10:00
ubinascii_unhexlify.py tests: Convert remaining "sys.exit()" to "raise SystemExit". 2017-06-10 20:34:38 +03:00
ucryptolib_aes128_cbc.py tests/extmod/ucryptolib*: Add tests for ucryptolib module. 2018-06-27 14:56:31 +10:00
ucryptolib_aes128_cbc.py.exp tests/extmod/ucryptolib*: Add tests for ucryptolib module. 2018-06-27 14:56:31 +10:00
ucryptolib_aes128_ecb.py tests/extmod/ucryptolib*: Add tests for ucryptolib module. 2018-06-27 14:56:31 +10:00
ucryptolib_aes128_ecb.py.exp tests/extmod/ucryptolib*: Add tests for ucryptolib module. 2018-06-27 14:56:31 +10:00
ucryptolib_aes128_ecb_enc.py tests/extmod/ucryptolib*: Add tests for ucryptolib module. 2018-06-27 14:56:31 +10:00
ucryptolib_aes128_ecb_enc.py.exp tests/extmod/ucryptolib*: Add tests for ucryptolib module. 2018-06-27 14:56:31 +10:00
ucryptolib_aes128_ecb_inpl.py tests/extmod/ucryptolib*: Add into and inplace tests for ucryptolib. 2018-06-27 14:56:46 +10:00
ucryptolib_aes128_ecb_inpl.py.exp tests/extmod/ucryptolib*: Add into and inplace tests for ucryptolib. 2018-06-27 14:56:46 +10:00
ucryptolib_aes128_ecb_into.py tests/extmod/ucryptolib*: Add into and inplace tests for ucryptolib. 2018-06-27 14:56:46 +10:00
ucryptolib_aes128_ecb_into.py.exp tests/extmod/ucryptolib*: Add into and inplace tests for ucryptolib. 2018-06-27 14:56:46 +10:00
ucryptolib_aes256_cbc.py tests/extmod/ucryptolib*: Add tests for ucryptolib module. 2018-06-27 14:56:31 +10:00
ucryptolib_aes256_cbc.py.exp tests/extmod/ucryptolib*: Add tests for ucryptolib module. 2018-06-27 14:56:31 +10:00
ucryptolib_aes256_ecb.py tests/extmod/ucryptolib*: Add tests for ucryptolib module. 2018-06-27 14:56:31 +10:00
ucryptolib_aes256_ecb.py.exp tests/extmod/ucryptolib*: Add tests for ucryptolib module. 2018-06-27 14:56:31 +10:00
uctypes_32bit_intbig.py tests: Convert remaining "sys.exit()" to "raise SystemExit". 2017-06-10 20:34:38 +03:00
uctypes_32bit_intbig.py.exp extmod/moductypes: Fix bigint handling for 32-bit ports. 2017-04-21 16:43:21 +03:00
uctypes_array_assign_le.py tests: Convert remaining "sys.exit()" to "raise SystemExit". 2017-06-10 20:34:38 +03:00
uctypes_array_assign_le.py.exp tests/uctypes: Test item assignment for scalar arrays. 2016-01-03 20:32:51 +02:00
uctypes_array_assign_native_le.py tests: Convert remaining "sys.exit()" to "raise SystemExit". 2017-06-10 20:34:38 +03:00
uctypes_array_assign_native_le.py.exp tests/uctypes_array_assign_native_le: Split off intbig part. 2017-03-07 08:40:03 +01:00
uctypes_array_assign_native_le_intbig.py tests: Convert remaining "sys.exit()" to "raise SystemExit". 2017-06-10 20:34:38 +03:00
uctypes_array_assign_native_le_intbig.py.exp tests/uctypes_array_assign_native_le: Split off intbig part. 2017-03-07 08:40:03 +01:00
uctypes_bytearray.py tests/extmod: Add some uctypes tests to improve coverage of that module. 2017-12-19 16:48:41 +11:00
uctypes_bytearray.py.exp tests/extmod: Add some uctypes tests to improve coverage of that module. 2017-12-19 16:48:41 +11:00
uctypes_byteat.py tests/extmod: Add some uctypes tests to improve coverage of that module. 2017-12-19 16:48:41 +11:00
uctypes_byteat.py.exp tests/extmod: Add some uctypes tests to improve coverage of that module. 2017-12-19 16:48:41 +11:00
uctypes_error.py tests/extmod: Add some uctypes tests to improve coverage of that module. 2017-12-19 16:48:41 +11:00
uctypes_error.py.exp tests/extmod: Add some uctypes tests to improve coverage of that module. 2017-12-19 16:48:41 +11:00
uctypes_le.py tests: Convert remaining "sys.exit()" to "raise SystemExit". 2017-06-10 20:34:38 +03:00
uctypes_le.py.exp tests/extmod: Improve moductypes test coverage. 2016-12-12 17:09:14 +11:00
uctypes_le_float.py tests: Convert remaining "sys.exit()" to "raise SystemExit". 2017-06-10 20:34:38 +03:00
uctypes_le_float.py.exp extmod/uctypes: Finish support for FLOAT32 and FLOAT64 types. 2016-03-19 21:59:42 +00:00
uctypes_native_float.py tests: Convert remaining "sys.exit()" to "raise SystemExit". 2017-06-10 20:34:38 +03:00
uctypes_native_float.py.exp extmod/uctypes: Finish support for FLOAT32 and FLOAT64 types. 2016-03-19 21:59:42 +00:00
uctypes_native_le.py tests: Convert remaining "sys.exit()" to "raise SystemExit". 2017-06-10 20:34:38 +03:00
uctypes_native_le.py.exp tests/extmod: Improve moductypes test coverage. 2016-12-12 17:09:14 +11:00
uctypes_print.py tests: Convert remaining "sys.exit()" to "raise SystemExit". 2017-06-10 20:34:38 +03:00
uctypes_print.py.exp tests/extmod: Improve moductypes test coverage. 2016-12-12 17:09:14 +11:00
uctypes_ptr_le.py tests: Convert remaining "sys.exit()" to "raise SystemExit". 2017-06-10 20:34:38 +03:00
uctypes_ptr_le.py.exp moductypes: Foreign data interface module, roughly based on ctype ideas. 2014-07-09 19:28:24 +03:00
uctypes_ptr_native_le.py tests: Convert remaining "sys.exit()" to "raise SystemExit". 2017-06-10 20:34:38 +03:00
uctypes_ptr_native_le.py.exp moductypes: Foreign data interface module, roughly based on ctype ideas. 2014-07-09 19:28:24 +03:00
uctypes_sizeof.py tests/extmod: Add some uctypes tests to improve coverage of that module. 2017-12-19 16:48:41 +11:00
uctypes_sizeof.py.exp tests/extmod: Add some uctypes tests to improve coverage of that module. 2017-12-19 16:48:41 +11:00
uctypes_sizeof_float.py tests/extmod: Add some uctypes tests to improve coverage of that module. 2017-12-19 16:48:41 +11:00
uctypes_sizeof_float.py.exp tests/extmod: Add some uctypes tests to improve coverage of that module. 2017-12-19 16:48:41 +11:00
uctypes_sizeof_layout.py tests/extmod/uctypes_sizeof_layout: Test for sizeof of different layout. 2018-10-23 11:33:35 +11:00
uctypes_sizeof_layout.py.exp tests/extmod/uctypes_sizeof_layout: Test for sizeof of different layout. 2018-10-23 11:33:35 +11:00
uctypes_sizeof_native.py tests: Convert remaining "sys.exit()" to "raise SystemExit". 2017-06-10 20:34:38 +03:00
uctypes_sizeof_native.py.exp moductypes: Foreign data interface module, roughly based on ctype ideas. 2014-07-09 19:28:24 +03:00
uctypes_sizeof_od.py tests/uctypes_sizeof_od: Test for using OrderedDict as struct descriptor 2018-10-13 16:08:25 +11:00
uctypes_sizeof_od.py.exp tests/uctypes_sizeof_od: Test for using OrderedDict as struct descriptor 2018-10-13 16:08:25 +11:00
uhashlib_md5.py tests/extmod/uhashlib_md5: Add coverage tests for MD5 algorithm. 2018-09-11 14:52:00 +10:00
uhashlib_sha1.py tests: Convert remaining "sys.exit()" to "raise SystemExit". 2017-06-10 20:34:38 +03:00
uhashlib_sha256.py tests/extmod/uhashlib_sha256: Add test for hashing 56 bytes of data. 2017-12-19 14:46:31 +11:00
uheapq1.py tests: Convert remaining "sys.exit()" to "raise SystemExit". 2017-06-10 20:34:38 +03:00
ujson_dump.py tests/extmod/ujson_dump.py: Add test for dump to non-stream object. 2018-06-18 12:35:56 +10:00
ujson_dump_iobase.py tests/extmod/ujson_dump_iobase.py: Return number of bytes written. 2018-07-30 12:05:48 +10:00
ujson_dumps.py tests: Convert remaining "sys.exit()" to "raise SystemExit". 2017-06-10 20:34:38 +03:00
ujson_dumps_extra.py tests: Convert remaining "sys.exit()" to "raise SystemExit". 2017-06-10 20:34:38 +03:00
ujson_dumps_extra.py.exp tests: Add tests to improve coverage of objstr.c. 2015-09-03 23:06:18 +01:00
ujson_dumps_float.py tests: Convert remaining "sys.exit()" to "raise SystemExit". 2017-06-10 20:34:38 +03:00
ujson_load.py tests: Convert remaining "sys.exit()" to "raise SystemExit". 2017-06-10 20:34:38 +03:00
ujson_loads.py tests: Convert remaining "sys.exit()" to "raise SystemExit". 2017-06-10 20:34:38 +03:00
ujson_loads_float.py tests: Convert remaining "sys.exit()" to "raise SystemExit". 2017-06-10 20:34:38 +03:00
urandom_basic.py tests: Convert remaining "sys.exit()" to "raise SystemExit". 2017-06-10 20:34:38 +03:00
urandom_extra.py tests: Make tests work on targets without float support. 2018-08-04 15:14:23 +10:00
urandom_extra_float.py tests: Make tests work on targets without float support. 2018-08-04 15:14:23 +10:00
ure1.py tests/extmod: Add test for '-' in character class in regex. 2017-10-05 11:33:49 +11:00
ure_debug.py tests: Convert remaining "sys.exit()" to "raise SystemExit". 2017-06-10 20:34:38 +03: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 tests: Convert remaining "sys.exit()" to "raise SystemExit". 2017-06-10 20:34:38 +03:00
ure_group.py tests: Convert remaining "sys.exit()" to "raise SystemExit". 2017-06-10 20:34:38 +03:00
ure_groups.py extmod/modure: Add match.groups() method, and tests. 2018-07-02 14:53:30 +10:00
ure_namedclass.py tests: Convert remaining "sys.exit()" to "raise SystemExit". 2017-06-10 20:34:38 +03:00
ure_span.py extmod/modure: Add match.span(), start() and end() methods, and tests. 2018-07-02 14:54:56 +10:00
ure_split.py extmod/modure: If input string is bytes, return bytes results too. 2017-07-01 01:25:45 +03:00
ure_split_empty.py tests: Convert remaining "sys.exit()" to "raise SystemExit". 2017-06-10 20:34:38 +03:00
ure_split_empty.py.exp tests/extmod: Move split-on-empty-match tests to a separate test file. 2016-04-26 10:19:04 +01:00
ure_split_notimpl.py tests: Convert remaining "sys.exit()" to "raise SystemExit". 2017-06-10 20:34:38 +03:00
ure_split_notimpl.py.exp tests/extmod: Improve test coverage of ure module. 2017-01-17 17:42:37 +11:00
ure_stack_overflow.py tests/extmod: Add test for ure regexes leading to infinite recursion. 2017-10-03 00:24:32 +03:00
ure_stack_overflow.py.exp tests/extmod: Add test for ure regexes leading to infinite recursion. 2017-10-03 00:24:32 +03:00
ure_sub.py extmod/modure: Add ure.sub() function and method, and tests. 2018-07-02 14:55:02 +10:00
ure_sub_unmatched.py extmod/modure: Add ure.sub() function and method, and tests. 2018-07-02 14:55:02 +10:00
ure_sub_unmatched.py.exp extmod/modure: Add ure.sub() function and method, and tests. 2018-07-02 14:55:02 +10:00
uselect_poll_basic.py tests/extmod: Skip uselect test when CPython doesn't have poll(). 2018-10-30 14:49:23 +11:00
ussl_basic.py extmod/modussl_axtls: Allow to close ssl stream multiple times. 2017-07-20 00:20:53 +03:00
ussl_basic.py.exp extmod/modussl_axtls: Allow to close ssl stream multiple times. 2017-07-20 00:20:53 +03:00
utimeq1.py tests: Convert remaining "sys.exit()" to "raise SystemExit". 2017-06-10 20:34: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: Convert remaining "sys.exit()" to "raise SystemExit". 2017-06-10 20:34:38 +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 tests: Convert remaining "sys.exit()" to "raise SystemExit". 2017-06-10 20:34:38 +03:00
uzlib_decompio.py.exp tests/extmod/uzlib_decompio: Add zlib bitstream testcases. 2016-09-04 14:45:27 +03:00
uzlib_decompio_gz.py tests: Convert remaining "sys.exit()" to "raise SystemExit". 2017-06-10 20:34:38 +03:00
uzlib_decompio_gz.py.exp tests/extmod: Improve tinfgzip.c test coverage. 2017-03-14 22:13:36 +11:00
uzlib_decompress.py tests/extmod/uzlib_decompress: Add uzlib tests to improve coverage. 2018-02-26 13:36:55 +11:00
vfs_basic.py tests/extmod: Remove conditional import of uos_vfs, it no longer exists. 2018-06-06 14:28:23 +10:00
vfs_basic.py.exp tests/extmod/vfs_basic: Allow test to pass on embedded targets. 2017-06-11 22:56:27 +10:00
vfs_fat_fileio1.py tests/extmod: Remove conditional import of uos_vfs, it no longer exists. 2018-06-06 14:28:23 +10:00
vfs_fat_fileio1.py.exp extmod/vfs_fat: Add file size as 4th element of uos.ilistdir tuple. 2018-03-12 12:26:36 +11:00
vfs_fat_fileio2.py tests/extmod: Remove conditional import of uos_vfs, it no longer exists. 2018-06-06 14:28:23 +10:00
vfs_fat_fileio2.py.exp extmod/vfs_fat: Add file size as 4th element of uos.ilistdir tuple. 2018-03-12 12:26:36 +11:00
vfs_fat_more.py tests: Improve feature detection for VFS. 2018-07-20 00:50:57 +02:00
vfs_fat_more.py.exp tests/extmod: Add test for importing a script from a user VFS. 2018-06-06 14:28:23 +10:00
vfs_fat_oldproto.py tests/extmod: Remove conditional import of uos_vfs, it no longer exists. 2018-06-06 14:28:23 +10:00
vfs_fat_oldproto.py.exp extmod/vfs_fat: Add file size as 4th element of uos.ilistdir tuple. 2018-03-12 12:26:36 +11:00
vfs_fat_ramdisk.py tests/extmod: Remove conditional import of uos_vfs, it no longer exists. 2018-06-06 14:28:23 +10:00
vfs_fat_ramdisk.py.exp extmod/vfs_fat: Add file size as 4th element of uos.ilistdir tuple. 2018-03-12 12:26:36 +11:00
vfs_userfs.py tests: Improve feature detection for VFS. 2018-07-20 00:50:57 +02:00
vfs_userfs.py.exp tests/extmod: Add test for VFS and user-defined filesystem and files. 2018-06-12 12:29:26 +10:00
websocket_basic.py tests: Convert remaining "sys.exit()" to "raise SystemExit". 2017-06-10 20:34:38 +03:00
websocket_basic.py.exp tests/extmod: Rename websocket test to websocket_basic. 2017-03-10 15:05:08 +11:00