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()
{
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"