blob: 6677939d5c1d333aec2eaf0dab558e1cb67b016d (
plain)
1
2
3
4
5
6
7
8
9
|
WORKSPACE=${WORKSPACE:-$( cd $(dirname $0)/../../.. ; pwd -P )}
XBMC_PLATFORM_DIR=linux64
. $WORKSPACE/tools/buildsteps/defaultenv
cd $WORKSPACE;make -j$BUILDTHREADS testsuite
cd $WORKSPACE;./kodi-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
|