XML catalogue of packages which are available for installation, using the mingw-get installer.
Révision | 7953e7edac699af3074d61695ac9000ca458138f (tree) |
---|---|
l'heure | 2013-10-09 06:50:51 |
Auteur | Keith Marshall <keithmarshall@user...> |
Commiter | Keith Marshall |
Integrate XML validation tests into build infrastructure.
@@ -1,5 +1,14 @@ | ||
1 | 1 | 2013-10-08 Keith Marshall <keithmarshall@users.sourceforge.net> |
2 | 2 | |
3 | + Integrate XML validation tests into build infrastructure. | |
4 | + | |
5 | + * Makefile.in (all): Add a primary dependency on... | |
6 | + (check): ...this new build goal; implement it, in terms of... | |
7 | + ($srcdir/tests/configure, $builddir/tests/Makefile): ...these new | |
8 | + intermediates; define procedures to build them. | |
9 | + | |
10 | +2013-10-08 Keith Marshall <keithmarshall@users.sourceforge.net> | |
11 | + | |
3 | 12 | Implement an XML validation test suite. |
4 | 13 | |
5 | 14 | * tests: New directory. |
@@ -25,7 +25,7 @@ | ||
25 | 25 | # MinGW Project, accept liability for any damages, however caused, |
26 | 26 | # arising from the use of this software. |
27 | 27 | # |
28 | -all: @mingw_ac_subdirs@ update-references | |
28 | +all: check @mingw_ac_subdirs@ update-references | |
29 | 29 | |
30 | 30 | @SET_MAKE@ |
31 | 31 | @mingw_ac_subdirs@: FORCE |
@@ -59,6 +59,21 @@ Makefile: config.status Makefile.in Makefile.stub.in Makefile.comm.in | ||
59 | 59 | # |
60 | 60 | all-distfiles: all |
61 | 61 | |
62 | +# Before building a set of catalogues, for publication, we should run | |
63 | +# the test suite to validate all source documents; the following rules | |
64 | +# provide the interface which is needed to run the test suite. | |
65 | +# | |
66 | +srcdir = @srcdir@ | |
67 | +check: tests/Makefile | |
68 | + cd tests; $(MAKE_RECURSIVE) $@ | |
69 | + | |
70 | +${srcdir}/tests/configure: ${srcdir}/tests/configure.ac VERSION.m4 | |
71 | + cd ${srcdir}/tests; autoconf | |
72 | + | |
73 | +tests/Makefile: ${srcdir}/tests/configure | |
74 | + test -d tests || mkdir tests | |
75 | + cd tests; ../${srcdir}/tests/configure | |
76 | + | |
62 | 77 | # To support optimised "mingw-get update", the package lists must be |
63 | 78 | # dynamically updated, to correctly identify the latest issue of each |
64 | 79 | # individual package catalogue file; the following rule, (which MUST |