Procházet zdrojové kódy

test_multi_heap_host: Remove race conditions from parallel "make clean test"

Angus Gratton před 8 roky
rodič
revize
3fe862dacb
1 změnil soubory, kde provedl 4 přidání a 0 odebrání
  1. 4 0
      components/heap/test_multi_heap_host/Makefile

+ 4 - 0
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 \