Use usttrace and libraries from the build directory in the test scripts
[ust.git] / tests / test-nevents / test-nevents.sh
index 03ff87f85b24c4e3f84f8c8beb41817969e5c47e..2a7a98a7e513f13d962b2ef807522891b85444f5 100755 (executable)
@@ -25,9 +25,10 @@ source $TESTDIR/tap.sh
 starttest "Test-nevents"
 
 plan_tests 4
+USTTRACE="$TESTDIR/../usttrace"
 
-okx usttrace $TESTDIR/test-nevents/prog
-trace_loc=$(usttrace -W)
+okx $USTTRACE -L $TESTDIR/test-nevents/prog
+trace_loc=$($USTTRACE -W)
 trace_matches -N "an_event" -n 100000 "^ust.an_event:" $trace_loc
 trace_matches -N "another_event" -n 100000 "^ust.another_event:" $trace_loc
 check_trace_logs "$trace_loc"
This page took 0.023626 seconds and 4 git commands to generate.