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
131
131
132
132
cd $DIST_TOOLCHAIN_DESTDIR
133
133
tar 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"
27
27
28
28
$BUILD_SCRIPT $FLAGS
29
29
30
+ echo " Build script completed, will attempt to run test suites..."
31
+
30
32
if [[ " $( uname) " == " Darwin" ]]; then
31
33
# workaround: host target test directory is necessary to use run-test
32
34
mkdir -p $TARGET_BUILD_DIR /swift-macosx-x86_64/test-macosx-x86_64
35
+ HOST_PLATFORM=macosx
36
+ else
37
+ HOST_PLATFORM=linux
33
38
fi
34
39
35
40
if [[ " $( 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
37
43
echo " Skip running test suites for Linux"
38
44
else
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
41
47
42
48
# Run test but ignore failure temporarily
43
49
$BUILD_SCRIPT $FLAGS -t || true
44
50
fi
51
+
52
+ echo " The test suite has finished"
You can’t perform that action at this time.
0 commit comments