[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnurl] 126/264: appveyor: show failed tests in log even if test is igno
From: |
gnunet |
Subject: |
[gnurl] 126/264: appveyor: show failed tests in log even if test is ignored |
Date: |
Thu, 30 Apr 2020 16:07:09 +0200 |
This is an automated email from the git hooks/post-receive script.
nikita pushed a commit to branch master
in repository gnurl.
commit 4ba6ba2d941c621c80a3b84a8db7da7253f8a86d
Author: Marc Hoersken <address@hidden>
AuthorDate: Fri Mar 6 21:41:06 2020 +0100
appveyor: show failed tests in log even if test is ignored
And print API response with newline only if there is one
---
tests/appveyor.pm | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/tests/appveyor.pm b/tests/appveyor.pm
index 4906d2c8c..64b2ab3ba 100644
--- a/tests/appveyor.pm
+++ b/tests/appveyor.pm
@@ -50,7 +50,7 @@ sub appveyor_create_test_result {
}
" \\
"$appveyor_baseurl/api/tests"`;
- print $appveyor_result;
+ print "AppVeyor API result: $appveyor_result\n" if ($appveyor_result);
$APPVEYOR_TEST_NAMES{$testnum}=$testname;
}
@@ -68,7 +68,7 @@ sub appveyor_update_test_result {
my $appveyor_category;
if($error == 2) {
$appveyor_outcome = 'Ignored';
- $appveyor_category = 'Warning';
+ $appveyor_category = 'Error';
}
elsif($error < 0) {
$appveyor_outcome = 'NotRunnable';
@@ -91,23 +91,24 @@ sub appveyor_update_test_result {
'testFramework': 'runtests.pl',
'fileName': 'tests/data/test$testnum',
'outcome': '$appveyor_outcome',
- 'durationMilliseconds': $appveyor_duration
+ 'durationMilliseconds': $appveyor_duration,
+ 'ErrorMessage': 'Test $testnum $appveyor_outcome'
}
" \\
"$appveyor_baseurl/api/tests"`;
- print $appveyor_result;
+ print "AppVeyor API result: $appveyor_result\n" if ($appveyor_result);
if($appveyor_category eq 'Error') {
$appveyor_result=`curl --silent --noproxy "*" \\
--header "Content-Type: application/json" \\
--data "
{
- 'message': '$testname $appveyor_outcome',
+ 'message': '$appveyor_outcome: $testname',
'category': '$appveyor_category',
'details': 'Test $testnum $appveyor_outcome'
}
" \\
"$appveyor_baseurl/api/build/messages"`;
- print $appveyor_result;
+ print "AppVeyor API result: $appveyor_result\n" if ($appveyor_result);
}
}
--
To stop receiving notification emails like this one, please contact
address@hidden.
- [gnurl] 89/264: TODO: Set custom client ip when using haproxy protocol, (continued)
- [gnurl] 89/264: TODO: Set custom client ip when using haproxy protocol, gnunet, 2020/04/30
- [gnurl] 91/264: KNOWN_BUGS: "FTPS needs session reuse", gnunet, 2020/04/30
- [gnurl] 178/264: version: increase buffer space for ssl version output, gnunet, 2020/04/30
- [gnurl] 228/264: lib: fix typos in comments and errormessages, gnunet, 2020/04/30
- [gnurl] 37/264: test 970: verify --write-out '%{json}', gnunet, 2020/04/30
- [gnurl] 67/264: Revert "cirrus-ci: disable the FreeBSD 13 builds", gnunet, 2020/04/30
- [gnurl] 95/264: test1177: verify that all the CURL_VERSION_ bits are documented, gnunet, 2020/04/30
- [gnurl] 116/264: sockfilt: fix race-condition of waiting threads and event handling, gnunet, 2020/04/30
- [gnurl] 128/264: appveyor: use random test server ports based upon APPVEYOR_API_URL, gnunet, 2020/04/30
- [gnurl] 115/264: CI-fuzz: increase fuzz time to 40 minutes, gnunet, 2020/04/30
- [gnurl] 126/264: appveyor: show failed tests in log even if test is ignored,
gnunet <=
- [gnurl] 101/264: checksrc: warn on obvious conditional blocks on the same line as if(), gnunet, 2020/04/30
- [gnurl] 133/264: scripts/release-notes.pl: add helper script for RELEASE-NOTES maintenance, gnunet, 2020/04/30
- [gnurl] 132/264: configure: don't check for Security.framework when cross-compiling, gnunet, 2020/04/30
- [gnurl] 74/264: copyright: fix out-of-date copyright ranges and missing headers, gnunet, 2020/04/30
- [gnurl] 39/264: windows: suppress UI in all CryptAcquireContext() calls, gnunet, 2020/04/30
- [gnurl] 53/264: mbedtls: remove the BACKEND define kludge, gnunet, 2020/04/30
- [gnurl] 61/264: curl_setup: define _WIN32_WINNT_[OS] symbols, gnunet, 2020/04/30
- [gnurl] 55/264: test970: fix static ip:port instead of dynamic values being used, gnunet, 2020/04/30
- [gnurl] 84/264: SSLCERTS.md: Fix example code for setting CA cert file, gnunet, 2020/04/30
- [gnurl] 88/264: writeout_json: Fix data type issues, gnunet, 2020/04/30