From 119ea453f9c9854feac09d86039334d6aeb40fcf Mon Sep 17 00:00:00 2001 From: Marc Hoersken Date: Mon, 2 Mar 2020 14:05:59 +0100 Subject: 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 --- tests/azure.pm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'tests/azure.pm') 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) { -- cgit v1.2.3