From 8447768299f7c96009c14c006e13843f7df36b98 Mon Sep 17 00:00:00 2001 From: Dustin Kirkland Date: Tue, 16 Jun 2009 18:12:19 -0500 Subject: [PATCH] adding some testing scripts Signed-off-by: Dustin Kirkland --- testing/time_notifications | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 testing/time_notifications diff --git a/testing/time_notifications b/testing/time_notifications new file mode 100755 index 00000000..cc8ad7e7 --- /dev/null +++ b/testing/time_notifications @@ -0,0 +1,15 @@ +#!/bin/bash + +RUNS=10 + +loop() { + for j in $(seq 1 $RUNS); do + ./bin/$1 >/dev/null + done +} + +TIMEFORMAT="%R" +for i in $(ls bin); do + echo -n "$i " + time loop $i +done