aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/test
diff options
context:
space:
mode:
authorGravatar Xin Gao <xingao@google.com>2016-09-29 20:36:23 +0000
committerGravatar Yun Peng <pcloudy@google.com>2016-09-30 08:14:38 +0000
commit29dc3f7dabc24f9e032ffc3602c0f928babdf1ad (patch)
tree00a452875496d39579f5f41138726df81f06b7b4 /src/test
parent8a46df7388ae37fcefa7e364ca0a320a20566658 (diff)
Skip the bazel_toolchain_test on Darwin machine. Fixes #1838.
-- MOS_MIGRATED_REVID=134701835
Diffstat (limited to 'src/test')
-rw-r--r--src/test/shell/bazel/BUILD5
-rwxr-xr-xsrc/test/shell/bazel/bazel_toolchain_test.sh2
2 files changed, 5 insertions, 2 deletions
diff --git a/src/test/shell/bazel/BUILD b/src/test/shell/bazel/BUILD
index ce0efd433a..aba01b2d8a 100644
--- a/src/test/shell/bazel/BUILD
+++ b/src/test/shell/bazel/BUILD
@@ -159,7 +159,10 @@ sh_test(
sh_test(
name = "bazel_toolchain_test",
size = "medium",
- srcs = ["bazel_toolchain_test.sh"],
+ srcs = select({
+ ":darwin": [],
+ "//conditions:default": ["bazel_toolchain_test.sh"],
+ }),
data = [
":test-deps",
"//src/test/shell/bazel/testdata:bazel_toolchain_test_project_pkg",
diff --git a/src/test/shell/bazel/bazel_toolchain_test.sh b/src/test/shell/bazel/bazel_toolchain_test.sh
index a50d6ec54b..72709f62b9 100755
--- a/src/test/shell/bazel/bazel_toolchain_test.sh
+++ b/src/test/shell/bazel/bazel_toolchain_test.sh
@@ -14,7 +14,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
-# Tests compiling using an external toolchain
+# Tests compiling using an external Linaro toolchain on a Linux machine
#
# Load test environment