]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
tests: do not enable asan on anything else than x86_64
authorVincent Bernat <vincent@bernat.ch>
Thu, 12 Mar 2020 11:56:01 +0000 (12:56 +0100)
committerVincent Bernat <vincent@bernat.ch>
Thu, 12 Mar 2020 11:56:01 +0000 (12:56 +0100)
It seems buggy.

tests/ci/run.sh

index c9d88091865ee33887b5872561b3daa47dd1aa59..6cde2cfd61d5275ef05ad4cc99e2c99a1b9457a1 100755 (executable)
@@ -6,7 +6,8 @@ LLDPD_CONFIG_ARGS="$LLDPD_CONFIG_ARGS --enable-pie"
 case "$(uname -s)" in
     Linux)
         LLDPD_CONFIG_ARGS="$LLDPD_CONFIG_ARGS --localstatedir=/var --sysconfdir=/etc --prefix=/usr"
-        LLDPD_CONFIG_ARGS="$LLDPD_CONFIG_ARGS --enable-sanitizers"
+        [ $(uname -m) != x86_64 ] || \
+            LLDPD_CONFIG_ARGS="$LLDPD_CONFIG_ARGS --enable-sanitizers"
         LLDPD_CONFIG_ARGS="$LLDPD_CONFIG_ARGS LDFLAGS=-fuse-ld=gold"
         ;;
     Darwin)