File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -9,9 +9,11 @@ UTILS_PATH=$SWIFT_PATH/utils/webassembly
99case $( uname -s) in
1010 Darwin)
1111 DEPENDENCIES_SCRIPT=$UTILS_PATH /macos/install-dependencies.sh
12+ HOST_SUFFIX=macosx-x86_64
1213 ;;
1314 Linux)
1415 DEPENDENCIES_SCRIPT=$UTILS_PATH /linux/install-dependencies.sh
16+ HOST_SUFFIX=linux-x86_64
1517 ;;
1618 * )
1719 echo " Unrecognised platform $( uname -s) "
@@ -34,10 +36,8 @@ $BUILD_SCRIPT
3436
3537echo " Build script completed, will attempt to run test suites..."
3638
37- if [[ " $( uname) " == " Darwin" ]]; then
38- # workaround: host target test directory is necessary to use run-test
39- mkdir -p " $TARGET_STDLIB_BUILD_DIR /test-macosx-x86_64"
40- fi
39+ # workaround: host target test directory is necessary to use run-test
40+ mkdir -p " $TARGET_STDLIB_BUILD_DIR /test-$HOST_SUFFIX "
4141
4242# Run tests
4343$RUN_TEST_BIN --build-dir " $TARGET_STDLIB_BUILD_DIR " --target wasi-wasm32 \
You can’t perform that action at this time.
0 commit comments