From a8104784ffad6cac4389bba67c59db3e29fb235b Mon Sep 17 00:00:00 2001
From: Sam Clegg <sbc@chromium.org>
Date: Fri, 25 May 2018 16:37:09 -0700
Subject: 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.
---
 scripts/test/wasm2asm.py | 16 +++++++++++++++-
 1 file changed, 15 insertions(+), 1 deletion(-)

(limited to 'scripts/test/wasm2asm.py')

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
 
-- 
cgit v1.2.3