diff options
author | Mark Lobodzinski <mark@lunarg.com> | 2016-06-09 13:25:20 -0600 |
---|---|---|
committer | Mark Lobodzinski <mark@lunarg.com> | 2016-06-09 13:55:12 -0600 |
commit | 9bb255b9ffdafdabe8c9671e84102496eaca36a0 (patch) | |
tree | b56b41202f6eafd936b74197879674318ecac205 /tests/_run_all_tests.ps1 | |
parent | 9884e9579640cb6b989659f7c9095fd64dfeb0e0 (diff) | |
download | vulkan-validation-layers-9bb255b9ffdafdabe8c9671e84102496eaca36a0.tar.gz |
tests: Fix line-endings in powershell scripts
Change-Id: Ibf90d79a93cc0689e647942271d86faade0bb1ca
Diffstat (limited to 'tests/_run_all_tests.ps1')
-rwxr-xr-x | tests/_run_all_tests.ps1 | 70 |
1 files changed, 35 insertions, 35 deletions
diff --git a/tests/_run_all_tests.ps1 b/tests/_run_all_tests.ps1 index f0a5059a2..0dc014bf1 100755 --- a/tests/_run_all_tests.ps1 +++ b/tests/_run_all_tests.ps1 @@ -1,35 +1,35 @@ -# Be sure to run "Set-ExecutionPolicy RemoteSigned" before running powershell scripts
-
-# Use TestExceptions to filter out tests with known problems, separated by a colon
-# i.e. run_all_tests.ps1 -TestExceptions VkLayerTest.RequiredParameter:VkLayerTest.UnrecognizedValue
-
-# To trigger Debug tests, specify the parameter with a hyphen
-# i.e run_all_tests.ps1 -Debug
-
-Param(
- [switch]$Debug,
- [string]$TestExceptions
-)
-
-if ($Debug) {
- $dPath = "Debug"
-} else {
- $dPath = "Release"
-}
-
-Set-Item -path env:Path -value ($env:Path + ";..\loader\$dPath")
-Set-Item -path env:Path -value ($env:Path + ";gtest-1.7.0\$dPath")
-$env:VK_LAYER_PATH = "..\layers\$dPath"
-
-& $dPath\vk_loader_validation_tests
-if ($lastexitcode -ne 0) {
- exit 1
-}
-
-& $dPath\vk_layer_validation_tests --gtest_filter=-$TestExceptions
-if ($lastexitcode -ne 0) {
- exit 1
-}
-
-.\vkvalidatelayerdoc.ps1
-exit $lastexitcode
+# Be sure to run "Set-ExecutionPolicy RemoteSigned" before running powershell scripts + +# Use TestExceptions to filter out tests with known problems, separated by a colon +# i.e. run_all_tests.ps1 -TestExceptions VkLayerTest.RequiredParameter:VkLayerTest.UnrecognizedValue + +# To trigger Debug tests, specify the parameter with a hyphen +# i.e run_all_tests.ps1 -Debug + +Param( + [switch]$Debug, + [string]$TestExceptions +) + +if ($Debug) { + $dPath = "Debug" +} else { + $dPath = "Release" +} + +Set-Item -path env:Path -value ($env:Path + ";..\loader\$dPath") +Set-Item -path env:Path -value ($env:Path + ";gtest-1.7.0\$dPath") +$env:VK_LAYER_PATH = "..\layers\$dPath" + +& $dPath\vk_loader_validation_tests +if ($lastexitcode -ne 0) { + exit 1 +} + +& $dPath\vk_layer_validation_tests --gtest_filter=-$TestExceptions +if ($lastexitcode -ne 0) { + exit 1 +} + +.\vkvalidatelayerdoc.ps1 +exit $lastexitcode |