Skip to content

Commit

Permalink
Merge pull request #128 from lorentey/full-test-improvements
Browse files Browse the repository at this point in the history
[Utils] run-full-tests.sh: Add support for testing on Swift 5.3 without manual editing
  • Loading branch information
lorentey committed Nov 16, 2021
2 parents da3a73e + 9dde4b5 commit 1337897
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Utils/run-full-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,14 @@ if [ "$(uname)" = "Darwin" ]; then
else
swift="swift"
spm_flags="$spm_flags -j 1"

if $swift --version | grep 'Swift version 5\.3\.' > /dev/null; then
spm_flags="$spm_flags --enable-test-discovery"
fi
fi

echo "Build output logs are saved in $bold_on$build_dir$bold_off"
swift --version
$swift --version

_count=0
try() {
Expand Down

0 comments on commit 1337897

Please sign in to comment.