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
Paul Sokolovsky
1b693543aa
tests: Skip exception_chain.py with native emitter.
2015-09-01 11:53:27 +03:00
Paul Sokolovsky
a3fe307400
tests: Consolidate all feature check snippets under feature_check/.
2015-08-30 11:36:42 +03:00
Paul Sokolovsky
0a8b5d160b
run-tests: Allow to skip byteorder-dependent tests.
...
If byteorder of MicroPython under test and host CPython differ.
2015-08-30 00:37:53 +03:00
stijn
dbfba6a20e
tests: Fix exceptions when running cmdline tests on windows
...
- subprocess.check_output can only handle strings on windows, not bytes,
so convert the arguments as such
- the pty module is for posix systems only so skip the tests needing it
in case it is not available
2015-08-08 12:35:27 +01:00
stijn
7ede3ec4b1
tests: Always use forward slashes for paths
...
This is more consistent and fixes run_micropython on windows as it uses
forward slahses to compare paths
2015-08-08 12:35:27 +01:00
Tom Soulanille
89852d38ef
run-tests: Test REPL emacs keys, but only if present.
...
Uses cmdline/repl_emacs_check.py to check for presence of emacs keys in
repl before doing full feature test.
2015-08-06 00:03:44 +01:00
Tom Soulanille
3dd0b69e46
run-tests: Use PTY when running REPL tests.
2015-07-26 15:23:11 +01:00
Daniel Campora
cd14188bc8
tools: Add telnet support to pyboard.py.
...
The adapter class "TelnetToSerial" is used to access the Telnet
connection using the same API as with the serial connection. The
function pyboard.run-test() has been removed to made the module
generic and because this small test is no longer needed.
2015-07-26 14:02:34 +01:00
Damien George
e44c1d3ace
tests: Split out json float tests to separate files.
2015-06-25 10:50:00 +01:00
Daniel Campora
186b355b28
tests: Add support for the WiPy in run-tests script.
...
The --pyboard param has been replaced by --target which defaults to
'unix'. Possible values at this moment are 'unix', 'pyboard' and
'wipy'. Now is also possible to select the baud rate of the serial
device when calling the script.
2015-06-25 10:45:25 +01:00
Damien George
031278f661
unix: Allow to cat a script into stdin from the command line.
...
See issue #1306 .
2015-06-04 23:42:45 +01:00