From f0fb56415ca04c8cc1ac377aef85ee121a9eaf2f Mon Sep 17 00:00:00 2001 From: Leonid Yuriev Date: Mon, 22 Jul 2019 01:24:04 +0300 Subject: [PATCH] mdbx-make: avoid multi-processing for cross-qemu (EPERM for alien shared mutex). Change-Id: Ib4c75a5261d9c42c45cb972479479676e969be15 --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 3f2498c1..d0ebf870 100644 --- a/Makefile +++ b/Makefile @@ -86,7 +86,10 @@ check: all && ./mdbx_chk -vvn $(TESTDB) && ./mdbx_chk -vvn $(TESTDB)-copy check-singleprocess: all - rm -f $(TESTDB) $(TESTLOG) && (set -o pipefail; ./mdbx_test --repeat=42 --pathname=$(TESTDB) --dont-cleanup-after --hill --copy | tee -a $(TESTLOG) | tail -n 42) \ + rm -f $(TESTDB) $(TESTLOG) && (set -o pipefail; \ + ./mdbx_test --repeat=4 --pathname=$(TESTDB) --dont-cleanup-after --hill && \ + ./mdbx_test --repeat=2 --pathname=$(TESTDB) --dont-cleanup-before --dont-cleanup-after --copy \ + | tee -a $(TESTLOG) | tail -n 42) \ && ./mdbx_chk -vvn $(TESTDB) && ./mdbx_chk -vvn $(TESTDB)-copy check-fault: all