Bug 21992 - make -j check fails
Summary: make -j check fails
Status: RESOLVED FIXED
Alias: None
Product: XCB
Classification: Unclassified
Component: Library (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: xcb mailing list dummy
QA Contact: xcb mailing list dummy
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-29 05:46 UTC by Julien Cristau
Modified: 2009-08-31 08:52 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.