Commit c938f4d7 authored by Nils Goroll's avatar Nils Goroll

create the tests directory before the automake generated wrapper races for it

am__check_pre in the automake-generated Makefile basically runs

	test -d tests || mkdir tests || exit $?

When running out-of-tree with parallel make (as vtest does), this
becomes racy. Avoid the race by a mkdir ignoring the error
parent e6d58182
......@@ -9,6 +9,7 @@ check: check-am check-local
check-am: check-local
# See if list of checks have changed, recheck
check-local:
mkdir tests 2>/dev/null || true ; \
LC_ALL=C; \
if [ "$$(cd $(srcdir) && echo tests/*.vtc)" != "@VTC_TESTS@" ]; then \
cd $(top_builddir) && ./config.status --recheck ; \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment