Paul Sokolovsky
5ec11f565b
tests/run-tests: Factor out list supported external boards.
...
To get consistent error messages, etc.
2016-05-07 18:45:16 +03:00
Paul Sokolovsky
3c2e40b008
tests/run-tests: Add gen_yield_from_stopped to skipped for --emit=native.
...
Just as the rest of generator tests, which aren't yet supoorted for
native.
2016-04-28 10:24:27 +03:00
Damien George
c2a519bab9
tests: Skip async tests for native emitter.
2016-04-13 15:56:42 +01:00
Damien George
2c915e1ae6
py: Implement basic with support in native emitter.
2016-04-07 08:53:24 +01:00
Damien George
157056ecdf
tests: Add new subdir "stress/" specifically for stress tests.
2016-03-15 13:20:18 +00:00
Damien George
9996adc37d
tests/run-tests: Add cmd line option "--heapsize".
...
This allows you to specify the heapsize that unix will use when running
the test suite, eg: ./run-tests --heapsize 16k
2016-03-15 13:04:43 +00:00
Damien George
f0e2d13fd2
tests/run-tests: Simplify handling of newline in output from tests.
...
Now, all output has newlines converted to \n, regardless of port or
platform.
2016-03-08 10:20:38 +00:00
Damien George
d964873e56
tests/run-tests: Fix logic when selecting test-dirs for a given target.
2016-03-07 12:00:16 +00:00
Paul Sokolovsky
2382d30318
tests/run-tests: Skips for esp8266.
2016-03-03 15:38:43 +02:00
danicampora
5148860332
tests: Skip uctypes and urandom tests not supported byt the WiPy.
2016-02-21 22:30:35 +01:00
Paul Sokolovsky
2850e7cd97
tests/run-tests: Add esp8266 target.
2016-02-13 17:03:12 +02:00
Damien George
e5ce5e2a43
tests: Skip class_bind_self.py for native emitter.
2015-12-26 13:06:50 +00:00
Damien George
7ce8860b6b
tests: Skip try-finally test for native emitter.
2015-12-24 12:49:31 +00:00
Damien George
0891cf7d2d
tests: Disable for_range.py test for native emitter (it requires yield).
2015-12-08 21:39:21 +00:00
Paul Sokolovsky
eed2f36ae2
tests/run-tests: Allow to skip complex tests if it's not compiled in.
2015-12-06 14:57:31 +02:00
Paul Sokolovsky
ff8c4188f4
tests/run-tests: Improve robustness of REPL tests.
...
Unconditionally wait for MicroPython banner. On overloaded systems, when
using emulators, etc. initial executable startup may take more than 20ms.
2015-11-24 19:52:30 +02:00
stijn
24b03561bd
tests: Make sure test output has \r\n line-ends when running on Windows
...
This is the case already when using just subprocess.check_output, but in
the special cases (cmdline, meminfo, ...) the carriage return gets lost
during output processing so restore it in the end.
This fixes the micropython/meminfo.py test on Windows.
2015-10-31 14:11:19 +03:00
Damien George
e693e52442
tests: Disable some tests for pyboard that do not run correctly.
2015-10-20 23:55:50 +01:00
Damien George
4300c7dba2
py: Remove dependency on printf/fwrite in mp_plat_print.
...
See issue #1500 .
2015-10-15 00:05:55 +01:00
Damien George
0334058fa4
Rename "Micro Python" to "MicroPython" in REPL, help, readme's and misc.
2015-10-12 00:06:25 +01:00
Daniel Campora
d5de1bf853
tests: Skip uheapq1 test if target is WiPy.
2015-09-27 18:47:35 +02:00
Daniel Campora
958e273336
tests: Skip extmod machine tests when target is WiPy.
2015-09-27 17:35:45 +02:00
stijn
dfa915a6af
tests: Omit process output parsing in case of CalledProcessError
...
Adding a line-end makes the determination of skip_native fail as it compares
the output against b'CRASH' while it is in fact b'CRASH\n'
2015-09-23 11:50:24 +01:00
Daniel Campora
88ca6c94d9
tests: Ignore exception chain test on the WiPy.
...
Fails because warnings are not enabled on the CC3200.
2015-09-10 07:59:53 +02:00
Daniel Campora
d5e256486e
cc3200: Re-work Pin class according to the new API.
...
Also add relevant test.
2015-09-10 07:59:35 +02:00