aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2014-02-26 13:47:01 -0800
committerAlon Zakai <alonzakai@gmail.com>2014-02-26 13:47:01 -0800
commit3a4dbe968aa639fee2c6301297b8e636072121cd (patch)
tree81619f496fb263b07ed4ed83a35dfb58461afc0b
parent2708d551bd31338fbfd9f9e11716451443c04dbb (diff)
fix test_fuzz in non-fastcomp
-rw-r--r--tests/test_core.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/test_core.py b/tests/test_core.py
index a821660c..c9da3954 100644
--- a/tests/test_core.py
+++ b/tests/test_core.py
@@ -5213,7 +5213,10 @@ def process(filename):
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
- if os.path.basename(name) == '18.cpp' and not os.environ.get('EMCC_FAST_COMPILER') != '0': continue # works only in fastcomp
+ if os.environ.get('EMCC_FAST_COMPILER') == '0' and os.path.basename(name) in [
+ '18.cpp', '15.c'
+ ]:
+ continue # works only in fastcomp
print name
self.do_run(open(path_from_root('tests', 'fuzz', name)).read(),