fix old tests (#283)
The tests for older versions had some copy-paste stuff, that meant we didn't fully test activating them.
This commit is contained in:
4
test.py
4
test.py
@@ -74,11 +74,11 @@ check_call('fastcomp/emscripten/emcc hello_world.cpp')
|
||||
|
||||
print('test specific release (old)')
|
||||
check_call('./emsdk install sdk-1.38.31-64bit')
|
||||
check_call('./emsdk activate tot-fastcomp')
|
||||
check_call('./emsdk activate sdk-1.38.31-64bit')
|
||||
|
||||
print('test specific release (new, short name)')
|
||||
check_call('./emsdk install 1.38.33')
|
||||
check_call('./emsdk activate tot-fastcomp')
|
||||
check_call('./emsdk activate 1.38.33')
|
||||
assert 'fastcomp' in open(os.path.expanduser('~/.emscripten')).read()
|
||||
assert 'upstream' not in open(os.path.expanduser('~/.emscripten')).read()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user