• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 # VK_DRIVER_FILES environment variable is not used when running with
2 # elevated privileges. Add a key to the registry instead.
3 $hkey_path = "HKLM:\SOFTWARE\Khronos\Vulkan\Drivers\"
4 $hkey_name = Join-Path -Path $pwd -ChildPath "_install\share\vulkan\icd.d\dzn_icd.x86_64.json"
5 New-Item -Path $hkey_path -force
6 New-ItemProperty -Path $hkey_path -Name $hkey_name -Value 0 -PropertyType DWORD
7 
8 $results = New-Item -ItemType Directory results
9 $baseline = ".\_install\warp-fails.txt"
10 $suite = ".\_install\deqp-dozen.toml"
11 
12 $jobs = ""
13 if ($null -ne $env:FDO_CI_CONCURRENT) {
14   $jobs = "--jobs", "$($env:FDO_CI_CONCURRENT)"
15 }
16 if ($env:DEQP_FRACTION -eq $null) {
17   $env:DEQP_FRACTION = 1
18 }
19 
20 $env:DZN_DEBUG = "warp"
21 $env:MESA_VK_IGNORE_CONFORMANCE_WARNING = "true"
22 deqp-runner suite --suite $($suite) `
23 --output $($results) `
24 --baseline $($baseline) `
25 --testlog-to-xml C:\deqp\executor\testlog-to-xml.exe `
26 --fraction $env:DEQP_FRACTION `
27 $jobs
28 $deqpstatus = $?
29 
30 $template = "See $($env:ARTIFACTS_BASE_URL)/results/{{testcase}}.xml"
31 deqp-runner junit --testsuite dEQP --results "$($results)/failures.csv" --output "$($results)/junit.xml" --limit 50 --template $template
32 Copy-Item -Path "C:\deqp\testlog.css" -Destination $($results)
33 Copy-Item -Path "C:\deqp\testlog.xsl" -Destination $($results)
34 Remove-Item -Path "$($results)/*.shader_cache"
35 
36 if (!$deqpstatus) {
37     Exit 1
38 }
39