summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/fuzz_opt.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/fuzz_opt.py b/scripts/fuzz_opt.py
index 94db99e05..df7ab8136 100755
--- a/scripts/fuzz_opt.py
+++ b/scripts/fuzz_opt.py
@@ -988,6 +988,9 @@ def randomize_opt_flags():
if '--disable-exception-handling' not in FEATURE_OPTS:
print('avoiding --flatten due to exception catching which does not support it yet')
continue
+ if '--disable-multivalue' not in FEATURE_OPTS and '--disable-reference-types' not in FEATURE_OPTS:
+ print('avoiding --flatten due to multivalue + reference types not supporting it (spilling of non-nullable tuples)')
+ continue
if INITIAL_CONTENTS and os.path.getsize(INITIAL_CONTENTS) > 2000:
print('avoiding --flatten due using a large amount of initial contents, which may blow up')
continue