diff options
author | Marc Hoersken <info@marc-hoersken.de> | 2020-03-02 14:05:59 +0100 |
---|---|---|
committer | Marc Hoersken <info@marc-hoersken.de> | 2020-03-03 17:32:38 +0100 |
commit | 119ea453f9c9854feac09d86039334d6aeb40fcf (patch) | |
tree | f27e09cfcc4698199c248d7a491932286318df30 /tests/appveyor.pm | |
parent | 86ceb9b006457d6a261f1aed8197f57086297f47 (diff) |
ci/tests: Make it possible to still run but ignore failing tests
This enables the development of a solution for the failing tests by
running them on CI while ignoring their result for the overall status.
Closes #4994
Diffstat (limited to 'tests/appveyor.pm')
-rw-r--r-- | tests/appveyor.pm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/appveyor.pm b/tests/appveyor.pm index abfb18523..6ed83dd22 100644 --- a/tests/appveyor.pm +++ b/tests/appveyor.pm @@ -63,7 +63,11 @@ sub appveyor_update_test_result { my $appveyor_duration = sprintf("%.0f", ($stop-$start)*1000); my $appveyor_outcome; my $appveyor_category; - if($error < 0) { + if($error == 2) { + $appveyor_outcome = 'Ignored'; + $appveyor_category = 'Warning'; + } + elsif($error < 0) { $appveyor_outcome = 'NotRunnable'; $appveyor_category = 'Warning'; } |