Fix tests to output waiting time
authorDavid Goulet <david.goulet@polymtl.ca>
Mon, 5 Dec 2011 19:16:38 +0000 (14:16 -0500)
committerDavid Goulet <david.goulet@polymtl.ca>
Mon, 5 Dec 2011 19:16:38 +0000 (14:16 -0500)
Signed-off-by: David Goulet <david.goulet@polymtl.ca>
benchmark/run-ust-notify.sh
benchmark/run-ust-register.sh

index f326241fbf57fc38ef2e6bc15dfd3e5230c9a681..723ed2925995a7eb2670a751e47906770a57638c 100755 (executable)
@@ -34,8 +34,18 @@ else
        echo "PID session daemon: $PID_SESSIOND"
 fi
 
+# Session daemon need to boot up and run benchmark
+echo -n "Waiting."
+sleep 1
+echo -n "."
+sleep 1
+echo "."
+sleep 1
+
 kill $PID_SESSIOND
 
 wait $PID_SESSIOND
 
+echo "Benchmarks done in $RESULTS_PATH"
+
 exit 0
index 072fbde947a4759e70ec61e3696c6819f6973dd3..96d70a26850d43a133ba0e4605ada7094bd7f0d7 100755 (executable)
@@ -33,8 +33,13 @@ else
        echo "PID session daemon: $PID_SESSIOND"
 fi
 
-# Wait for sessiond to settle
-sleep 2
+# Session daemon need to boot up and run benchmark
+echo -n "Waiting."
+sleep 1
+echo -n "."
+sleep 1
+echo "."
+sleep 1
 
 # Start libust instrumented application to register.
 UST_AUTOPROBE=1 UST_TRACE=1 ./$BASEDIR/hello
@@ -43,4 +48,6 @@ kill $PID_SESSIOND
 
 wait $PID_SESSIOND
 
+echo "Benchmarks done in $RESULTS_PATH"
+
 exit 0
This page took 0.02608 seconds and 4 git commands to generate.