From c0d8b96f24daf842f87d726d3a9d144e1c0a5a6c Mon Sep 17 00:00:00 2001 From: Marc Hoersken Date: Tue, 3 Mar 2020 12:37:40 +0100 Subject: ci/tests: Send test results to AppVeyor for status overview Closes #5021 --- tests/runtests.pl | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'tests/runtests.pl') diff --git a/tests/runtests.pl b/tests/runtests.pl index bc25dfed3..131aef926 100755 --- a/tests/runtests.pl +++ b/tests/runtests.pl @@ -112,6 +112,7 @@ require "getpart.pm"; # array functions require "valgrind.pm"; # valgrind report parser require "ftp.pm"; require "azure.pm"; +require "appveyor.pm"; my $HOSTIP="127.0.0.1"; # address on which the test server listens my $HOST6IP="[::1]"; # address on which the test server listens @@ -3745,6 +3746,9 @@ sub singletest { if(azure_check_environment() && $AZURE_RUN_ID) { $AZURE_RESULT_ID = azure_create_test_result($AZURE_RUN_ID, $testnum, $testname); } + elsif(appveyor_check_environment()) { + appveyor_create_test_result($testnum, $testname); + } # timestamp starting of test command $timetoolini{$testnum} = Time::HiRes::time(); @@ -5543,6 +5547,9 @@ foreach $testnum (@at) { $AZURE_RESULT_ID = azure_update_test_result($AZURE_RUN_ID, $AZURE_RESULT_ID, $testnum, $error, $timeprepini{$testnum}, $timevrfyend{$testnum}); } + elsif(appveyor_check_environment()) { + appveyor_update_test_result($testnum, $error, $timeprepini{$testnum}, $timevrfyend{$testnum}); + } if($error < 0) { # not a test we can run -- cgit v1.2.3