From 3fe862dacb7fa38f874a8f054f97f24d71eb0e5c Mon Sep 17 00:00:00 2001 From: Angus Gratton Date: Tue, 22 May 2018 09:46:15 +1000 Subject: [PATCH] test_multi_heap_host: Remove race conditions from parallel "make clean test" --- components/heap/test_multi_heap_host/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/components/heap/test_multi_heap_host/Makefile b/components/heap/test_multi_heap_host/Makefile index f0d5ab1fc..16fd6439c 100644 --- a/components/heap/test_multi_heap_host/Makefile +++ b/components/heap/test_multi_heap_host/Makefile @@ -1,6 +1,10 @@ TEST_PROGRAM=test_multi_heap all: $(TEST_PROGRAM) +ifneq ($(filter clean,$(MAKECMDGOALS)),) +.NOTPARALLEL: # prevent make clean racing the other targets +endif + SOURCE_FILES = $(abspath \ ../multi_heap.c \ ../multi_heap_poisoning.c \