Skip to content

Commit

Permalink
Increase flake8 coverage (WebAssembly#1586)
Browse files Browse the repository at this point in the history
  • Loading branch information
sbc100 authored Jun 5, 2018
1 parent bfae82f commit 465b18b
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .flake8
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[flake8]
ignore = E111,E114,E501,E121
exclude = ./test/
exclude = ./test/emscripten,./test/waterfall,./test/spec,./test/wasm-install
1 change: 0 additions & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -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
8 changes: 2 additions & 6 deletions scripts/spidermonkify.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]

Expand Down
16 changes: 8 additions & 8 deletions test/llvm_autogenerated/llvm-to-s.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 465b18b

Please sign in to comment.