]> granicus.if.org Git - esp-idf/commitdiff
test_multi_heap_host: Remove race conditions from parallel "make clean test"
authorAngus Gratton <angus@espressif.com>
Mon, 21 May 2018 23:46:15 +0000 (09:46 +1000)
committerAngus Gratton <gus@projectgus.com>
Tue, 22 May 2018 02:09:30 +0000 (12:09 +1000)
components/heap/test_multi_heap_host/Makefile

index f0d5ab1fc145a0ec48602eb41b909ee278e1c07e..16fd6439c5422fba2fca4c2ce6811ee94fbfb9b8 100644 (file)
@@ -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 \