aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Lyon <christophe.lyon@linaro.org>2017-03-29 08:17:08 +0000
committerChristophe Lyon <christophe.lyon@linaro.org>2017-03-29 08:17:08 +0000
commitee7980b25b18ca6bcc6ef359e67b89da4d702034 (patch)
tree71ea2c0c9bd333e8374d41244f3e2a5d26d8de0f
parent45f77ca611a7665d53274172e6d3649fc595827c (diff)
bug-2123: Skip test for mingw toolchains.
GCC plugins are not supported under Windows. Change-Id: I948f5756fab85ae2a03e9e5d2bd6f940a1455438
-rwxr-xr-xbug-2123/build.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/bug-2123/build.sh b/bug-2123/build.sh
index 01164c0..f2da02a 100755
--- a/bug-2123/build.sh
+++ b/bug-2123/build.sh
@@ -4,6 +4,14 @@ set -e
# A plugin for the cross-compiler should be compiled by the
# host compiler.
+# GCC plugins are not supported under Windows
+case "${TOOLCHAIN}" in
+ *mingw*)
+ echo "$(basename $(pwd)): SKIP" > result.txt
+ exit 0
+ ;;
+esac
+
plugin_dir=$(${CC} -print-file-name=plugin)
echo "$(basename $(pwd)): FAIL" > result.txt