Revert "Fix: check if test plan exist before running them"
[lttng-ci.git] / lttng-ust / lttng-ust-stable-2.6.sh
index 88a6edb3e10e48ed7a31f7d46a3f73c5b3f74f1c..fb1fec4c6d9678006afc31046f5426491e9bb5b2 100755 (executable)
@@ -83,12 +83,7 @@ mkdir -p $WORKSPACE/tap/unit
 
 cd $BUILD_PATH/tests
 
-if [ -e $BUILD_PATH/tests/unit_tests ]; then
-       prove --merge --exec '' - < $BUILD_PATH/tests/unit_tests --archive $WORKSPACE/tap/unit/ || true
-else
-       echo "Test file:$BUILD_PATH/tests/unit_tests missing"
-       exit 1
-fi
+prove --merge --exec '' - < $BUILD_PATH/tests/unit_tests --archive $WORKSPACE/tap/unit/ || true
 
 # TAP plugin is having a hard time with .yml files.
 rm -f $WORKSPACE/tap/unit/meta.yml
This page took 0.022371 seconds and 4 git commands to generate.