aboutsummaryrefslogtreecommitdiff
path: root/tests/run-tests
AgeCommit message (Collapse)Author
2017-07-07py/objgenerator: Allow to hash generators and generator instances.Damien George
Adds nothing to the code size, since it uses existing empty slots in the type structures.
2017-06-26tests: Auto detect floating point capabilites of the target.Damien George
The floating-point precision of the target is detected (0, 30, 32 or 64) and only those tests which can run on the target will be run.
2017-04-16tests/run-tests: Don't post-process CRASH result in any way.Paul Sokolovsky
If we got a CRASH result, return early, similar to SKIP. This is important because previous refactor changed branching logic a bit, so CRASH now gets post-processed into CRASH\n, which broke remote hardware tests.
2017-04-14tests/run-tests: Search feature checks wrt to main script location.Paul Sokolovsky
If run-tests script is run from another dir, we still want to look up feature checks in run-tests' dir.
2017-04-04tests/run-tests: Update names of tests that may need skipping.Damien George
2017-04-03tests/run-tests: Introduce generic "minimal" target.Paul Sokolovsky
Used e.g. by Zephyr port.
2017-04-02run-tests: Add feature check for "const" keyword and skip related tests.Paul Sokolovsky
2017-04-02tests/run-tests: Be sure to close Pyboard object on completion.Paul Sokolovsky
So underlying device was properly closed too.
2017-03-20tests/micropython: Add tests for micropython.schedule().Damien George
2017-03-14tests/run-tests: Re-instate skipping of doubleprec test on pyboard.Damien George
2017-03-10tests/feature_check/int_big: Rework "big int" detection.Paul Sokolovsky
MICROPY_LONGINT_IMPL_LONGLONG doesn't have overflow detection, so just parsing a large number won't give an error, we need to print it out to check that the whole number was parsed.
2017-03-04tests/basic: Split tests into working with small ints and not working.Paul Sokolovsky
Tests which don't work with small ints are suffixed with _intbig.py. Some of these may still work with long long ints and need to be reclassified later.
2017-03-03tests/run-tests: Check for big int availability and skip related tests.Paul Sokolovsky
Big aka arbitrary-precision integers (implemented by MPZ module) are used in tests starting with "int_big_" or ending with "_intbig".
2017-02-16tests/micropython: Add test for iterating with the heap locked.Damien George
2017-02-14tests/run-tests: Allow to skip tests using async/await keywords.Paul Sokolovsky
2017-02-14tests: Add option to not clear MICROPYPATH when running testsstijn
This allows using the test runner for other scenarios than just testing uPy itself. The principle of comparing either to CPython or else to a .exp file is really handy but to be able to test custom modules not built into micropython.exe one needs to be able to specify the module search path a.k.a MICROPYPATH.
2017-01-31tests/run-tests: Skip frozenset tests if set literal syntax is not available.Paul Sokolovsky
2017-01-24tests: Make sure special tests can be skipped as well.stijn
Fixes #2806.
2017-01-22tests: Add test for builtin help function.Damien George
2017-01-17tests: Update tests, and add new ones, for recent generator tweaks.Damien George
2017-01-05tests/run-tests: Allow to skip set tests.Paul Sokolovsky
If sets are not enabled, set literals lead to SyntaxError during parsing, so it requires feature_check. Set tests are skipped based on set_*.py pattern.
2016-12-29tests/thread: Improve modthread.c test coverage.Rami Ali
2016-12-22tests: Add a coverage test for printing the parse-tree.Damien George
2016-12-20tests/basics: Improve test coverage for generators.Rami Ali
2016-12-20tests/run-tests: For REPL tests make sure the REPL is exited at the end.Damien George
2016-11-21tests/micropython: Move alloc-less traceback test to separate test file.Damien George
The native emitter doesn't provide proper traceback info so this test should not be run in that case.
2016-10-17tests/run-tests: Enable extmod/machine1.py on pyboard.Damien George
It now works.
2016-10-11tests: Improve test coverage of py/compile.c.Damien George
2016-10-05tests: Fix expected output of verbose cmdline teststijn
The output might contain more than one line ending in 5b so properly skip everything until the next known point. This fixes test failures in appveyor debug builds.
2016-10-04tests/run-tests: Disable cmdline/cmd_showbc test on Windows.Damien George
Disabled until a proper fix is found.
2016-09-20tests/run-tests: Add --via-mpy option to run test from precompiled code.Damien George
With mpy-cross built, tests can now be run by first compiling them to .mpy files, and then executing the .mpy file. Usage: ./run-tests --via-mpy
2016-09-20tests: Get cmdline verbose tests running again.Damien George
The showbc function now no longer uses the system printf so works correctly.
2016-09-08tests/run-tests: Disable thread/stress_recurse.py test on Travis.Damien George
It has reliability issues (cause unknown at this time).
2016-08-27tests/run-tests: Disable thread_gc1.py test on Travis.Damien George
It has reliability issues (cause unknown at this time).
2016-08-25tests/run-tests: Disable thread/stress_heap.py when running on Travis.Damien George
It has reliability issues and sometimes fails on Travis (reason currently unknown).
2016-08-17tests/run-tests: Disable thread/thread_lock4.py on Travis.Damien George
It has reliability issues that need to be worked out.
2016-07-26tests/run-tests: Make "regex'ed .exp" facility available to device tests.Paul Sokolovsky
Required to pass bytes_compare3.py (opptional warnings) on devices.
2016-07-22tests/bytes_compare: Rework test for bytes <-> str comparison.Paul Sokolovsky
This may produce a warning, depending on MicroPython configuration.
2016-07-09tests/run-tests: If running thread tests on unix, don't run mutate ones.Damien George
They will fail because the GIL is disabled on the unix build.
2016-05-07tests/run-tests: Factor out list supported external boards.Paul Sokolovsky
To get consistent error messages, etc.
2016-04-28tests/run-tests: Add gen_yield_from_stopped to skipped for --emit=native.Paul Sokolovsky
Just as the rest of generator tests, which aren't yet supoorted for native.
2016-04-13tests: Skip async tests for native emitter.Damien George
2016-04-07py: Implement basic with support in native emitter.Damien George
2016-03-15tests: Add new subdir "stress/" specifically for stress tests.Damien George
2016-03-15tests/run-tests: Add cmd line option "--heapsize".Damien George
This allows you to specify the heapsize that unix will use when running the test suite, eg: ./run-tests --heapsize 16k
2016-03-08tests/run-tests: Simplify handling of newline in output from tests.Damien George
Now, all output has newlines converted to \n, regardless of port or platform.
2016-03-07tests/run-tests: Fix logic when selecting test-dirs for a given target.Damien George
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