babeltrace: set up tap parser for new test driver
[lttng-ci.git] / scripts / babeltrace / build.sh
index d545b9988ae7cd25f3ae2b37bfaa89d3994c5f7c..f007acfb50a621bf0ef7843197e7408809bbc4a2 100755 (executable)
@@ -122,7 +122,13 @@ case "$build" in
         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
         ;;
@@ -135,7 +141,8 @@ $MAKE install
 # 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 {} \;
This page took 0.022336 seconds and 4 git commands to generate.