Skip to content

Commit 0952114

Browse files
authored
Merge pull request #1910 from swiftwasm/swiftwasm-release/5.3-linux-tests
Re-enable all Wasm stdlib tests on Linux for 5.3
2 parents ddea9eb + fb77480 commit 0952114

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

test/lit.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1415,7 +1415,7 @@ elif run_os == 'wasi':
14151415
config.swift_test_options, config.swift_frontend_test_options)
14161416
subst_target_swift_frontend_mock_sdk = config.target_swift_frontend
14171417
subst_target_swift_frontend_mock_sdk_after = ""
1418-
config.target_run = 'wasmer run --backend cranelift --'
1418+
config.target_run = 'wasmer run --singlepass --'
14191419
if 'interpret' in lit_config.params:
14201420
use_interpreter_for_simple_runs()
14211421
config.target_sil_opt = (

utils/webassembly/ci.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ if [[ "$(uname)" == "Darwin" ]]; then
3333
fi
3434

3535
if [[ "$(uname)" == "Linux" ]]; then
36-
$RUN_TEST_BIN --build-dir $TARGET_BUILD_DIR --target wasi-wasm32 test/stdlib/ || true
36+
$RUN_TEST_BIN --build-dir $TARGET_BUILD_DIR --target wasi-wasm32 test/stdlib/
3737
echo "Skip running test suites for Linux"
3838
else
3939

utils/webassembly/macos/install-dependencies.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,13 @@
33
set -ex
44

55
brew uninstall $(brew list | grep python@2)
6-
brew install cmake ninja llvm sccache wasmer
6+
brew install cmake ninja llvm sccache
7+
8+
# Install latest wasmer
9+
10+
if [ ! -e ~/.wasmer/bin/wasmer ]; then
11+
curl https://get.wasmer.io -sSfL | sh
12+
fi
713

814
SOURCE_PATH="$( cd "$(dirname $0)/../../../../" && pwd )"
915
SWIFT_PATH=$SOURCE_PATH/swift

0 commit comments

Comments
 (0)