summaryrefslogtreecommitdiff
path: root/auto_update_tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'auto_update_tests.py')
-rwxr-xr-xauto_update_tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/auto_update_tests.py b/auto_update_tests.py
index dafc1e30b..6a3904569 100755
--- a/auto_update_tests.py
+++ b/auto_update_tests.py
@@ -103,7 +103,7 @@ def update_wasm_opt_tests():
passes_file = os.path.join(shared.get_test_dir('passes'), passname + '.passes')
if os.path.exists(passes_file):
passname = open(passes_file).read().strip()
- opts = [('--' + p if not p.startswith('O') else '-' + p) for p in passname.split('_')]
+ opts = [('--' + p if not p.startswith('O') and p != 'g' else '-' + p) for p in passname.split('_')]
actual = ''
for module, asserts in support.split_wast(t):
assert len(asserts) == 0