diff options
author | Xin Gao <xingao@google.com> | 2017-11-07 19:56:29 +0100 |
---|---|---|
committer | Damien Martin-Guillerez <dmarting@google.com> | 2017-11-07 20:57:21 +0100 |
commit | 7b6b8e4a7dc5d6e07e3f2ce7a434da549a28c73b (patch) | |
tree | 65a71395e9a62faf921f3f69c5c48e538da7f5e3 /src/test/shell | |
parent | 55212446312b375d44c95fffc99fdd4e42b0fb4e (diff) |
Add execution permission to embedded_tools_deps_test.sh.
Fix #4027.
Change-Id: I609286c21bd6c503196d122205423726d7e42997
PiperOrigin-RevId: 174880389
Diffstat (limited to 'src/test/shell')
-rwxr-xr-x[-rw-r--r--] | src/test/shell/bazel/embedded_tools_deps_test.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/test/shell/bazel/embedded_tools_deps_test.sh b/src/test/shell/bazel/embedded_tools_deps_test.sh index 745126e751..120a1ea0b2 100644..100755 --- a/src/test/shell/bazel/embedded_tools_deps_test.sh +++ b/src/test/shell/bazel/embedded_tools_deps_test.sh @@ -30,6 +30,11 @@ CURRENT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" source "${CURRENT_DIR}/../integration_test_setup.sh" \ || { echo "integration_test_setup.sh not found!" >&2; exit 1; } +if [ "${PLATFORM-}" != "darwin" ] && [ "${PLATFORM-}" != "linux" ]; then + echo "We only run this test on a Darwin or Linux machine." + exit 0 +fi + # Load the dependencies of //src:embedded_tools_srcs in the current workspace # using the output of genquery //src/test/shell/bazel:embedded_tools_deps. current_deps=${TEST_SRCDIR}/io_bazel/src/test/shell/bazel/embedded_tools_deps |