diff options
author | Alon Zakai <alonzakai@gmail.com> | 2016-01-18 19:37:21 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2016-01-18 19:37:21 -0800 |
commit | 0b0fecfabcfabd3002a7cbfbe772adf6b2709382 (patch) | |
tree | 4b1a20cfe32fe4c991783a5bd1d5b95ee235e452 | |
parent | bc02d17a59a5fa6387cc399b919e3e144f4b3a99 (diff) | |
download | binaryen-0b0fecfabcfabd3002a7cbfbe772adf6b2709382.tar.gz binaryen-0b0fecfabcfabd3002a7cbfbe772adf6b2709382.tar.bz2 binaryen-0b0fecfabcfabd3002a7cbfbe772adf6b2709382.zip |
fix check.py after recent movement of code
-rwxr-xr-x | check.py | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -35,6 +35,13 @@ for arg in sys.argv[1:]: else: requested.append(arg) +warnings = [] + +def warn(text): + global warnings + warnings.append(text) + print 'warning:', text + # setup BASE_DIR = os.path.abspath('test') @@ -129,13 +136,6 @@ if len(requested) == 0: else: tests = requested[:] -warnings = [] - -def warn(text): - global warnings - warnings.append(text) - print 'warning:', text - if not interpreter: warn('no interpreter provided (did not test spec interpreter validation)') if not has_node: |