lttng_ust_clock_override_test_la_LIBADD = -lc
endif
-noinst_SCRIPTS = test_clock_override run-clock-override
-EXTRA_DIST = test_clock_override run-clock-override
+noinst_SCRIPTS = test_clock_override
+EXTRA_DIST = test_clock_override
all-local:
@if [ x"$(srcdir)" != x"$(builddir)" ]; then \
+++ /dev/null
-#!/bin/sh
-
-# launch with: run-clock-override progname args
-DIR=$(dirname $0)
-DIR=$(readlink -f $DIR)
-
-if [ -x "$DIR/.libs/lttng-ust-clock-override-test.so" ]; then
- ret=`LTTNG_UST_CLOCK_PLUGIN="$DIR/.libs/lttng-ust-clock-override-test.so" $@`
- exit $ret
-else
- echo "Clock-override missing shared object"
- exit $1
-fi
TESTAPP_PATH="$TESTDIR/utils/testapp"
TESTAPP_NAME="gen-ust-events"
TESTAPP_BIN="$TESTAPP_PATH/$TESTAPP_NAME/$TESTAPP_NAME"
-TESTAPP_WRAPPER="run-getcpu-override"
NUM_EVENT=256
EVENT_NAME="tp:tptest"
LTTNG_UST_CLOCK_PLUGIN_SO="lttng-ust-clock-override-test.so"
diag "Plugin enabled"
export LTTNG_UST_CLOCK_PLUGIN=$CURDIR/.libs/$LTTNG_UST_CLOCK_PLUGIN_SO
start_lttng_sessiond
- unset LTTNG_UST_CLOCK_PLUGIN
create_lttng_session_ok $SESSION_NAME $TRACE_PATH
enable_ust_lttng_event_ok $SESSION_NAME "$EVENT_NAME"
start_lttng_tracing_ok $SESSION_NAME
run_app
+ unset LTTNG_UST_CLOCK_PLUGIN
stop_lttng_tracing_ok $SESSION_NAME
destroy_lttng_session_ok $SESSION_NAME
stop_lttng_sessiond