summaryrefslogtreecommitdiff
path: root/tools/tinytest-codegen.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/tinytest-codegen.py')
-rwxr-xr-xtools/tinytest-codegen.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/tinytest-codegen.py b/tools/tinytest-codegen.py
index af2335a9a..ae6dc19b4 100755
--- a/tools/tinytest-codegen.py
+++ b/tools/tinytest-codegen.py
@@ -45,12 +45,14 @@ testgroup_member = (
)
## XXX: may be we could have `--without <groups>` argument...
-test_dirs = ('basics', 'float', 'import', 'io', 'misc')
+# currently these tests are selected because they pass on qemu-arm
+test_dirs = ('basics',) # 'float', 'import', 'io', 'misc')
+exclude_tests = ('basics/builtin_override.py', 'basics/class_super_object.py', 'basics/memoryview_gc.py',)
output = []
for group in test_dirs:
- tests = glob('{}/*.py'.format(group))
+ tests = [test for test in glob('{}/*.py'.format(group)) if test not in exclude_tests]
output.extend([test_function.format(**script_to_map(test)) for test in tests])
testcase_members = [testcase_member.format(**chew_filename(test)) for test in tests]
output.append(testcase_struct.format(name=group, body='\n'.join(testcase_members)))