Revert "Fix: check if test plan exist before running them"
[lttng-ci.git] / lttng-ust / lttng-ust-stable-2.5.sh
index 3ef2ddfce56f57521d5b56541ac4fcfd686ef6ab..3d52a4965c1e03e4ab9a451204d5d2c9bad6dddf 100755 (executable)
@@ -43,12 +43,7 @@ mkdir -p $WORKSPACE/tap/unit
 
 cd $WORKSPACE/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 '' - < $WORKSPACE/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.032169 seconds and 4 git commands to generate.