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 @@ -30,14 +30,18 @@ $BUILD_SCRIPT $FLAGS
3030if [[ " $( uname) " == " Darwin" ]]; then
3131 # workaround: host target test directory is necessary to use run-test
3232 mkdir -p $TARGET_BUILD_DIR /swift-macosx-x86_64/test-macosx-x86_64
33+ HOST_PLATFORM=macosx
34+ else
35+ HOST_PLATFORM=linux
3336fi
3437
3538if [[ " $( uname) " == " Linux" ]]; then
36- $RUN_TEST_BIN --build-dir $TARGET_BUILD_DIR --target wasi-wasm32 test/stdlib/
39+ $RUN_TEST_BIN --build-dir $TARGET_BUILD_DIR --target wasi-wasm32 \
40+ $TARGET_BUILD_DIR /swift-${HOST_PLATFORM} -x86_64/test-wasi-wasm32/stdlib
3741 echo " Skip running test suites for Linux"
3842else
39-
40- $RUN_TEST_BIN --build-dir $TARGET_BUILD_DIR --target wasi-wasm32 test /stdlib/
43+ $RUN_TEST_BIN --build-dir $TARGET_BUILD_DIR --target wasi-wasm32 \
44+ $TARGET_BUILD_DIR /swift- ${HOST_PLATFORM} -x86_64/test- wasi-wasm32/stdlib
4145
4246 # Run test but ignore failure temporarily
4347 $BUILD_SCRIPT $FLAGS -t || true
You can’t perform that action at this time.
0 commit comments