From 2f943902235f9ee2269828a7b832b484d9b65050 Mon Sep 17 00:00:00 2001 From: Michael Matz Date: Wed, 15 Apr 2020 22:06:02 +0200 Subject: [PATCH] musl: disable boundcheck tests for now that doesn't work with musl libc. --- tests/Makefile | 2 ++ tests/tests2/Makefile | 3 +++ 2 files changed, 5 insertions(+) diff --git a/tests/Makefile b/tests/Makefile index 1ddf68ef..5b7c60dd 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -29,6 +29,7 @@ BTESTS = btest test2b # asmtest / asmtest2 -- minor differences with gcc # bounds-checking is supported on i386 and x86_64 on linux and windows +ifeq (-$(CONFIG_musl)-, --) ifeq ($(ARCH),i386) TESTS += $(BTESTS) endif @@ -38,6 +39,7 @@ endif ifdef CONFIG_WIN32 TESTS += $(BTESTS) endif +endif ifdef CONFIG_OSX # -run only TESTS := hello-run libtest tests2-dir pp-dir endif diff --git a/tests/tests2/Makefile b/tests/tests2/Makefile index 41d8d5ff..5f3285c2 100644 --- a/tests/tests2/Makefile +++ b/tests/tests2/Makefile @@ -26,6 +26,9 @@ ifeq (,$(filter i386 x86_64,$(ARCH))) SKIP += 85_asm-outside-function.test SKIP += 112_backtrace.test 113_btdll.test endif +ifeq (-$(CONFIG_musl)-,-yes-) + SKIP += 112_backtrace.test +endif ifeq (-$(findstring gcc,$(CC))-,--) SKIP += $(patsubst %.expect,%.test,$(GEN-ALWAYS)) endif