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
125
125
126
126
cd " $DIST_TOOLCHAIN_DESTDIR "
127
127
tar 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"
34
34
35
35
$BUILD_SCRIPT
36
36
37
+ echo " Build script completed, will attempt to run test suites..."
38
+
37
39
if [[ " $( uname) " == " Darwin" ]]; then
38
40
# workaround: host target test directory is necessary to use run-test
39
41
mkdir -p $TARGET_BUILD_DIR /swift-macosx-x86_64/test-macosx-x86_64
42
+ HOST_PLATFORM=macosx
43
+ else
44
+ HOST_PLATFORM=linux
40
45
fi
41
46
42
47
if [[ " $( 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
44
50
echo " Skip running test suites for Linux"
45
51
else
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
48
54
49
55
# Run test but ignore failure temporarily
50
56
ninja check-swift-wasi-wasm32 -C $TARGET_BUILD_DIR /swift-$HOST_SUFFIX || true
51
57
fi
58
+
59
+ echo " The test suite has finished"
You can’t perform that action at this time.
0 commit comments