Skip npm step if node_modules already exists (#640)

See https://github.com/WebAssembly/waterfall/pull/670
This commit is contained in:
Sam Clegg
2021-03-09 16:56:27 -08:00
committed by GitHub
parent 1fe80678a9
commit d342821195
2 changed files with 10 additions and 2 deletions

View File

@@ -205,6 +205,10 @@ int main() {
# TODO; test on latest as well
check_call(upstream_emcc + ' hello_world.c')
def test_closure(self):
# Specificlly test with `--closure` so we know that node_modules is working
check_call(upstream_emcc + ' hello_world.c --closure=1')
def test_specific_old(self):
print('test specific release (old, using sdk-* notation)')
run_emsdk('install sdk-fastcomp-1.38.31-64bit')