aboutsummaryrefslogtreecommitdiff
path: root/tests/run-tests
diff options
context:
space:
mode:
authorPaul Sokolovsky2016-07-22 12:02:04 +0300
committerPaul Sokolovsky2016-07-22 12:02:04 +0300
commitb652ee705b7378211250bebb478a3894836350bb (patch)
treec7236b50d27a41628457a501bd939fd971979230 /tests/run-tests
parent40214b9e26408ceb0e4eb92a57f59302b38fa6f9 (diff)
tests/bytes_compare: Rework test for bytes <-> str comparison.
This may produce a warning, depending on MicroPython configuration.
Diffstat (limited to 'tests/run-tests')
-rwxr-xr-xtests/run-tests3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/run-tests b/tests/run-tests
index 02791896b..878c14f26 100755
--- a/tests/run-tests
+++ b/tests/run-tests
@@ -27,9 +27,10 @@ def rm_f(fname):
os.remove(fname)
def run_micropython(pyb, args, test_file):
+ special_tests = ('micropython/meminfo.py', 'basics/bytes_compare3.py')
if pyb is None:
# run on PC
- if test_file.startswith(('cmdline/', 'feature_check/')) or test_file == 'micropython/meminfo.py':
+ if test_file.startswith(('cmdline/', 'feature_check/')) or test_file in special_tests :
# special handling for tests of the unix cmdline program
# check for any cmdline options needed for this test