These days Automake uses _build/sub for its distcheck builds, not
plain _build. (I don't know whether that is a change from previous
versions.)
Acked-by: Numan Siddique <nusididq@redhat.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
export DISTCHECK_CONFIGURE_FLAGS="$OPTS"
if ! make distcheck TESTSUITEFLAGS=-j4 RECHECK=yes; then
# testsuite.log is necessary for debugging.
- cat */_build/tests/testsuite.log
+ cat */_build/sub/tests/testsuite.log
exit 1
fi
else
if [ "$TESTSUITE" ] && [ "$CC" != "clang" ]; then
if ! make distcheck RECHECK=yes; then
# testsuite.log is necessary for debugging.
- cat */_build/tests/testsuite.log
+ cat */_build/sub/tests/testsuite.log
exit 1
fi
fi