gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnurl] 105/411: CI/azure: add test number to title for display in analy


From: gnunet
Subject: [gnurl] 105/411: CI/azure: add test number to title for display in analytics
Date: Wed, 13 Jan 2021 01:18:40 +0100

This is an automated email from the git hooks/post-receive script.

nikita pushed a commit to branch master
in repository gnurl.

commit e089704a0f168f44231e82a7c0d01ac4da81b953
Author: Marc Hoersken <info@marc-hoersken.de>
AuthorDate: Sun Sep 6 21:27:41 2020 +0200

    CI/azure: add test number to title for display in analytics
    
    To ease identification of tests the test number is added to
    the test case title in order to have it on the Azure DevOps
    Analytics pages and reports which currently do not show it.
    
    Bump test case revision to make Azure DevOps update titles.
    
    Closes #5927
---
 tests/azure.pm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/tests/azure.pm b/tests/azure.pm
index 004c3d309..ffcd165f2 100644
--- a/tests/azure.pm
+++ b/tests/azure.pm
@@ -60,6 +60,7 @@ sub azure_create_test_result {
     $testname =~ s/\\/\\\\/g;
     $testname =~ s/\'/\\\'/g;
     $testname =~ s/\"/\\\"/g;
+    my $title_testnum=sprintf("%04d", $testnum);
     my 
$azure_baseurl="$ENV{'SYSTEM_TEAMFOUNDATIONCOLLECTIONURI'}$ENV{'SYSTEM_TEAMPROJECTID'}";
     my $azure_result=`curl --silent --noproxy "*" \\
     --header "Authorization: Bearer $ENV{'AZURE_ACCESS_TOKEN'}" \\
@@ -69,7 +70,8 @@ sub azure_create_test_result {
             {
                 'build': {'id': '$ENV{'BUILD_BUILDID'}'},
                 'testCase': {'id': $testnum},
-                'testCaseTitle': '$testname',
+                'testCaseTitle': '$title_testnum: $testname',
+                'testCaseRevision': 2,
                 'automatedTestName': 'curl.tests.$testnum',
                 'outcome': 'InProgress'
             }

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]