Remove readlink -f in run-test*.sh scripts

readlink -f allows the script to be run via a symlink yet still
function.  However, OS X doesn't have the -f flag. We don't really care
too much about symlinking to the scripts, so just drop readlink -f.
This commit is contained in:
Eric Anderson 2015-03-22 16:30:00 -07:00
parent b1201e7c3e
commit bcb3e8cef4
2 changed files with 2 additions and 2 deletions

View File

@ -8,6 +8,6 @@ for i in "$@"; do
done
TARGET_ARGS="${TARGET_ARGS:2}"
cd "$(dirname "$(readlink -f "$0")")"
cd "$(dirname "$0")"
echo "[INFO] Running: $TARGET ($TARGET_CLASS $TARGET_ARGS)"
./gradlew -PmainClass="$TARGET_CLASS" -PappArgs="[$TARGET_ARGS]" :grpc-integration-testing:execute

View File

@ -8,6 +8,6 @@ for i in "$@"; do
done
TARGET_ARGS="${TARGET_ARGS:2}"
cd "$(dirname "$(readlink -f "$0")")"
cd "$(dirname "$0")"
echo "[INFO] Running: $TARGET ($TARGET_CLASS $TARGET_ARGS)"
./gradlew -PmainClass="$TARGET_CLASS" -PappArgs="[$TARGET_ARGS]" :grpc-integration-testing:execute