File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -37,14 +37,18 @@ $BUILD_SCRIPT
3737if [[ " $( uname) " == " Darwin" ]]; then
3838 # workaround: host target test directory is necessary to use run-test
3939 mkdir -p $TARGET_BUILD_DIR /swift-macosx-x86_64/test-macosx-x86_64
40+ HOST_PLATFORM=macosx
41+ else
42+ HOST_PLATFORM=linux
4043fi
4144
4245if [[ " $( uname) " == " Linux" ]]; then
43- $RUN_TEST_BIN --build-dir $TARGET_BUILD_DIR --target wasi-wasm32 test/stdlib/
46+ $RUN_TEST_BIN --build-dir $TARGET_BUILD_DIR --target wasi-wasm32 \
47+ $TARGET_BUILD_DIR /swift-${HOST_PLATFORM} -x86_64/test-wasi-wasm32/stdlib
4448 echo " Skip running test suites for Linux"
4549else
46-
47- $RUN_TEST_BIN --build-dir $TARGET_BUILD_DIR --target wasi-wasm32 test /stdlib/
50+ $RUN_TEST_BIN --build-dir $TARGET_BUILD_DIR --target wasi-wasm32 \
51+ $TARGET_BUILD_DIR /swift- ${HOST_PLATFORM} -x86_64/test- wasi-wasm32/stdlib
4852
4953 # Run test but ignore failure temporarily
5054 ninja check-swift-wasi-wasm32 -C $TARGET_BUILD_DIR /swift-$HOST_SUFFIX || true
You can’t perform that action at this time.
0 commit comments