@@ -36,9 +36,15 @@ build:
- sudo mount -t hugetlbfs nodev /mnt/huge
- mkdir -p /dev/shm/odp
- ./bootstrap
- - ./configure --disable-test-perf
+ - ./configure --disable-test-perf --enable-cunit_out_xml
- make
- sudo env ODP_SHM_DIR=/dev/shm/odp make check
+ - wget https://raw.githubusercontent.com/shawnliang/cunit-to-junit/master/cunit-to-junit.xsl
+ - |
+ for FILE in `find ./test ./platform/ -name "*.xml"`; do
+ bname=`basename $FILE`;
+ xsltproc cunit-to-junit.xsl $FILE > $SHIPPABLE_BUILD_DIR/shippable/testresults/${bname}
+ done
on_failure:
- cat config.log
@@ -20,7 +20,8 @@ RUN sudo apt-get update && sudo apt-get install -yy \
libtool \
linux-headers-`uname -r` \
mscgen \
- ruby-dev
+ ruby-dev \
+ xsltproc
RUN sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 10
RUN sudo ln -s /usr/bin/clang-3.8 /usr/bin/clang