TEST_PLAN_PATH=$BUILD_PATH
;;
-*)
+ clang)
+ echo "LLVM clang build"
+ export CC=clang
+ clang -v
+ MAKE=$MAKE BISON="$BISON" YACC="$YACC" $WORKSPACE/configure --prefix=$PREFIX $CONF_OPTS
+ ;;
+ *)
echo "Standard tree build"
MAKE=$MAKE BISON="$BISON" YACC="$YACC" $WORKSPACE/configure --prefix=$PREFIX $CONF_OPTS
;;
# Run tests
$MAKE check
-$MAKE clean
+# Remove global test suite log file, it confuses the tap parser
+rm -f tests/test-suite.log
# Cleanup rpath in executables and shared libraries
find $WORKSPACE/build/bin -type f -perm -0500 -exec chrpath --delete {} \;