commit | cafa7a77d0b28a23574f5de5c87c007adea6819e | [log] [tgz] |
---|---|---|
author | Laszlo Csomor <laszlocsomor@google.com> | Tue Apr 24 04:42:25 2018 -0700 |
committer | Yun Peng <pcloudy@google.com> | Thu Apr 26 12:28:00 2018 +0200 |
tree | 2d0e87fc23efcbfcb199ec647e62b30adb0d016d | |
parent | d98ba7fc1b93f5f882d3e5a5c3d295252d7aef6c [diff] |
test-setup: remove leading "./" from test name Fixes release-blocking regression https://github.com/bazelbuild/bazel/issues/5079 Change-Id: I26202d571d53cd843d559b86d849d29173df4015 Closes #5083. Change-Id: I26202d571d53cd843d559b86d849d29173df4015 PiperOrigin-RevId: 194068956
diff --git a/tools/test/test-setup.sh b/tools/test/test-setup.sh index bd755c4..23dbbe5 100755 --- a/tools/test/test-setup.sh +++ b/tools/test/test-setup.sh
@@ -200,10 +200,10 @@ PATH=".:$PATH" if [ -z "$COVERAGE_DIR" ]; then - EXE="$1" + EXE="${1#./}" shift else - EXE="$2" + EXE="${2#./}" fi if is_absolute "$EXE"; then