From 9501712d8648875f488a8dbe6680e350fc25d3ff Mon Sep 17 00:00:00 2001 From: Jonathan Rajotte Date: Mon, 16 Feb 2015 14:59:53 -0500 Subject: [PATCH] Revert "Fix: check if test plan exist before running them" This reverts commit 22e099b5f6ff27b9097ae8c13afe222474e3fda8. --- lttng-ust/lttng-ust-master.sh | 7 +------ lttng-ust/lttng-ust-stable-2.5.sh | 7 +------ lttng-ust/lttng-ust-stable-2.6.sh | 7 +------ 3 files changed, 3 insertions(+), 18 deletions(-) diff --git a/lttng-ust/lttng-ust-master.sh b/lttng-ust/lttng-ust-master.sh index 5e1b644..f792c17 100755 --- a/lttng-ust/lttng-ust-master.sh +++ b/lttng-ust/lttng-ust-master.sh @@ -87,12 +87,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 diff --git a/lttng-ust/lttng-ust-stable-2.5.sh b/lttng-ust/lttng-ust-stable-2.5.sh index 3ef2ddf..3d52a49 100755 --- a/lttng-ust/lttng-ust-stable-2.5.sh +++ b/lttng-ust/lttng-ust-stable-2.5.sh @@ -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 diff --git a/lttng-ust/lttng-ust-stable-2.6.sh b/lttng-ust/lttng-ust-stable-2.6.sh index 88a6edb..fb1fec4 100755 --- a/lttng-ust/lttng-ust-stable-2.6.sh +++ b/lttng-ust/lttng-ust-stable-2.6.sh @@ -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 -- 2.34.1