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 @@ -131,3 +131,4 @@ merge_toolchains
131131
132132cd $DIST_TOOLCHAIN_DESTDIR
133133tar cfz $PACKAGE_ARTIFACT $TOOLCHAIN_NAME
134+ echo " Toolchain archive created successfully!"
Original file line number Diff line number Diff line change @@ -27,18 +27,26 @@ FLAGS="--release $CACHE_FLAGS --verbose"
2727
2828$BUILD_SCRIPT $FLAGS
2929
30+ echo " Build script completed, will attempt to run test suites..."
31+
3032if [[ " $( uname) " == " Darwin" ]]; then
3133 # workaround: host target test directory is necessary to use run-test
3234 mkdir -p $TARGET_BUILD_DIR /swift-macosx-x86_64/test-macosx-x86_64
35+ HOST_PLATFORM=macosx
36+ else
37+ HOST_PLATFORM=linux
3338fi
3439
3540if [[ " $( uname) " == " Linux" ]]; then
36- $RUN_TEST_BIN --build-dir $TARGET_BUILD_DIR --target wasi-wasm32 test/stdlib/
41+ $RUN_TEST_BIN --build-dir $TARGET_BUILD_DIR --target wasi-wasm32 \
42+ $TARGET_BUILD_DIR /swift-${HOST_PLATFORM} -x86_64/test-wasi-wasm32/stdlib
3743 echo " Skip running test suites for Linux"
3844else
39-
40- $RUN_TEST_BIN --build-dir $TARGET_BUILD_DIR --target wasi-wasm32 test /stdlib/
45+ $RUN_TEST_BIN --build-dir $TARGET_BUILD_DIR --target wasi-wasm32 \
46+ $TARGET_BUILD_DIR /swift- ${HOST_PLATFORM} -x86_64/test- wasi-wasm32/stdlib
4147
4248 # Run test but ignore failure temporarily
4349 $BUILD_SCRIPT $FLAGS -t || true
4450fi
51+
52+ echo " The test suite has finished"
You can’t perform that action at this time.
0 commit comments