File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed
Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -63,18 +63,16 @@ jobs:
6363 foreach ($testFile in $testFiles) {
6464 Write-Output "Running test: $($testFile.FullName)"
6565
66- # Run Simba-Win32.exe
67- $output32 = .\Simba-Win32.exe --run $testFile.FullName
68- Write-Output $output32
69- if (-not ($output32 -match "Successfully executed")) {
66+ $output = .\Simba-Win32.exe --run $testFile.FullName
67+ Write-Output $output
68+ if (-not ($output -match "Successfully executed in \d+ milliseconds\.")) {
7069 Write-Output "::error::Simba-Win32.exe failed on $($testFile.Name)."
7170 exit 1
7271 }
7372
74- # Run Simba-Win64.exe
75- $output64 = .\Simba-Win64.exe --run $testFile.FullName
76- Write-Output $output64
77- if (-not ($output64 -match "Successfully executed")) {
73+ $output = .\Simba-Win64.exe --run $testFile.FullName
74+ Write-Output $output
75+ if (-not ($output -match "Successfully executed in \d+ milliseconds\.")) {
7876 Write-Output "::error::Simba-Win64.exe failed on $($testFile.Name)."
7977 exit 1
8078 }
You can’t perform that action at this time.
0 commit comments