diff mbox series

[v5,1/1] shippable implement main page stats

Message ID 1510761608-32236-2-git-send-email-odpbot@yandex.ru
State New
Headers show
Series [v5,1/1] shippable implement main page stats | expand

Commit Message

Github ODP bot Nov. 15, 2017, 4 p.m. UTC
From: Maxim Uvarov <maxim.uvarov@linaro.org>


Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>

---
/** Email created from pull request 293 (muvarov:devel/master_shippable)
 ** https://github.com/Linaro/odp/pull/293
 ** Patch: https://github.com/Linaro/odp/pull/293.patch
 ** Base sha: 9163719bd4c04321592dad9da7f26539f49c8b7a
 ** Merge commit sha: 9d5d686f0b14050596ffce97b19a1034fdd28298
 **/
 .shippable.yml             |  1 +
 scripts/shipabble-stats.sh | 15 +++++++++++++++
 2 files changed, 16 insertions(+)
 create mode 100755 scripts/shipabble-stats.sh
diff mbox series

Patch

diff --git a/.shippable.yml b/.shippable.yml
index 9fbb29190..7f74a5928 100644
--- a/.shippable.yml
+++ b/.shippable.yml
@@ -39,6 +39,7 @@  build:
     - ./configure --disable-test-perf
     - make
     - sudo env ODP_SHM_DIR=/dev/shm/odp make check
+    - sh -x ./scripts/shipabble-stats.sh
 
   on_failure:
     - cat config.log
diff --git a/scripts/shipabble-stats.sh b/scripts/shipabble-stats.sh
new file mode 100755
index 000000000..b7cac6ba5
--- /dev/null
+++ b/scripts/shipabble-stats.sh
@@ -0,0 +1,15 @@ 
+#!/bin/bash
+
+
+cat <<EOF > $SHIPPABLE_BUILD_DIR/shippable/testresults/test_results.xml
+
+<?xml version="1.0" ?>
+<testsuites errors="1" failures="2" skipped="3" tests="6" time="123.345">
+	<testsuite errors="4" failures="2" name="my test suite" skipped="0" tests="1" time="123.345">
+		<testcase classname="some.class.name" name="Test1" time="123.345000">
+			<system-out>I am stdout!</system-out>
+			<system-err>I am stderr!</system-err>
+		</testcase>
+	</testsuite>
+</testsuites>
+EOF