Paul Sokolovsky
|
8897dcb2a1
|
tests/basics: bytes/str.partition/rpartition are now optional.
Skip tests if not available.
|
2016-08-07 22:14:34 +03:00 |
|
Paul Sokolovsky
|
3eb532e974
|
extmod/modbtree: Implement __contains__ operation.
|
2016-08-02 00:24:59 +03:00 |
|
Paul Sokolovsky
|
bc3912980a
|
tests/machine1: Revamp to work with unix port (which has "umachine").
|
2016-07-31 04:30:48 +03:00 |
|
Paul Sokolovsky
|
eb0e3bab1e
|
tests/machine_mem.py: Too non-portable, rework as an example for unix port.
|
2016-07-31 04:22:09 +03:00 |
|
Paul Sokolovsky
|
617bda27e9
|
tests/extmod/btree1: Tests against in-memory DB (using io.BytesIO).
|
2016-07-31 02:29:05 +03:00 |
|
Paul Sokolovsky
|
abd5a57ea1
|
tests/io/bytesio_ext: Test for .seek()/.flush() on BytesIO.
|
2016-07-29 23:00:25 +03:00 |
|
Paul Sokolovsky
|
6ead9f6f3d
|
tests/run-tests: Make "regex'ed .exp" facility available to device tests.
Required to pass bytes_compare3.py (opptional warnings) on devices.
|
2016-07-26 23:08:33 +03:00 |
|
Paul Sokolovsky
|
d1771bbae0
|
tests/unicode_subscr.py: Detailed test for subscripting unicode strings.
|
2016-07-25 19:28:19 +03:00 |
|
Paul Sokolovsky
|
6af90b2972
|
py/objstrunicode: str_index_to_ptr: Should handle bytes too.
There's single str_index_to_ptr() function, called for both bytes and
unicode objects, so should handle each properly.
|
2016-07-25 14:45:08 +03:00 |
|
Paul Sokolovsky
|
5a38694f55
|
tests/extmod/btree1: Close database at the end of test.
|
2016-07-24 00:30:32 +03:00 |
|
Paul Sokolovsky
|
b652ee705b
|
tests/bytes_compare: Rework test for bytes <-> str comparison.
This may produce a warning, depending on MicroPython configuration.
|
2016-07-22 12:02:04 +03:00 |
|
Paul Sokolovsky
|
c3f519adfe
|
tests/extmod/machine_pinbase: Skip if machine.PinBase is not available.
|
2016-07-17 16:30:24 +03:00 |
|
Paul Sokolovsky
|
0b52228739
|
tests: Add test for extended arguments to stream .write() method.
|
2016-07-14 11:48:15 +03:00 |
|
Damien George
|
2b5a1067c0
|
tests/run-tests: If running thread tests on unix, don't run mutate ones.
They will fail because the GIL is disabled on the unix build.
|
2016-07-09 16:52:57 +01:00 |
|
Paul Sokolovsky
|
92a9078a6f
|
tests/meminfo: Update for addition of "max free sz" output.
|
2016-07-01 00:39:26 +03:00 |
|
Damien George
|
8b9ddf4031
|
tests/thread: Allow some tests to run on ports with not much heap.
|
2016-06-28 11:28:52 +01:00 |
|
Damien George
|
63d05228a3
|
tests/thread: Allow thread_sleep1 to run without floating point.
|
2016-06-28 11:28:52 +01:00 |
|
Damien George
|
15e68277c1
|
tests/thread: Make sure that thread tests don't rely on floating point.
|
2016-06-28 11:28:52 +01:00 |
|
Damien George
|
5b7789d519
|
tests/thread: Make stack-size test run correctly and reliable on uPy.
|
2016-06-28 11:28:52 +01:00 |
|
Damien George
|
b7274e91bc
|
tests/thread: Add test for concurrent mutating of user instance.
|
2016-06-28 11:28:50 +01:00 |
|
Damien George
|
2e4cdae4fd
|
tests/thread: Add test for concurrent interning of strings.
Qstr code accesses global state and needs to be made thread safe.
|
2016-06-28 11:28:50 +01:00 |
|
Damien George
|
094a0dd11a
|
tests/thread: Add tests that mutate shared objects.
Tests concurrent mutating access to: list, dict, set, bytearray.
|
2016-06-28 11:28:50 +01:00 |
|
Damien George
|
c73cf9d931
|
tests/thread: Rename thread_stress_XXX.py to stress_XXX.py.
|
2016-06-28 11:28:50 +01:00 |
|
Damien George
|
dcc7c5bd89
|
tests/thread: Add tests for running GC within a thread, and heap stress.
|
2016-06-28 11:28:49 +01:00 |
|
Damien George
|
3545ef8bb4
|
tests/thread: Remove need to sleep to wait for completion in some tests.
Use a lock and a counter instead, and busy wait for all threads to
complete. This makes test run faster and they no longer rely on the time
module.
|
2016-06-28 11:09:31 +01:00 |
|