aboutsummaryrefslogtreecommitdiff
path: root/tests/run-tests
AgeCommit message (Collapse)Author
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
2014-10-05tests: Add check for micropython.native and then skip relevant tests.Damien George
If micropython.native decorator doesn't compile, then we skill all native/viper tests. This patch also re-enables the ujson_loads test on NT. Addresses issue #861, and partially addresses issue #856.
2014-10-05Exclude some tests which always fail on windowsstijn
2014-10-01Enable device keyword option when running pyboard.py --tests and run-tests ↵blmorris
--pyboard
2014-09-23py: Make native emitter handle multi-compare and not/is not/not in ops.Damien George
2014-09-23tests: Fix uctypes tests to run on 64bit arch; enable more native tests.Damien George
2014-09-17py: Add native json printing using existing print framework.Damien George
Also add start of ujson module with dumps implemented. Enabled in unix and stmhal ports. Test passes on both.
2014-09-13py: Implement divmod, % and proper // for floating point.Damien George
Tested and working on unix and pyboard.
2014-09-06tests: Enable misc tests on pyboard; output 4 sig figs in rge_sm.Damien George
2014-09-06unix: Don't use -Wno-error=cpp or #warning; fix strict alias warning.Damien George
For the sake of older versions of gcc (and other compilers), don't use the #warning CPP directive, nor the -Wno-error=cpp option. Also, fix a strict alias warning in modffi.c for older compilers, and add a test for ffi module. Addresses issue #847.