diff options
author | Marc Hoersken <info@marc-hoersken.de> | 2020-03-03 12:37:40 +0100 |
---|---|---|
committer | Marc Hoersken <info@marc-hoersken.de> | 2020-03-03 15:59:59 +0100 |
commit | c0d8b96f24daf842f87d726d3a9d144e1c0a5a6c (patch) | |
tree | bf56ec3ff8e90fce4ffc0abcdc9aa1cbffadd507 /tests/runtests.pl | |
parent | b572e0be59d2e36b015166897467d0b7284746a8 (diff) | |
download | gnurl-c0d8b96f24daf842f87d726d3a9d144e1c0a5a6c.tar.gz gnurl-c0d8b96f24daf842f87d726d3a9d144e1c0a5a6c.tar.bz2 gnurl-c0d8b96f24daf842f87d726d3a9d144e1c0a5a6c.zip |
ci/tests: Send test results to AppVeyor for status overview
Closes #5021
Diffstat (limited to 'tests/runtests.pl')
-rwxr-xr-x | tests/runtests.pl | 7 |
1 files changed, 7 insertions, 0 deletions
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 |