diff options
author | Dan Gohman <sunfish@mozilla.com> | 2016-01-06 16:20:12 -0800 |
---|---|---|
committer | Dan Gohman <sunfish@mozilla.com> | 2016-01-06 16:20:12 -0800 |
commit | 8ae085fb1f79d6a72d234c5d33704f6106fe6f4b (patch) | |
tree | 68120e60fc185e157af9656288782f42efada509 /test/llvm_autogenerated/llvm-to-s.py | |
parent | 176a955c63f7891f00c1f29e33079dc3d77539da (diff) | |
parent | 10d9c8223360714918808aeafa24308039c1518b (diff) | |
download | binaryen-8ae085fb1f79d6a72d234c5d33704f6106fe6f4b.tar.gz binaryen-8ae085fb1f79d6a72d234c5d33704f6106fe6f4b.tar.bz2 binaryen-8ae085fb1f79d6a72d234c5d33704f6106fe6f4b.zip |
Merge pull request #74 from WebAssembly/llvm_autogenerated
Replace the experimental/prototype-wasmate/test tests.
Diffstat (limited to 'test/llvm_autogenerated/llvm-to-s.py')
-rwxr-xr-x | test/llvm_autogenerated/llvm-to-s.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/llvm_autogenerated/llvm-to-s.py b/test/llvm_autogenerated/llvm-to-s.py index 9952352a8..ae73c167b 100755 --- a/test/llvm_autogenerated/llvm-to-s.py +++ b/test/llvm_autogenerated/llvm-to-s.py @@ -52,6 +52,14 @@ def main(args): tests = FindTestFiles(LLVM_TEST_DIR, '.ll') for ll_test in tests: name_noext = os.path.splitext(os.path.basename(ll_test))[0] + + BLACKLIST = ['inline-asm', # inline asm containing invalid syntax + 'returned', # external global symbol + 'vtable', # external global symbol + ] + if name_noext in BLACKLIST: + continue + s = os.path.join(S_TEST_DIR, name_noext + '.s') run_line = GetRunLine(ll_test) cmd = shlex.split(run_line) |