diff mbox

[v2,07/12] test: disable test for non-MMU systems

Message ID 1409221890-2516-7-git-send-email-wbx@openadk.org
State Rejected
Commit ff48662bbadd3d49fabe6fdfeb8e8181d4c80b06
Headers show

Commit Message

Waldemar Brodkorb Aug. 28, 2014, 10:31 a.m. UTC
This test fails for non-MMU systems, because it uses fork()

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
---
 test/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Bernhard Reutner-Fischer Aug. 28, 2014, 11:09 a.m. UTC | #1
On Thu, Aug 28, 2014 at 12:31:25PM +0200, Waldemar Brodkorb wrote:
> This test fails for non-MMU systems, because it uses fork()

I'd rather only disable the shmtest or, even better, just tweak the test
to be noMMU friendly.

Care to send an updated patch?
TIA!
diff mbox

Patch

diff --git a/test/Makefile b/test/Makefile
index 787c530..d51bb62 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -42,6 +42,10 @@  endif
 ifeq ($(HAS_NO_THREADS),y)
 	DIRS := $(filter-out pthread,$(DIRS))
 endif
+# librt test needs fork()
+ifneq ($(ARCH_USE_MMU),y)
+	DIRS := $(filter-out librt,$(DIRS))
+endif
 
 test check all: run