aboutsummaryrefslogtreecommitdiff
path: root/tests/run-tests
AgeCommit message (Collapse)Author
2016-03-03tests/run-tests: Skips for esp8266.Paul Sokolovsky
2016-02-21tests: Skip uctypes and urandom tests not supported byt the WiPy.danicampora
2016-02-13tests/run-tests: Add esp8266 target.Paul Sokolovsky
2015-12-26tests: Skip class_bind_self.py for native emitter.Damien George
2015-12-24tests: Skip try-finally test for native emitter.Damien George
2015-12-08tests: Disable for_range.py test for native emitter (it requires yield).Damien George
2015-12-06tests/run-tests: Allow to skip complex tests if it's not compiled in.Paul Sokolovsky
2015-11-24tests/run-tests: Improve robustness of REPL tests.Paul Sokolovsky
Unconditionally wait for MicroPython banner. On overloaded systems, when using emulators, etc. initial executable startup may take more than 20ms.
2015-10-31tests: Make sure test output has \r\n line-ends when running on Windowsstijn
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-20tests: Disable some tests for pyboard that do not run correctly.Damien George
2015-10-15py: Remove dependency on printf/fwrite in mp_plat_print.Damien George
See issue #1500.
2015-10-12Rename "Micro Python" to "MicroPython" in REPL, help, readme's and misc.Damien George
2015-09-27tests: Skip uheapq1 test if target is WiPy.Daniel Campora
2015-09-27tests: Skip extmod machine tests when target is WiPy.Daniel Campora
2015-09-23tests: Omit process output parsing in case of CalledProcessErrorstijn
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-10tests: Ignore exception chain test on the WiPy.Daniel Campora
Fails because warnings are not enabled on the CC3200.
2015-09-10cc3200: Re-work Pin class according to the new API.Daniel Campora
Also add relevant test.
2015-09-01tests: Skip exception_chain.py with native emitter.Paul Sokolovsky
2015-08-30tests: Consolidate all feature check snippets under feature_check/.Paul Sokolovsky
2015-08-30run-tests: Allow to skip byteorder-dependent tests.Paul Sokolovsky
If byteorder of MicroPython under test and host CPython differ.
2015-08-08tests: Fix exceptions when running cmdline tests on windowsstijn
- 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-08tests: Always use forward slashes for pathsstijn
This is more consistent and fixes run_micropython on windows as it uses forward slahses to compare paths
2015-08-06run-tests: Test REPL emacs keys, but only if present.Tom Soulanille
Uses cmdline/repl_emacs_check.py to check for presence of emacs keys in repl before doing full feature test.
2015-07-26run-tests: Use PTY when running REPL tests.Tom Soulanille
2015-07-26tools: Add telnet support to pyboard.py.Daniel Campora
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-06-25tests: Split out json float tests to separate files.Damien George
2015-06-25tests: Add support for the WiPy in run-tests script.Daniel Campora
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-04unix: Allow to cat a script into stdin from the command line.Damien George
See issue #1306.
2015-04-25modsys: Add basic sys.exc_info() implementation.Paul Sokolovsky
The implementation is very basic and non-compliant and provided solely for CPython compatibility. The function itself is bad Python2 heritage, its usage is discouraged.
2015-04-07py: Implement full func arg passing for native emitter.Damien George
This patch gets full function argument passing working with native emitter. Includes named args, keyword args, default args, var args and var keyword args. Fully Python compliant. It reuses the bytecode mp_setup_code_state function to do all the hard work. This function is slightly adjusted to accommodate native calls, and the native emitter is forced a bit to emit similar prelude and code-info as bytecode.
2015-04-06py: Implement calling functions with *args in native emitter.Damien George
2015-04-04tests: Add missing tests for builtins, and many other things.Damien George
2015-04-03py: Implement closures in native code generator.Damien George
Currently supports only x64 and Thumb2 archs.
2015-03-25tests: Skip some new tests when testing native emitter.Damien George
2015-03-20tests: Make cmdline tests more stable by using regex for matching.Damien George
2015-03-13tests: Add ability to test uPy cmdline executable.Damien George
This allows to test options passed to cmdline executable, as well as the behaviour of the REPL.
2015-03-03tests: Skip basics/boundmeth1.py for native emitter.Damien George
2015-02-02tests: Disable float/cmath_fun.py for native emitter.Damien George
2015-01-21py: Implement proper re-raising in native codegen's finally handler.Damien George
This allows an exception to propagate correctly through a finally handler.
2015-01-07py: Temporary fix for conversion of float to int when fits in small int.Damien George
Addresses issue #1044 (see also #1040). Could do with a better fix.
2014-12-31tests: Disable float/float2int.py on pyboard (needs double prec).Damien George
2014-12-20run-tests: Allow to run testuite against Windows build on Linux (using Wine).Paul Sokolovsky
Just adjust line-endings of micropython.exe output, the rest should be handled by Wine (automagically on properly configured distro). To run: MICROPY_MICROPYTHON=../windows/micropython.exe ./run-tests
2014-12-20windows: Correctly interpret skipped tests, enable uhashlib and ubinasciistijn
2014-12-13run-tests: Skip native/viper tests based on prefix.Paul Sokolovsky
Otherwise, new tests are forgotten to be added to explicit lists. Issue found running on Debian/ARM.
2014-12-12run-tests: Reset MICROPYPATH, to make sure tests use only builtin modules.Paul Sokolovsky
2014-12-12run-tests: PEP8 fix.Paul Sokolovsky
2014-12-11tests: Disable print_exception test when using native emitter.Damien George
2014-12-11tests: Fix print_exception test and re-enable it on Travis CI.Damien George
Issue was with uPy: on local machine with micropython-lib installed, io module is available. Not the case on Travis CI, where only _io module is available in uPy.
2014-12-11run-tests: Skip print_exception.py on TravisCI, as it irreproducibly fails.Paul Sokolovsky
TODO: Figure out what's wrong on Travis.
2014-11-19Set PYTHONIOENCODING='utf-8' so that unicode tests can pass on CPython onblmorris
systems where another encoding is set in the locale