diff mbox series

Makefile: Run acceptance tests sequentially

Message ID 20210126165131.40605-1-christian.storm@siemens.com
State Accepted
Headers show
Series Makefile: Run acceptance tests sequentially | expand

Commit Message

Christian Storm Jan. 26, 2021, 4:51 p.m. UTC
If $MAKEFLAGS is set, e.g., to $(nproc) > 1, the acceptance tests
break due to concurrency. Use make's special target .NOTPARALLEL
to run them serially which makes them pass.

Signed-off-by: Christian Storm <christian.storm@siemens.com>
---
 scripts/acceptance-tests/Makefile | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/scripts/acceptance-tests/Makefile b/scripts/acceptance-tests/Makefile
index 8456c63..ee205ef 100644
--- a/scripts/acceptance-tests/Makefile
+++ b/scripts/acceptance-tests/Makefile
@@ -15,6 +15,8 @@ 
 # along with this program; if not, write to the Free Software
 # Foundation, Inc.
 
+.NOTPARALLEL:
+
 SWU_CLEAN = rm -f /tmp/sw-description
 
 include $(srctree)/scripts/acceptance-tests/CheckImage.mk