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/azure.pm | |
parent | 86ceb9b006457d6a261f1aed8197f57086297f47 (diff) | |
download | curl-119ea453f9c9854feac09d86039334d6aeb40fcf.tar.gz |
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/azure.pm')
-rw-r--r-- | tests/azure.pm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/azure.pm b/tests/azure.pm index 2fc11ae21..94fe995d9 100644 --- a/tests/azure.pm +++ b/tests/azure.pm @@ -88,7 +88,10 @@ sub azure_update_test_result { my $azure_complete = strftime "%Y-%m-%dT%H:%M:%SZ", gmtime $stop; my $azure_duration = sprintf("%.0f", ($stop-$start)*1000); my $azure_outcome; - if($error < 0) { + if($error == 2) { + $azure_outcome = 'Not applicable'; + } + elsif($error < 0) { $azure_outcome = 'Not executed'; } elsif(!$error) { |