From 2429641367d61529390f1c4b5257072f1a9c8594 Mon Sep 17 00:00:00 2001 From: Cody Northrop Date: Wed, 25 May 2016 01:38:50 -0600 Subject: [PATCH] windows: Return exit status from test script --- tests/_run_all_tests.ps1 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/_run_all_tests.ps1 b/tests/_run_all_tests.ps1 index cb3acbac..2eb0a70e 100755 --- a/tests/_run_all_tests.ps1 +++ b/tests/_run_all_tests.ps1 @@ -13,4 +13,8 @@ Set-Item -path env:Path -value ($env:Path + ";gtest-1.7.0\$dPath") $env:VK_LAYER_PATH = "..\layers\$dPath" & $dPath\vk_layer_validation_tests +if ($lastexitcode -ne 0) { + exit 1 +} .\vkvalidatelayerdoc.ps1 +exit $lastexitcode \ No newline at end of file