From 92495065e8043e7b2e4d59659926596cda73c982 Mon Sep 17 00:00:00 2001 From: Andrew Schwartzmeyer Date: Wed, 13 Jul 2016 00:08:06 -0700 Subject: [PATCH] Guard Linux native build steps So that non-zero exit codes fail the build, and the tests are run verbosely. --- build.psm1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build.psm1 b/build.psm1 index 41021dde69..1599cce29b 100644 --- a/build.psm1 +++ b/build.psm1 @@ -201,9 +201,9 @@ function Start-PSBuild { try { Push-Location $Native - cmake -DCMAKE_BUILD_TYPE=Debug . - make -j - make test + Start-NativeExecution { cmake -DCMAKE_BUILD_TYPE=Debug . } + Start-NativeExecution { make -j } + Start-NativeExecution { ctest --verbose } } finally { Pop-Location }