diff options
author | Laszlo Csomor <laszlocsomor@google.com> | 2018-04-24 04:42:25 -0700 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-04-24 04:43:58 -0700 |
commit | 2c957575ff24c183d48ade4345a79ffa5bec3724 (patch) | |
tree | 0f3cfa75e1bab21296843493883a3016b34631d5 /tools/test | |
parent | 8b33784fb7e0d487908aeb28c398b5e9b4078a52 (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
Diffstat (limited to 'tools/test')
-rwxr-xr-x | tools/test/test-setup.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/test/test-setup.sh b/tools/test/test-setup.sh index ccd97f7ad4..faac6bf4aa 100755 --- a/tools/test/test-setup.sh +++ b/tools/test/test-setup.sh @@ -201,10 +201,10 @@ EOF PATH=".:$PATH" if [ -z "$COVERAGE_DIR" ]; then - EXE="$1" + EXE="${1#./}" shift else - EXE="$2" + EXE="${2#./}" fi if is_absolute "$EXE"; then |