Use usttrace and libraries from the build directory in the test scripts
[ust.git] / tests / test-libustinstr-malloc / test-libustinstr-malloc.sh
index 2daa4b5d2d9cbab128b66b002063e1397c74147b..04ed64df4d61a258bf01471d2d69a9b78af65474 100755 (executable)
@@ -25,8 +25,9 @@ source $TESTDIR/tap.sh
 starttest "libustinstr-malloc"
 
 plan_tests 3
+USTTRACE="$TESTDIR/../usttrace"
 
-okx usttrace -lm $TESTDIR/test-libustinstr-malloc/.libs/prog
-trace_loc=$(usttrace -W)
+okx $USTTRACE -L -lm $TESTDIR/test-libustinstr-malloc/.libs/prog
+trace_loc=$($USTTRACE -W)
 trace_matches -N "libustinstr-malloc - malloc" -n 1000 "^ust.malloc:.*{ size = 1[0-9][0-9][0-9]," $trace_loc
 check_trace_logs "$trace_loc"
This page took 0.024981 seconds and 4 git commands to generate.