Bug 21992

Summary: make -j check fails
Product: XCB Reporter: Julien Cristau <jcristau>
Component: LibraryAssignee: xcb mailing list dummy <xcb>
Status: RESOLVED FIXED QA Contact: xcb mailing list dummy <xcb>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Julien Cristau 2009-05-29 05:46:32 UTC
Hi,

make -j check fails because the check-local rule gets executed before the tests actually ran, so CheckLog*.xml doesn't exist.
I made it happy with the following patch, but I have no idea if that's correct.

diff --git a/tests/Makefile.am b/tests/Makefile.am
index 77593f0..077681e 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -15,7 +15,7 @@ check_all_SOURCES =  check_all.c check_suites.h check_public.c
 all-local::
        $(RM) CheckLog*.xml
 
-check-local:
+check-local: check-TESTS
        $(RM) CheckLog.html
        if test x$(HTML_CHECK_RESULT) = xtrue; then \
                $(XSLTPROC) $(srcdir)/CheckLog.xsl CheckLog*.xml > CheckLog.html; \

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.