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
30
30
if [[ " $( uname) " == " Darwin" ]]; then
31
31
# workaround: host target test directory is necessary to use run-test
32
32
mkdir -p $TARGET_BUILD_DIR /swift-macosx-x86_64/test-macosx-x86_64
33
+ HOST_PLATFORM=macosx
34
+ else
35
+ HOST_PLATFORM=linux
33
36
fi
34
37
35
38
if [[ " $( 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
37
41
echo " Skip running test suites for Linux"
38
42
else
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
41
45
42
46
# Run test but ignore failure temporarily
43
47
$BUILD_SCRIPT $FLAGS -t || true
You can’t perform that action at this time.
0 commit comments