diff options
author | Derek Schuff <dschuff@chromium.org> | 2016-09-29 12:55:52 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-29 12:55:52 -0700 |
commit | a82528f17feba6b1c34794c645ea5c78892a57d0 (patch) | |
tree | 312d95fe4489e56a2d244aecd081d2724a3a4aca /check.py | |
parent | 2234cc7374797d188761916f6b1e82ce9ade1fa3 (diff) | |
download | binaryen-a82528f17feba6b1c34794c645ea5c78892a57d0.tar.gz binaryen-a82528f17feba6b1c34794c645ea5c78892a57d0.tar.bz2 binaryen-a82528f17feba6b1c34794c645ea5c78892a57d0.zip |
Update waterfall to 11453 and re-enable torture tests (#721)
Torture tests from the clang were disabled with the first 0xc
udpate. This PR updates the tests to a new waterfall build and turns
them on (also updating the known failures for 0xc). It also updates the
download URL since mac and windows bots have been added to the
waterfall (they are not up yet and support in this script is not tested
yet).
Diffstat (limited to 'check.py')
-rwxr-xr-x | check.py | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -55,6 +55,10 @@ os.environ['BINARYEN'] = os.getcwd() def fetch_waterfall(): rev = open(os.path.join('test', 'revision')).read().strip() + buildername = { 'linux2':'linux', + 'darwin':'mac', + 'win32':'windows', + 'cygwin':'windows' }[sys.platform] try: local_rev = open(os.path.join('test', 'local-revision')).read().strip() except: @@ -62,7 +66,7 @@ def fetch_waterfall(): if local_rev == rev: return # fetch it basename = 'wasm-binaries-' + rev + '.tbz2' - url = 'https://storage.googleapis.com/wasm-llvm/builds/git/' + basename + url = '/'.join(['https://storage.googleapis.com/wasm-llvm/builds', buildername, rev, basename]) print '(downloading waterfall %s: %s)' % (rev, url) downloaded = urllib2.urlopen(url).read().strip() fullname = os.path.join('test', basename) @@ -541,7 +545,7 @@ run_command(cmd, expected_status=1) cmd = [wasm_as, '--validate=none', os.path.join('test', 'validator', 'invalid_return.wast')] run_command(cmd) -if torture and 0: +if torture: print '\n[ checking torture testcases... ]\n' |