Fix check dependency
authorJulien Cristau <jcristau@debian.org>
Mon, 31 Aug 2009 15:51:36 +0000 (17:51 +0200)
committerJulien Danjou <julien@danjou.info>
Mon, 31 Aug 2009 15:51:36 +0000 (17:51 +0200)
Bugzilla #21992

make -j check fails because the check-local rule gets executed before
the tests actually ran, so CheckLog*.xml doesn't exist.

Signed-off-by: Julien Danjou <julien@danjou.info>
tests/Makefile.am

index 77593f0..077681e 100644 (file)
@@ -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; \