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
37
37
if [[ " $( uname) " == " Darwin" ]]; then
38
38
# workaround: host target test directory is necessary to use run-test
39
39
mkdir -p $TARGET_BUILD_DIR /swift-macosx-x86_64/test-macosx-x86_64
40
+ HOST_PLATFORM=macosx
41
+ else
42
+ HOST_PLATFORM=linux
40
43
fi
41
44
42
45
if [[ " $( 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
44
48
echo " Skip running test suites for Linux"
45
49
else
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
48
52
49
53
# Run test but ignore failure temporarily
50
54
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