From 0a682d32870c3a7b2c908b0d7d7cab95338393c5 Mon Sep 17 00:00:00 2001 From: Thomas Lively <7121787+tlively@users.noreply.github.com> Date: Wed, 7 Jul 2021 18:28:28 +0000 Subject: Port test/passes/O* to lit (#3969) --- scripts/port_passes_tests_to_lit.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'scripts/port_passes_tests_to_lit.py') diff --git a/scripts/port_passes_tests_to_lit.py b/scripts/port_passes_tests_to_lit.py index 1bebfba75..4a71f741f 100755 --- a/scripts/port_passes_tests_to_lit.py +++ b/scripts/port_passes_tests_to_lit.py @@ -83,6 +83,9 @@ def port_test(args, test): if not args.no_delete: for f in glob.glob(test.replace('.wast', '.*')): + # Do not delete binary tests with the same name + if f.endswith('.wasm') or f.endswith('.bin.txt'): + continue os.remove(f) if args.git_add: subprocess.run(['git', 'add', f]) -- cgit v1.2.3