mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-05 10:17:00 +02:00
Rearrange into other veriables, and include run-markup-tests.sh.
* tests/Makefile.am (TESTS): Rearrange into other veriables, and include run-markup-tests.sh. (TESTS_ENVIRONMENT): New. Pass $srcdir to tests. (noinst_PROGRAMS): Rename to ... (check_PROGRAMS): ... this. 'automake' ensures that these are built before running the tests. * tests/run-markup-tests.sh: Support $srcdir != $builddir.
This commit is contained in:
parent
dd087e5aaa
commit
0b6e1350e1
10
ChangeLog
10
ChangeLog
@ -1,3 +1,13 @@
|
|||||||
|
2000-12-08 Raja R Harinath <harinath@cs.umn.edu>
|
||||||
|
|
||||||
|
* tests/Makefile.am (TESTS): Rearrange into other veriables, and
|
||||||
|
include run-markup-tests.sh.
|
||||||
|
(TESTS_ENVIRONMENT): New. Pass $srcdir to tests.
|
||||||
|
(noinst_PROGRAMS): Rename to ...
|
||||||
|
(check_PROGRAMS): ... this. 'automake' ensures that these are
|
||||||
|
built before running the tests.
|
||||||
|
* tests/run-markup-tests.sh: Support $srcdir != $builddir.
|
||||||
|
|
||||||
2000-12-08 Havoc Pennington <hp@pobox.com>
|
2000-12-08 Havoc Pennington <hp@pobox.com>
|
||||||
|
|
||||||
* tests/Makefile.am (TESTS): move markup-test to noinst_PROGRAMS;
|
* tests/Makefile.am (TESTS): move markup-test to noinst_PROGRAMS;
|
||||||
|
@ -1,3 +1,13 @@
|
|||||||
|
2000-12-08 Raja R Harinath <harinath@cs.umn.edu>
|
||||||
|
|
||||||
|
* tests/Makefile.am (TESTS): Rearrange into other veriables, and
|
||||||
|
include run-markup-tests.sh.
|
||||||
|
(TESTS_ENVIRONMENT): New. Pass $srcdir to tests.
|
||||||
|
(noinst_PROGRAMS): Rename to ...
|
||||||
|
(check_PROGRAMS): ... this. 'automake' ensures that these are
|
||||||
|
built before running the tests.
|
||||||
|
* tests/run-markup-tests.sh: Support $srcdir != $builddir.
|
||||||
|
|
||||||
2000-12-08 Havoc Pennington <hp@pobox.com>
|
2000-12-08 Havoc Pennington <hp@pobox.com>
|
||||||
|
|
||||||
* tests/Makefile.am (TESTS): move markup-test to noinst_PROGRAMS;
|
* tests/Makefile.am (TESTS): move markup-test to noinst_PROGRAMS;
|
||||||
|
@ -1,3 +1,13 @@
|
|||||||
|
2000-12-08 Raja R Harinath <harinath@cs.umn.edu>
|
||||||
|
|
||||||
|
* tests/Makefile.am (TESTS): Rearrange into other veriables, and
|
||||||
|
include run-markup-tests.sh.
|
||||||
|
(TESTS_ENVIRONMENT): New. Pass $srcdir to tests.
|
||||||
|
(noinst_PROGRAMS): Rename to ...
|
||||||
|
(check_PROGRAMS): ... this. 'automake' ensures that these are
|
||||||
|
built before running the tests.
|
||||||
|
* tests/run-markup-tests.sh: Support $srcdir != $builddir.
|
||||||
|
|
||||||
2000-12-08 Havoc Pennington <hp@pobox.com>
|
2000-12-08 Havoc Pennington <hp@pobox.com>
|
||||||
|
|
||||||
* tests/Makefile.am (TESTS): move markup-test to noinst_PROGRAMS;
|
* tests/Makefile.am (TESTS): move markup-test to noinst_PROGRAMS;
|
||||||
|
@ -1,3 +1,13 @@
|
|||||||
|
2000-12-08 Raja R Harinath <harinath@cs.umn.edu>
|
||||||
|
|
||||||
|
* tests/Makefile.am (TESTS): Rearrange into other veriables, and
|
||||||
|
include run-markup-tests.sh.
|
||||||
|
(TESTS_ENVIRONMENT): New. Pass $srcdir to tests.
|
||||||
|
(noinst_PROGRAMS): Rename to ...
|
||||||
|
(check_PROGRAMS): ... this. 'automake' ensures that these are
|
||||||
|
built before running the tests.
|
||||||
|
* tests/run-markup-tests.sh: Support $srcdir != $builddir.
|
||||||
|
|
||||||
2000-12-08 Havoc Pennington <hp@pobox.com>
|
2000-12-08 Havoc Pennington <hp@pobox.com>
|
||||||
|
|
||||||
* tests/Makefile.am (TESTS): move markup-test to noinst_PROGRAMS;
|
* tests/Makefile.am (TESTS): move markup-test to noinst_PROGRAMS;
|
||||||
|
@ -1,3 +1,13 @@
|
|||||||
|
2000-12-08 Raja R Harinath <harinath@cs.umn.edu>
|
||||||
|
|
||||||
|
* tests/Makefile.am (TESTS): Rearrange into other veriables, and
|
||||||
|
include run-markup-tests.sh.
|
||||||
|
(TESTS_ENVIRONMENT): New. Pass $srcdir to tests.
|
||||||
|
(noinst_PROGRAMS): Rename to ...
|
||||||
|
(check_PROGRAMS): ... this. 'automake' ensures that these are
|
||||||
|
built before running the tests.
|
||||||
|
* tests/run-markup-tests.sh: Support $srcdir != $builddir.
|
||||||
|
|
||||||
2000-12-08 Havoc Pennington <hp@pobox.com>
|
2000-12-08 Havoc Pennington <hp@pobox.com>
|
||||||
|
|
||||||
* tests/Makefile.am (TESTS): move markup-test to noinst_PROGRAMS;
|
* tests/Makefile.am (TESTS): move markup-test to noinst_PROGRAMS;
|
||||||
|
@ -1,3 +1,13 @@
|
|||||||
|
2000-12-08 Raja R Harinath <harinath@cs.umn.edu>
|
||||||
|
|
||||||
|
* tests/Makefile.am (TESTS): Rearrange into other veriables, and
|
||||||
|
include run-markup-tests.sh.
|
||||||
|
(TESTS_ENVIRONMENT): New. Pass $srcdir to tests.
|
||||||
|
(noinst_PROGRAMS): Rename to ...
|
||||||
|
(check_PROGRAMS): ... this. 'automake' ensures that these are
|
||||||
|
built before running the tests.
|
||||||
|
* tests/run-markup-tests.sh: Support $srcdir != $builddir.
|
||||||
|
|
||||||
2000-12-08 Havoc Pennington <hp@pobox.com>
|
2000-12-08 Havoc Pennington <hp@pobox.com>
|
||||||
|
|
||||||
* tests/Makefile.am (TESTS): move markup-test to noinst_PROGRAMS;
|
* tests/Makefile.am (TESTS): move markup-test to noinst_PROGRAMS;
|
||||||
|
@ -1,3 +1,13 @@
|
|||||||
|
2000-12-08 Raja R Harinath <harinath@cs.umn.edu>
|
||||||
|
|
||||||
|
* tests/Makefile.am (TESTS): Rearrange into other veriables, and
|
||||||
|
include run-markup-tests.sh.
|
||||||
|
(TESTS_ENVIRONMENT): New. Pass $srcdir to tests.
|
||||||
|
(noinst_PROGRAMS): Rename to ...
|
||||||
|
(check_PROGRAMS): ... this. 'automake' ensures that these are
|
||||||
|
built before running the tests.
|
||||||
|
* tests/run-markup-tests.sh: Support $srcdir != $builddir.
|
||||||
|
|
||||||
2000-12-08 Havoc Pennington <hp@pobox.com>
|
2000-12-08 Havoc Pennington <hp@pobox.com>
|
||||||
|
|
||||||
* tests/Makefile.am (TESTS): move markup-test to noinst_PROGRAMS;
|
* tests/Makefile.am (TESTS): move markup-test to noinst_PROGRAMS;
|
||||||
|
@ -1,3 +1,13 @@
|
|||||||
|
2000-12-08 Raja R Harinath <harinath@cs.umn.edu>
|
||||||
|
|
||||||
|
* tests/Makefile.am (TESTS): Rearrange into other veriables, and
|
||||||
|
include run-markup-tests.sh.
|
||||||
|
(TESTS_ENVIRONMENT): New. Pass $srcdir to tests.
|
||||||
|
(noinst_PROGRAMS): Rename to ...
|
||||||
|
(check_PROGRAMS): ... this. 'automake' ensures that these are
|
||||||
|
built before running the tests.
|
||||||
|
* tests/run-markup-tests.sh: Support $srcdir != $builddir.
|
||||||
|
|
||||||
2000-12-08 Havoc Pennington <hp@pobox.com>
|
2000-12-08 Havoc Pennington <hp@pobox.com>
|
||||||
|
|
||||||
* tests/Makefile.am (TESTS): move markup-test to noinst_PROGRAMS;
|
* tests/Makefile.am (TESTS): move markup-test to noinst_PROGRAMS;
|
||||||
|
@ -4,15 +4,15 @@ INCLUDES = -I$(top_srcdir) @GLIB_DEBUG_FLAGS@
|
|||||||
EFENCE=
|
EFENCE=
|
||||||
|
|
||||||
EXTRA_DIST = \
|
EXTRA_DIST = \
|
||||||
|
$(test_scripts) \
|
||||||
makefile.msc.in \
|
makefile.msc.in \
|
||||||
makefile.mingw.in \
|
makefile.mingw.in
|
||||||
run-markup-tests.sh
|
|
||||||
|
|
||||||
BUILT_EXTRA_DIST = \
|
BUILT_EXTRA_DIST = \
|
||||||
makefile.msc \
|
makefile.msc \
|
||||||
makefile.mingw
|
makefile.mingw
|
||||||
|
|
||||||
TESTS = \
|
test_programs = \
|
||||||
array-test \
|
array-test \
|
||||||
date-test \
|
date-test \
|
||||||
dirname-test \
|
dirname-test \
|
||||||
@ -34,7 +34,14 @@ TESTS = \
|
|||||||
tree-test \
|
tree-test \
|
||||||
type-test
|
type-test
|
||||||
|
|
||||||
noinst_PROGRAMS = $(TESTS) markup-test
|
test_scripts = run-markup-tests.sh
|
||||||
|
|
||||||
|
test_script_support_programs = markup-test
|
||||||
|
|
||||||
|
check_PROGRAMS = $(test_programs) $(test_script_support_programs)
|
||||||
|
|
||||||
|
TESTS = $(test_programs) $(test_scripts)
|
||||||
|
TESTS_ENVIRONMENT = srcdir=$(srcdir)
|
||||||
|
|
||||||
progs_LDADD = $(EFENCE) $(top_builddir)/libglib-1.3.la $(EFENCE)
|
progs_LDADD = $(EFENCE) $(top_builddir)/libglib-1.3.la $(EFENCE)
|
||||||
thread_LDADD = $(progs_LDADD) $(top_builddir)/gthread/libgthread-1.3.la @G_THREAD_LIBS@
|
thread_LDADD = $(progs_LDADD) $(top_builddir)/gthread/libgthread-1.3.la @G_THREAD_LIBS@
|
||||||
|
@ -6,12 +6,12 @@ fail ()
|
|||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
for I in markups/fail-*.gmarkup; do
|
for I in $srcdir/markups/fail-*.gmarkup; do
|
||||||
echo "Parsing $I, should fail"
|
echo "Parsing $I, should fail"
|
||||||
./markup-test $I > /dev/null && fail "failed to generate error on $I"
|
./markup-test $I > /dev/null && fail "failed to generate error on $I"
|
||||||
done
|
done
|
||||||
|
|
||||||
for I in markups/valid-*.gmarkup; do
|
for I in $srcdir/markups/valid-*.gmarkup; do
|
||||||
echo "Parsing $I, should succeed"
|
echo "Parsing $I, should succeed"
|
||||||
./markup-test $I > /dev/null || fail "failed on $I"
|
./markup-test $I > /dev/null || fail "failed on $I"
|
||||||
done
|
done
|
||||||
|
Loading…
x
Reference in New Issue
Block a user