Diego Elio Pettenò
dd5d7c86d2
Fix up end of file and trailing whitespace.
...
This can be enforced by pre-commit, but correct it separately to make it easier to review.
2020-06-03 10:56:35 +01:00
Paul Sokolovsky
d6f9d64d97
tests/class_reverse_op: Test for reverse arith ops special methods.
...
This test should be run only if support for reverse ops is enabled, so
the corresponding feature_check is added to run-tests.
2017-09-10 17:05:57 +03:00
Damien George
4a6c0fda78
tests: Auto detect floating point capabilites of the target.
...
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-06-26 13:47:00 +10:00
Paul Sokolovsky
b099aeb3ca
run-tests: Add feature check for "const" keyword and skip related tests.
2017-04-02 22:52:18 +03:00
Paul Sokolovsky
854bb322bf
tests/feature_check/int_big: Rework "big int" detection.
...
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-10 02:11:43 +01:00
Paul Sokolovsky
89e570a5b4
tests/run-tests: Check for big int availability and skip related tests.
...
Big aka arbitrary-precision integers (implemented by MPZ module) are used
in tests starting with "int_big_" or ending with "_intbig".
2017-03-03 20:16:59 +03:00
Paul Sokolovsky
ce2e0eeb7b
tests/run-tests: Allow to skip tests using async/await keywords.
2017-02-14 22:03:25 +03:00
Paul Sokolovsky
26f00ff154
tests/run-tests: Allow to skip set tests.
...
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.
2017-01-05 00:16:29 +03:00
Damien George
cdec7ba30e
tests: Add a coverage test for printing the parse-tree.
2016-12-22 11:26:06 +11:00
Paul Sokolovsky
cbc489dff5
tests: Actuall add feature check for complex type being available.
2015-12-06 15:13:26 +02:00
Damien George
3aa7dd23c9
unix: Add exit and paste-mode hints to shell startup banner.
...
Thanks to @nyov for the initial patch.
2015-10-12 00:19:00 +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
Paul Sokolovsky
a3fe307400
tests: Consolidate all feature check snippets under feature_check/.
2015-08-30 11:36:42 +03:00
Paul Sokolovsky
1a1b48e51a
tests: Add feature_check dir to collect capability detection scripts.
...
Which are currently intermixed with real scripts and spread around various
dirs.
2015-08-30 11:11:18 +03:00