From 5686d7d9e00ff41ce5f5ad78a5456772b2f13c82 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 28 Jun 2011 18:43:12 +0000 Subject: 2011-06-28 Joel Sherrill * run_scenarios: Take name/full path of simulator instance -- not just directory -- since name may be unique. --- schedsim/shell/run_scenarios | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'schedsim/shell/run_scenarios') diff --git a/schedsim/shell/run_scenarios b/schedsim/shell/run_scenarios index 0212941..fcd3a36 100755 --- a/schedsim/shell/run_scenarios +++ b/schedsim/shell/run_scenarios @@ -22,9 +22,11 @@ usage() { cat </dev/null 2>&1 || fatal ${schedsim} not found else - fatal "schedsim binary directory must be specified with -d option" + fatal "schedsim binary must be specified with -s option" fi test -d scenarios || fatal scenarios directory is not present @@ -84,7 +85,7 @@ do expected=${base}.expected output=${base}.output vecho Running ${scenario} - ${schedsim_dir}/schedsim $scenario >${output} + ${schedsim} $scenario >${output} if [ -r ${expected} ] ; then diff ${output} ${expected} >/dev/null if [ $? -ne 0 ] ; then -- cgit v1.2.3