summaryrefslogtreecommitdiff
path: root/auto_update_tests.py
diff options
context:
space:
mode:
authorThomas Lively <7121787+tlively@users.noreply.github.com>2022-01-18 15:24:42 -0800
committerGitHub <noreply@github.com>2022-01-18 23:24:42 +0000
commited5aaa6d261e3692161106695f50e438d5fb6f5f (patch)
tree7dbe3997cb9c9602d4ea6786efe85c9e597e6529 /auto_update_tests.py
parentaf386dfa24a8c22f5c44e62b32f6ebaaa8cf1081 (diff)
downloadbinaryen-ed5aaa6d261e3692161106695f50e438d5fb6f5f.tar.gz
binaryen-ed5aaa6d261e3692161106695f50e438d5fb6f5f.tar.bz2
binaryen-ed5aaa6d261e3692161106695f50e438d5fb6f5f.zip
Update `help` lit tests in auto_update_tests.py (#4461)
Diffstat (limited to 'auto_update_tests.py')
-rwxr-xr-xauto_update_tests.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/auto_update_tests.py b/auto_update_tests.py
index 7277f5e77..240fcbda2 100755
--- a/auto_update_tests.py
+++ b/auto_update_tests.py
@@ -154,6 +154,14 @@ def update_lit_tests():
os.path.join(lit_dir, '**', '*.wast'),
os.path.join(lit_dir, '**', '*.wat')])
+ # Update the help lit tests
+ script = os.path.join(shared.options.binaryen_root,
+ 'scripts',
+ 'update_help_checks.py')
+ subprocess.check_output([sys.executable,
+ script,
+ '--binaryen-bin=' + shared.options.binaryen_bin])
+
TEST_SUITES = OrderedDict([
('wasm-opt', wasm_opt.update_wasm_opt_tests),