summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.flake82
-rw-r--r--.gitmodules1
-rw-r--r--scripts/spidermonkify.py8
-rwxr-xr-xtest/llvm_autogenerated/llvm-to-s.py16
4 files changed, 11 insertions, 16 deletions
diff --git a/.flake8 b/.flake8
index c1d8f5c58..49e003f84 100644
--- a/.flake8
+++ b/.flake8
@@ -1,3 +1,3 @@
[flake8]
ignore = E111,E114,E501,E121
-exclude = ./test/
+exclude = ./test/emscripten,./test/waterfall,./test/spec,./test/wasm-install
diff --git a/.gitmodules b/.gitmodules
index dd6f813bc..502df06e6 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -4,7 +4,6 @@
[submodule "test/waterfall"]
path = test/waterfall
url = https://github.com/WebAssembly/waterfall.git
-
[submodule "test/emscripten"]
path = test/emscripten
url = https://github.com/kripken/emscripten.git
diff --git a/scripts/spidermonkify.py b/scripts/spidermonkify.py
index e5caaf0a8..a5306af15 100644
--- a/scripts/spidermonkify.py
+++ b/scripts/spidermonkify.py
@@ -14,21 +14,17 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-'''
-A bunch of hackish fixups for testing of SpiderMonkey support. We should
+"""A bunch of hackish fixups for testing of SpiderMonkey support. We should
get rid of these ASAP.
This is meant to be run using BINARYEN_SCRIPTS in emcc, and not standalone.
-'''
+"""
-import os
import subprocess
import sys
import emscripten
-binaryen_root = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))
-
js_target = sys.argv[1]
wast_target = sys.argv[2]
diff --git a/test/llvm_autogenerated/llvm-to-s.py b/test/llvm_autogenerated/llvm-to-s.py
index cbd6fec5b..d3c95465d 100755
--- a/test/llvm_autogenerated/llvm-to-s.py
+++ b/test/llvm_autogenerated/llvm-to-s.py
@@ -69,14 +69,14 @@ def main(args):
for ll_test in tests:
name_noext = os.path.splitext(os.path.basename(ll_test))[0]
- BLACKLIST = ['inline-asm', # inline asm containing invalid syntax
- 'dbgvalue', # external global symbol
- 'returned', # external global symbol
- 'vtable', # external global symbol
- 'offset-folding', # external global symbol
- 'address-offsets', # external global symbol
- 'memory-addr64', # wasm64
- 'simd-arith', # No SIMD in binaryen yet
+ BLACKLIST = ['inline-asm', # inline asm containing invalid syntax
+ 'dbgvalue', # external global symbol
+ 'returned', # external global symbol
+ 'vtable', # external global symbol
+ 'offset-folding', # external global symbol
+ 'address-offsets', # external global symbol
+ 'memory-addr64', # wasm64
+ 'simd-arith', # No SIMD in binaryen yet
]
if name_noext in BLACKLIST:
continue