From 63f84bbfb60fca96a2412009f4e81c9c548afb0d Mon Sep 17 00:00:00 2001 From: Anthony Young Date: Thu, 10 Nov 2011 11:43:41 -0800 Subject: [PATCH] pass rc to tests --- tools/jenkins/run_test.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/jenkins/run_test.sh b/tools/jenkins/run_test.sh index cf09cd5..4649563 100755 --- a/tools/jenkins/run_test.sh +++ b/tools/jenkins/run_test.sh @@ -2,11 +2,12 @@ EXECUTOR_NUMBER=$1 ADAPTER=$2 +RC=$3 function usage() { echo "Usage: $0 - Run a test" echo "" - echo "$0 [EXECUTOR_NUMBER] [ADAPTER]" + echo "$0 [EXECUTOR_NUMBER] [ADAPTER] [RC (optional)]" exit 1 } @@ -16,4 +17,4 @@ if [[ "$EXECUTOR_NUMBER" = "" || "$ADAPTER" = "" ]]; then fi # Execute configuration script -cd adapters && ./$ADAPTER.sh $EXECUTOR_NUMBER $ADAPTER +cd adapters && ./$ADAPTER.sh $EXECUTOR_NUMBER $ADAPTER "$RC"