aboutsummaryrefslogtreecommitdiff
path: root/tools/buildsteps/osx32
diff options
context:
space:
mode:
authorMemphiz <memphis@machzwo.de>2013-11-12 16:08:23 +0100
committerMemphiz <memphis@machzwo.de>2014-02-12 18:46:25 +0100
commita09d6db18334b1c3cfe05681bf92facaa04aceb1 (patch)
tree0edd1d43de5f5bd3dec3fb2f0616afefd122fa7f /tools/buildsteps/osx32
parentfcfaf8ce0e2c7d8aa9bf00fabde5105b6344f2d0 (diff)
[jenkins] - add gtest buildstep for jenkins (osx32, osx64m linux32, linux64)
Diffstat (limited to 'tools/buildsteps/osx32')
-rwxr-xr-xtools/buildsteps/osx32/run-tests9
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/buildsteps/osx32/run-tests b/tools/buildsteps/osx32/run-tests
new file mode 100755
index 0000000000..a77fb8139c
--- /dev/null
+++ b/tools/buildsteps/osx32/run-tests
@@ -0,0 +1,9 @@
+WORKSPACE=${WORKSPACE:-$( cd $(dirname $0)/../../.. ; pwd -P )}
+XBMC_PLATFORM_DIR=osx32
+. $WORKSPACE/tools/buildsteps/defaultenv
+
+cd $WORKSPACE;make -j$BUILDTHREADS testsuite
+cd $WORKSPACE;./xbmc-test --gtest_output=xml:gtestresults.xml
+awk '{ if ($1 == "<testcase" && match($0, "notrun")) print substr($0,0,length($0)-2) "><skipped/></testcase>"; else print $0;}' gtestresults.xml > gtestresults-skipped.xml
+rm gtestresults.xml
+mv gtestresults-skipped.xml gtestresults.xml