diff options
author | jgravelle-google <jgravelle@google.com> | 2016-12-06 07:41:54 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-06 07:41:54 -0800 |
commit | 9f78d931f450163da81672b42697b98776746918 (patch) | |
tree | bd5d029605830283f7f41db8eb4a29690436dbfa /scripts/test/__init__.py | |
parent | ba7638d561f09ec24f90d571763b2ef84b775318 (diff) | |
download | binaryen-9f78d931f450163da81672b42697b98776746918.tar.gz binaryen-9f78d931f450163da81672b42697b98776746918.tar.bz2 binaryen-9f78d931f450163da81672b42697b98776746918.zip |
Refactor check.py so that groups of tests can be split into separate … (#849)
* Refactor check.py so that groups of tests can be split into separate files
- Move helper util functions into test/shared.py
- Move scripts/support.py to test/support.py
- Split s2wasm tests into its own file
* Fix flake8 warnings for shared.py and s2wasm.py
* Move test scripts from test/ to scripts/test/
* Replace 'from shared import *' with explicit imports
Diffstat (limited to 'scripts/test/__init__.py')
-rwxr-xr-x | scripts/test/__init__.py | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/scripts/test/__init__.py b/scripts/test/__init__.py new file mode 100755 index 000000000..8db5bb0bf --- /dev/null +++ b/scripts/test/__init__.py @@ -0,0 +1,17 @@ +#! /usr/bin/env python + +# Copyright 2015 WebAssembly Community Group participants +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# Empty __init__.py file: Python treats the directory as containing a package. |