[ARVADOS] created: 1.2.0-279-ga01770a76

Git user git at public.curoverse.com
Fri Nov 2 14:11:10 EDT 2018


        at  a01770a765230f350205ce173f34a135a0fd535c (commit)


commit a01770a765230f350205ce173f34a135a0fd535c
Author: Fernando Monserrat <fernando.monserrat at gmail.com>
Date:   Fri Nov 2 15:10:58 2018 -0300

     refs #14447.Adding example test to show junit report
    Arvados-DCO-1.1-Signed-off-by: Fernando Monserrat <fmonserrat at veritasgenetics.com>

diff --git a/build/run-federation-tests.sh b/build/run-federation-tests.sh
new file mode 100755
index 000000000..7d4b31443
--- /dev/null
+++ b/build/run-federation-tests.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: AGPL-3.0
+
+# This script will run the Federation tests and the output will be in Junit format
+
+python reports/federation-example.py
diff --git a/reports/federation-example.py b/reports/federation-example.py
new file mode 100644
index 000000000..f0dc16260
--- /dev/null
+++ b/reports/federation-example.py
@@ -0,0 +1,27 @@
+#!/usr/bin/env python
+import sys
+
+junit_txt = """
+<?xml version="1.0" encoding="UTF-8"?>
+<testsuites>
+    <testsuite tests="10" failures="0" time="11.737" name="git.curoverse.com/arvados.git/sdk/go/keepclient">
+        <properties>
+            <property name="go.version" value="go1.8.3"></property>
+            <property name="coverage.statements.pct" value="87.2"></property>
+        </properties>
+        <testcase classname="keepclient" name="Test" time="11.720"></testcase>
+        <testcase classname="keepclient" name="TestSignLocator" time="0.000"></testcase>
+        <testcase classname="keepclient" name="TestVerifySignature" time="0.000"></testcase>
+        <testcase classname="keepclient" name="TestVerifySignatureExtraHints" time="0.000"></testcase>
+        <testcase classname="keepclient" name="TestVerifySignatureWrongSize" time="0.000"></testcase>
+        <testcase classname="keepclient" name="TestVerifySignatureBadSig" time="0.000"></testcase>
+        <testcase classname="keepclient" name="TestVerifySignatureBadTimestamp" time="0.000"></testcase>
+        <testcase classname="keepclient" name="TestVerifySignatureBadSecret" time="0.000"></testcase>
+        <testcase classname="keepclient" name="TestVerifySignatureBadToken" time="0.000"></testcase>
+        <testcase classname="keepclient" name="TestVerifySignatureExpired" time="0.000"></testcase>
+    </testsuite>
+</testsuites>
+"""
+ 
+f = open('reports/report.xml','w')
+f.write(junit_txt)
\ No newline at end of file

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list