diff options
author | Marc Hoersken <info@marc-hoersken.de> | 2020-10-12 06:52:40 +0200 |
---|---|---|
committer | Marc Hoersken <info@marc-hoersken.de> | 2020-10-13 06:57:02 +0200 |
commit | 0a99281c214794cf013297075b49e29bde1de566 (patch) | |
tree | 92207098827fcba66db31281b0871de760f022b7 /tests/runtests.pl | |
parent | d707a9fa6477d6d1ac06b0e630b0970fe549adad (diff) | |
download | curl-0a99281c214794cf013297075b49e29bde1de566.tar.gz |
CI/tests: use verification curl for test reporting APIs
Avoid using our own, potentially installed, curl for
the test reporting APIs in case it is broken.
Reviewed-by: Daniel Stenberg
Preparation for #6049
Closes #6063
Diffstat (limited to 'tests/runtests.pl')
-rwxr-xr-x | tests/runtests.pl | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/runtests.pl b/tests/runtests.pl index 6fd5d52f5..cc66f31cf 100755 --- a/tests/runtests.pl +++ b/tests/runtests.pl @@ -3520,10 +3520,10 @@ sub singletest { # create test result in CI services if(azure_check_environment() && $AZURE_RUN_ID) { - $AZURE_RESULT_ID = azure_create_test_result($AZURE_RUN_ID, $testnum, $testname); + $AZURE_RESULT_ID = azure_create_test_result($VCURL, $AZURE_RUN_ID, $testnum, $testname); } elsif(appveyor_check_environment()) { - appveyor_create_test_result($testnum, $testname); + appveyor_create_test_result($VCURL, $testnum, $testname); } # remove test server commands file before servers are started/verified @@ -5683,7 +5683,7 @@ sub displaylogs { # if(azure_check_environment()) { - $AZURE_RUN_ID = azure_create_test_run(); + $AZURE_RUN_ID = azure_create_test_run($VCURL); logmsg "Azure Run ID: $AZURE_RUN_ID\n" if ($verbose); } @@ -5711,11 +5711,11 @@ foreach $testnum (@at) { # update test result in CI services if(azure_check_environment() && $AZURE_RUN_ID && $AZURE_RESULT_ID) { - $AZURE_RESULT_ID = azure_update_test_result($AZURE_RUN_ID, $AZURE_RESULT_ID, $testnum, $error, + $AZURE_RESULT_ID = azure_update_test_result($VCURL, $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}); + appveyor_update_test_result($VCURL, $testnum, $error, $timeprepini{$testnum}, $timevrfyend{$testnum}); } if($error < 0) { @@ -5760,7 +5760,7 @@ my $sofar = time() - $start; # if(azure_check_environment() && $AZURE_RUN_ID) { - $AZURE_RUN_ID = azure_update_test_run($AZURE_RUN_ID); + $AZURE_RUN_ID = azure_update_test_run($VCURL, $AZURE_RUN_ID); } # Tests done, stop the servers |