android_mt6572_jiabo/external/vulkan-validation-layers/tests/_run_all_tests.ps1
2025-09-05 16:56:03 +08:00

16 lines
429 B
PowerShell
Executable file

# Be sure to run "Set-ExecutionPolicy RemoteSigned" before running powershell scripts
Param([switch]$Debug)
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_layer_validation_tests
.\vkvalidatelayerdoc.ps1