Use usttrace and libraries from the build directory in the test scripts
[ust.git] / tests / tracepoint / run
index 0da98641ccd4bbcdc0f8ef840c2e171fc8f6bd39..f0d9ed103f0eb8f469484b32d8db1b717f7d213b 100755 (executable)
@@ -7,9 +7,10 @@ source $TESTDIR/tap.sh
 
 starttest "Testing Tracepoints"
 plan_tests 6
+USTTRACE="$TESTDIR/../usttrace"
 
-okx usttrace $TESTDIR/tracepoint/tracepoint_test
-trace_loc=$(usttrace -W)
+okx $USTTRACE -L $TESTDIR/tracepoint/tracepoint_test
+trace_loc=$($USTTRACE -W)
 trace_matches -N "probe1" -n "5" "probe = 13" $trace_loc
 trace_matches -N "probe2" -n "5" "probe = 42" $trace_loc
 trace_matches -N "probe3" -n "1" "probe = \"probe3\"" $trace_loc
This page took 0.022286 seconds and 4 git commands to generate.