summaryrefslogtreecommitdiff
path: root/tests/test_core.py
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2014-02-20 15:10:28 -0800
committerAlon Zakai <alonzakai@gmail.com>2014-02-20 15:15:45 -0800
commit29d094cbba95e91962da4b295c4521ccef663710 (patch)
treef9b8b1b9b59cae4ab51b6bec12e91ac945127206 /tests/test_core.py
parent50851c70efe445da8b56af1f59b5094845007bf1 (diff)
fuzzing improvements
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')