From 2c086de21e23d29a21e3ae8e194e04e2a96dcf94 Mon Sep 17 00:00:00 2001 From: Sam Clegg Date: Fri, 29 Jan 2021 16:25:24 -0800 Subject: [PATCH] Remove redundant testing/downloading (#695) We have mac linux and windows bots that run this script on each of those platforms. This script already runs `install latest` so there is no need to re-download these three different archives on each platform. --- scripts/test.py | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/scripts/test.py b/scripts/test.py index c38de83..456a134 100755 --- a/scripts/test.py +++ b/scripts/test.py @@ -227,14 +227,3 @@ os.chdir(temp_dir) run_emsdk('update') print('second time') run_emsdk('update') - -print('verify downloads exist for all OSes') -latest_hash = TAGS['releases'][TAGS['latest']] -for osname, suffix in [ - ('linux', 'tbz2'), - ('mac', 'tbz2'), - ('win', 'zip') -]: - url = 'https://storage.googleapis.com/webassembly/emscripten-releases-builds/%s/%s/wasm-binaries.%s' % (osname, latest_hash, suffix) - print(' checking url: ' + url), - check_call('curl --fail --head --silent ' + url, stdout=subprocess.PIPE)