diff options
| author | Damien George | 2016-12-22 11:26:06 +1100 |
|---|---|---|
| committer | Damien George | 2016-12-22 11:26:06 +1100 |
| commit | cdec7ba30ed6d527c2d007b7fd37413f0c71a1fd (patch) | |
| tree | 8c6e20f1c4d3b19c1587a1d4e025605c7e29bc52 /tests/run-tests | |
| parent | ebb84131788ca1134d0c9cf38fcb1e5162c14bc3 (diff) | |
tests: Add a coverage test for printing the parse-tree.
Diffstat (limited to 'tests/run-tests')
| -rwxr-xr-x | tests/run-tests | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/run-tests b/tests/run-tests index 1a686584c..d142c998c 100755 --- a/tests/run-tests +++ b/tests/run-tests @@ -208,6 +208,7 @@ def run_tests(pyb, tests, args): upy_byteorder = run_micropython(pyb, args, 'feature_check/byteorder.py') has_complex = run_micropython(pyb, args, 'feature_check/complex.py') == b'complex\n' + has_coverage = run_micropython(pyb, args, 'feature_check/coverage.py') == b'coverage\n' cpy_byteorder = subprocess.check_output([CPYTHON3, 'feature_check/byteorder.py']) skip_endian = (upy_byteorder != cpy_byteorder) @@ -225,6 +226,9 @@ def run_tests(pyb, tests, args): skip_tests.add('float/true_value.py') skip_tests.add('float/types.py') + if not has_coverage: + skip_tests.add('cmdline/cmd_parsetree.py') + # Some tests shouldn't be run on a PC if pyb is None: # unix build does not have the GIL so can't run thread mutation tests |
