You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
341 B
Bash
20 lines
341 B
Bash
13 years ago
|
#!/bin/bash
|
||
|
|
||
|
EXECUTOR_NUMBER=$1
|
||
|
ADAPTER=$2
|
||
|
|
||
|
function usage() {
|
||
|
echo "Usage: $0 - Run a test"
|
||
|
echo ""
|
||
|
echo "$0 [EXECUTOR_NUMBER] [ADAPTER]"
|
||
|
exit 1
|
||
|
}
|
||
|
|
||
|
# Validate inputs
|
||
|
if [[ "$EXECUTOR_NUMBER" = "" || "$ADAPTER" = "" ]]; then
|
||
|
usage
|
||
|
fi
|
||
|
|
||
|
# Execute configuration script
|
||
|
cd adapters && ./$ADAPTER.sh $EXECUTOR_NUMBER $ADAPTER
|