Skip to content

Commit

Permalink
Fix hg tests
Browse files Browse the repository at this point in the history
Our hg tests are failing because hg is installed in
/usr/local/bin but Bazel 0.21 only pass "/bin,/usr/bin" as PATH env
var.

With --test_env=PATH, the tests get the full environment.

Change-Id: Ie8efa9f8423642d45f1b8baae2eb5aa06cbe304f
  • Loading branch information
mikelalcon committed Dec 20, 2018
1 parent bc0e469 commit 1bdf616
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .bazelrc
Expand Up @@ -8,3 +8,4 @@ build --test_env='LC_ALL=en_US.UTF-8'
build --jvmopt='-Dsun.jnu.encoding=UTF-8'
build --jvmopt='-Dfile.encoding=UTF-8'
build --test_env='LANG=en_US.UTF-8'
test --test_env=PATH

0 comments on commit 1bdf616

Please sign in to comment.