From db468693ef5faa294d9bc3cd3c5d70c0d99d488b Mon Sep 17 00:00:00 2001 From: Rahul C S Date: Fri, 17 Feb 2012 17:23:28 +0530 Subject: Adding the performance framework to the qa repo Change-Id: Ia7dbd82e9bb2e5e65e9345234ce34f8518a091ad Signed-off-by: Rahul C S --- perf-framework/setbatch | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100755 perf-framework/setbatch (limited to 'perf-framework/setbatch') diff --git a/perf-framework/setbatch b/perf-framework/setbatch new file mode 100755 index 0000000..fb18585 --- /dev/null +++ b/perf-framework/setbatch @@ -0,0 +1,25 @@ +#!/bin/bash -u + +TARBALL_DIR=./tarballs +function usage() +{ + echo "Usage : $0 " + exit 1 +} + +if [ $# -lt 1 ] +then + usage +fi + +list=`echo $@` +for i in $list +do + if [ ! -f $TARBALL_DIR/$i ] + then + echo "$i not found in directory $TARBALL_DIR. Provide correct list." + exit + fi +done + +sed -i "s/^RUNLIST=.*$/RUNLIST=\"$list\"/" batchrun -- cgit