summaryrefslogtreecommitdiff
path: root/tests/test_core.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_core.py')
-rw-r--r--tests/test_core.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/test_core.py b/tests/test_core.py
index e598655d..b633d514 100644
--- a/tests/test_core.py
+++ b/tests/test_core.py
@@ -5181,12 +5181,13 @@ def process(filename):
def run_all(x):
print x
- for name in glob.glob(path_from_root('tests', 'fuzz', '*.c')):
+ for name in glob.glob(path_from_root('tests', 'fuzz', '*.c')) + glob.glob(path_from_root('tests', 'fuzz', '*.cpp')):
#if os.path.basename(name) != '4.c': continue
+ if 'newfail' in name: continue
print name
self.do_run(open(path_from_root('tests', 'fuzz', name)).read(),
- open(path_from_root('tests', 'fuzz', name + '.txt')).read(), force_c=True)
+ open(path_from_root('tests', 'fuzz', name + '.txt')).read(), force_c=name.endswith('.c'))
run_all('normal')