spack/share/spack/qa/windows_test_setup.ps1
John Parent 4aee27816e Windows Support: Testing Suite integration
Broaden support for execution of the test suite
on Windows.
General bug and review fixups
2022-03-17 09:01:01 -07:00

12 lines
271 B
PowerShell

Set-Location ../
$env:python_pf_ver="C:\hostedtoolcache\windows\Python\3.9.5\x64\python.exe"
cmd /c "`"spack\bin\spack_cmd.bat`" print " |
foreach {
if ($_ -match "=") {
$v = $_.split("=")
[Environment]::SetEnvironmentVariable($v[0], $v[1])
}
}