From 6e093e7deeb45e3135f796ed4fb8452d0059588b Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Tue, 2 Jan 2024 19:46:10 +0100 Subject: [PATCH] Update build-repo.ps1 --- scripts/build-repo.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/build-repo.ps1 b/scripts/build-repo.ps1 index cc9b53a4..66c5d4c8 100755 --- a/scripts/build-repo.ps1 +++ b/scripts/build-repo.ps1 @@ -35,8 +35,8 @@ function BuildInDir([string]$path) { & make -j4 if ($lastExitCode -ne "0") { throw "Executing 'make -j4' has failed" } - "⏳ (4/4) Executing 'make test' to perform tests (optional)..." - & make test + "⏳ (4/4) Executing 'ctest -V' to perform tests (optional)..." + & ctest -V if ($lastExitCode -ne "0") { throw "Executing 'make test' has failed" } } elseif (Test-Path "$path/configure" -pathType leaf) { @@ -139,7 +139,7 @@ try { $repoDirName = (Get-Item "$path").Name [int]$elapsed = $stopWatch.Elapsed.TotalSeconds - "✔️ Built 📂$repoDirName in $elapsed sec" + "✔️ Built repo 📂$repoDirName in $elapsed sec" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"