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/wasm2asm.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/wasm2asm.py')
-rwxr-xr-x | scripts/test/wasm2asm.py | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/scripts/test/wasm2asm.py b/scripts/test/wasm2asm.py index d186cff4c..41fdaf9b7 100755 --- a/scripts/test/wasm2asm.py +++ b/scripts/test/wasm2asm.py @@ -1,4 +1,18 @@ -#!/usr/bin/env python2 +#!/usr/bin/env python +# +# Copyright 2016 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. import os |