diff options
author | Sam Clegg <sbc@chromium.org> | 2018-05-25 16:37:09 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-25 16:37:09 -0700 |
commit | a8104784ffad6cac4389bba67c59db3e29fb235b (patch) | |
tree | 56348da36008b086cea4310f49be9b98c15bd817 /scripts/test/__init__.py | |
parent | 1b691e57f6377d3816bd213d4d16341773b82cb5 (diff) | |
download | binaryen-a8104784ffad6cac4389bba67c59db3e29fb235b.tar.gz binaryen-a8104784ffad6cac4389bba67c59db3e29fb235b.tar.bz2 binaryen-a8104784ffad6cac4389bba67c59db3e29fb235b.zip |
Cleanup scripts in scripts/test (#1566)
Remove executable bit and #! from scripts that don't have
entry point.
Add missing licence test.
Move arg parsing into a function.
Remove legacy --only_prepare (with underscrore) argument.
Diffstat (limited to 'scripts/test/__init__.py')
-rw-r--r--[-rwxr-xr-x] | scripts/test/__init__.py | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/scripts/test/__init__.py b/scripts/test/__init__.py index 8db5bb0bf..9368ee645 100755..100644 --- a/scripts/test/__init__.py +++ b/scripts/test/__init__.py @@ -1,17 +1,15 @@ -#! /usr/bin/env python - -# Copyright 2015 WebAssembly Community Group participants +# 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 +# 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 +# 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. +# 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. |