From 35b798e48680a78b2e5212573af5fffd853a106e Mon Sep 17 00:00:00 2001 From: Martine Lenders Date: Thu, 2 Aug 2018 15:32:08 +0200 Subject: [PATCH] tests: fix cayenne-lpp test for LLVM Fixes #9680 --- tests/pkg_cayenne-lpp/main.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/pkg_cayenne-lpp/main.c b/tests/pkg_cayenne-lpp/main.c index 97acd139ef..cb5c246928 100644 --- a/tests/pkg_cayenne-lpp/main.c +++ b/tests/pkg_cayenne-lpp/main.c @@ -24,7 +24,9 @@ #include "cayenne_lpp.h" #define TEST_BUFFER1 { 0x03, 0x67, 0x01, 0x10, 0x05, 0x67, 0x00, 0xff } -#ifdef BOARD_NATIVE +#if defined(BOARD_NATIVE) && !defined(__clang__) /* clang uses same floating + * point handling as GCC + * with cross compiling */ #define TEST_BUFFER2 { 0x01, 0x67, 0xFF, 0xD8, \ 0x06, 0x71, 0x04, 0xD1, 0xFB, 0x2F, 0x00, 0x00 } #else