Skip to content

Commit

Permalink
Add crash handler.
Browse files Browse the repository at this point in the history
  • Loading branch information
wasabii committed Sep 15, 2023
1 parent a0adaf2 commit 4dff5ab
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/IKVM.yml
Original file line number Diff line number Diff line change
Expand Up @@ -595,14 +595,13 @@ jobs:
$tst = $run
}
# scan for test assemblies
$tests = $(gci .\tests\$tst\$tfm -Recurse -Filter '*.Tests.dll')
# if a query was specified, add to test command
# scan and process test assemblies
$tests = $(gi .\tests\$tst\$tfm\*.Tests.dll')
if ($tests) {
$argl = @(
"-f", $tfm,
"--blame",
"--blame-crash",
"--blame-hang",
"--blame-hang-timeout", "30m",
"-v", "2",
Expand All @@ -612,9 +611,9 @@ jobs:
"--collect", "'Code Coverage'"
)
$runst = $(gci .\tests\$tst\$tfm -Recurse -Filter '*.runsettings')
if ($runst) {
$argl += "--settings:$runst"
$runsettings = $(gi .\tests\$tst\$tfm\*.runsettings')
if ($runsettings) {
$argl += "--settings:$runsettings"
}
if ($qry -ne "" -and $qry -ne $null) {
Expand Down

0 comments on commit 4dff5ab

Please sign in to comment.