-
Notifications
You must be signed in to change notification settings - Fork 52
Expand file tree
/
Copy pathtest-parsers.ps1
More file actions
27 lines (26 loc) · 1008 Bytes
/
Copy pathtest-parsers.ps1
File metadata and controls
27 lines (26 loc) · 1008 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/usr/bin/env pwsh
Try {
$parsers = @(
"SepParserAdvSimdLoad4xNrwCmpOrBulkMoveMaskTzcnt",
"SepParserAdvSimdNrwCmpOrBulkMoveMaskTzcnt",
"SepParserAvx512To256CmpOrMoveMaskTzcnt",
"SepParserAvx512PackCmpOrMoveMaskTzcnt",
"SepParserAvx2PackCmpOrMoveMaskTzcnt",
"SepParserAvx256To128CmpOrMoveMaskTzcnt",
"SepParserSse2PackCmpOrMoveMaskTzcnt",
"SepParserVector512NrwCmpExtMsbTzcnt",
"SepParserVector256NrwCmpExtMsbTzcnt",
"SepParserVector128NrwCmpExtMsbTzcnt",
"SepParserVector64NrwCmpExtMsbTzcnt",
"SepParserIndexOfAny"
)
foreach ($parser in $parsers) {
$env:SEPFORCEPARSER=$parser
Write-Output "Testing $parser Debug"
dotnet test .\src\Sep.Test\Sep.Test.csproj --nologo -c Debug -- /Parallel
Write-Output "Testing $parser Release"
dotnet test .\src\Sep.Test\Sep.Test.csproj --nologo -c Release -- /Parallel
}
} Finally {
Remove-Item env:SEPFORCEPARSER
}