minor fix

This commit is contained in:
YOCKOW 2017-09-04 16:57:50 +09:00
parent f1614025ea
commit d0007005ad
1 changed files with 2 additions and 1 deletions

View File

@ -223,13 +223,14 @@ end
# Test
if !Options[:skip_test]
puts("[Start Testing...]")
if !Options[:debug]
$stderr.puts("** WARNING ** No tests will be executed when `release` mode is specified.\n")
else
puts("[Start Testing...]")
try_exec(["swift test --build-path #{Options[:build_directory].escaped()}",
"--configuration #{configuration}"].join(" "), 2)
end
puts()
end
# Install