File tree Expand file tree Collapse file tree 2 files changed +12
-3
lines changed
Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -125,3 +125,4 @@ merge_toolchains
125125
126126cd " $DIST_TOOLCHAIN_DESTDIR "
127127tar cfz " $PACKAGE_ARTIFACT " " $TOOLCHAIN_NAME "
128+ echo " Toolchain archive created successfully!"
Original file line number Diff line number Diff line change @@ -34,18 +34,26 @@ export SCCACHE_DIR="$SOURCE_PATH/build-cache"
3434
3535$BUILD_SCRIPT
3636
37+ echo " Build script completed, will attempt to run test suites..."
38+
3739if [[ " $( uname) " == " Darwin" ]]; then
3840 # workaround: host target test directory is necessary to use run-test
3941 mkdir -p $TARGET_BUILD_DIR /swift-macosx-x86_64/test-macosx-x86_64
42+ HOST_PLATFORM=macosx
43+ else
44+ HOST_PLATFORM=linux
4045fi
4146
4247if [[ " $( uname) " == " Linux" ]]; then
43- $RUN_TEST_BIN --build-dir $TARGET_BUILD_DIR --target wasi-wasm32 test/stdlib/
48+ $RUN_TEST_BIN --build-dir $TARGET_BUILD_DIR --target wasi-wasm32 \
49+ $TARGET_BUILD_DIR /swift-${HOST_PLATFORM} -x86_64/test-wasi-wasm32/stdlib
4450 echo " Skip running test suites for Linux"
4551else
46-
47- $RUN_TEST_BIN --build-dir $TARGET_BUILD_DIR --target wasi-wasm32 test /stdlib/
52+ $RUN_TEST_BIN --build-dir $TARGET_BUILD_DIR --target wasi-wasm32 \
53+ $TARGET_BUILD_DIR /swift- ${HOST_PLATFORM} -x86_64/test- wasi-wasm32/stdlib
4854
4955 # Run test but ignore failure temporarily
5056 ninja check-swift-wasi-wasm32 -C $TARGET_BUILD_DIR /swift-$HOST_SUFFIX || true
5157fi
58+
59+ echo " The test suite has finished"
You can’t perform that action at this time.
0 commit comments