pass rc to tests
This commit is contained in:
parent
053906d137
commit
63f84bbfb6
1 changed files with 3 additions and 2 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue