aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/java_tools/junitrunner/java/com/google
diff options
context:
space:
mode:
authorGravatar Klaus Aehlig <aehlig@google.com>2017-01-20 10:04:35 +0000
committerGravatar Vladimir Moskva <vladmos@google.com>2017-01-20 12:21:33 +0000
commit9a338502f625756a046301a98f209cae8ec675aa (patch)
treea1b3566bf1f0da00e17809ad569a73009055ca35 /src/java_tools/junitrunner/java/com/google
parent626bc3c86fc99d4f8762a30a01b5cf4136e9fe7c (diff)
Temporarily disable jacoco on FreeBSD
...while we have the problem with the hard-coded path to /bin/bash. -- Change-Id: Icba0030458da42d1847fa68d6bf312195ff083f9 Reviewed-on: https://cr.bazel.build/8393 PiperOrigin-RevId: 145062669 MOS_MIGRATED_REVID=145062669
Diffstat (limited to 'src/java_tools/junitrunner/java/com/google')
-rw-r--r--src/java_tools/junitrunner/java/com/google/testing/coverage/BUILD7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/java_tools/junitrunner/java/com/google/testing/coverage/BUILD b/src/java_tools/junitrunner/java/com/google/testing/coverage/BUILD
index 3a57a5b4f7..4e4b135853 100644
--- a/src/java_tools/junitrunner/java/com/google/testing/coverage/BUILD
+++ b/src/java_tools/junitrunner/java/com/google/testing/coverage/BUILD
@@ -91,7 +91,12 @@ genrule(
#
# TODO(lberki): Remove this once a Bazel version with a fix to either of
# these bugs is out.
- "if [[ $$(uname -a) =~ MSYS ]]; then",
+ #
+ # Additionally, there is a hard-coded path to /bin/bash which is wrong on
+ # freebsd; so disable there as well until a fixed version is in there as
+ # well.
+ # TODO(aehlig): fix and remove once a version with the fix is out.
+ "if [[ $$(uname -a) =~ MSYS ]] || [[ $$(uname -a) =~ freebsd ]]; then",
" cp \"$(location :JacocoCoverage_deploy.jar)\" \"$@\";",
"else",
" \"$(location //third_party/java/jarjar:jarjar_bin)\" process \"$(location :JacocoCoverage.jarjar)\" \"$(location :JacocoCoverage_deploy.jar)\" \"$@\"",