From a82528f17feba6b1c34794c645ea5c78892a57d0 Mon Sep 17 00:00:00 2001 From: Derek Schuff Date: Thu, 29 Sep 2016 12:55:52 -0700 Subject: 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). --- check.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'check.py') diff --git a/check.py b/check.py index b3966c7cc..2a1e0f36b 100755 --- a/check.py +++ b/check.py @@ -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' -- cgit v1.2.3