aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/test/shell/integration
diff options
context:
space:
mode:
authorGravatar Damien Martin-Guillerez <dmarting@google.com>2016-03-31 08:24:37 +0000
committerGravatar Lukacs Berki <lberki@google.com>2016-03-31 11:44:47 +0000
commit585c87b0fce06a452976ce0d0a3091b28ed01dbd (patch)
tree90fe1b93c26b34ee7c14d0ca0c4e1f920e50607a /src/test/shell/integration
parentbbb4291baf188c941965ecd894463b6ff043fe92 (diff)
Make C++ autoconfigured toolchain the default for Linux and OS X.
This is done by adding a default workspace suffix. -- MOS_MIGRATED_REVID=118656979
Diffstat (limited to 'src/test/shell/integration')
-rwxr-xr-xsrc/test/shell/integration/testenv.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/shell/integration/testenv.sh b/src/test/shell/integration/testenv.sh
index b9baa4aa29..9326abdd4a 100755
--- a/src/test/shell/integration/testenv.sh
+++ b/src/test/shell/integration/testenv.sh
@@ -37,6 +37,8 @@ function put_bazel_on_path() {
}
function write_default_bazelrc() {
+ # Our tests use the static crosstool, so make it the default.
+ EXTRA_BAZELRC="build --crosstool_top=@bazel_tools//tools/cpp:default-toolchain"
setup_bazelrc
}