X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=tests%2Fregression%2Fust%2Fclock-override%2Ftest_clock_override;h=722e7315849f6763893a46215f931d736582d18b;hb=4881bba88a421d8e7f41d58feb88b4ca459af87d;hp=d462926f8d5d26ecee340159e4a9194772b621dd;hpb=1df1febef391527c99b568ddcc7fc328a5941e61;p=lttng-tools.git diff --git a/tests/regression/ust/clock-override/test_clock_override b/tests/regression/ust/clock-override/test_clock_override index d462926f8..722e73158 100755 --- a/tests/regression/ust/clock-override/test_clock_override +++ b/tests/regression/ust/clock-override/test_clock_override @@ -14,7 +14,7 @@ # You should have received a copy of the GNU Lesser General Public License # along with this library; if not, write to the Free Software Foundation, Inc., # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -TEST_DESC="UST - Getcpu override plugin" +TEST_DESC="UST - Clock override plugin" CURDIR=$(dirname $0)/ TESTDIR=$CURDIR/../../.. @@ -49,10 +49,6 @@ NUM_TESTS=33 source $TESTDIR/utils/utils.sh -if [ ! -x "$CURDIR/$LIBS_DIR/$LTTNG_UST_CLOCK_PLUGIN_SO" ]; then - BAIL_OUT "No shared object generated" -fi - # MUST set TESTDIR before calling those functions function run_app() { @@ -167,6 +163,14 @@ plan_tests $NUM_TESTS print_test_banner "$TEST_DESC" +if [ -x "$CURDIR/$LIBS_DIR/$LTTNG_UST_CLOCK_PLUGIN_SO" ]; then + foundobj=1 +else + foundobj=0 +fi + +skip $foundobj "No shared object generated. Skipping all tests." $NUM_TESTS && exit 0 + TESTS=( "test_getcpu_override_metadata" "test_getcpu_override_timestamp"