Home | History | Annotate | Download | only in tests
      1 # Be sure to run "Set-ExecutionPolicy RemoteSigned" before running powershell scripts
      2 
      3 Param([switch]$Debug)
      4 
      5 if ($Debug) {
      6     $dPath = "Debug"
      7 } else {
      8     $dPath = "Release"
      9 }
     10 
     11 Set-Item -path env:Path -value ($env:Path + ";..\loader\$dPath")
     12 Set-Item -path env:Path -value ($env:Path + ";gtest-1.7.0\$dPath")
     13 $env:VK_LAYER_PATH = "..\layers\$dPath"
     14 
     15 & $dPath\vk_layer_validation_tests
     16 .\vkvalidatelayerdoc.ps1
     17