-#!/bin/sh
+#!/usr/bin/env sh
set -e
for pkg in xsltproc
do
if command -v $pkg
- then
+ then
echo "$pkg is installed. Good."
- else
- die "please install $pkg before proceeding"
+ else
+ die "please install $pkg before proceeding"
fi
done
-Denable_fortran=OFF ${SANITIZER_OPTIONS} $WORKSPACE
make -j$NUMPROC
-ctest -D ExperimentalTest || true
+ctest --no-compress-output -D ExperimentalTest || true
if [ -f Testing/TAG ] ; then
- xsltproc $WORKSPACE/tools/jenkins/ctest2junit.xsl Testing/`head -n 1 < Testing/TAG`/Test.xml > CTestResults_${SANITIZER}.xml
+ xsltproc $WORKSPACE/tools/jenkins/ctest2junit.xsl Testing/$(head -n 1 < Testing/TAG)/Test.xml > CTestResults_${SANITIZER}.xml
mv CTestResults_${SANITIZER}.xml $WORKSPACE
fi