mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-02 09:16:17 +01:00
Make "make check" less noisy.
This commit is contained in:
parent
73f130eab5
commit
6c195ce130
@ -1,3 +1,8 @@
|
||||
Mon Jun 7 22:25:24 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* tests/run-markup-tests.sh: Default to silence, but support
|
||||
a -v argument to get the old output back.
|
||||
|
||||
2004-06-06 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* glib/gutils.c (g_get_any_init): Check home for being
|
||||
|
@ -1,3 +1,8 @@
|
||||
Mon Jun 7 22:25:24 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* tests/run-markup-tests.sh: Default to silence, but support
|
||||
a -v argument to get the old output back.
|
||||
|
||||
2004-06-06 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* glib/gutils.c (g_get_any_init): Check home for being
|
||||
|
@ -1,3 +1,8 @@
|
||||
Mon Jun 7 22:25:24 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* tests/run-markup-tests.sh: Default to silence, but support
|
||||
a -v argument to get the old output back.
|
||||
|
||||
2004-06-06 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* glib/gutils.c (g_get_any_init): Check home for being
|
||||
|
@ -1,3 +1,8 @@
|
||||
Mon Jun 7 22:25:24 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* tests/run-markup-tests.sh: Default to silence, but support
|
||||
a -v argument to get the old output back.
|
||||
|
||||
2004-06-06 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* glib/gutils.c (g_get_any_init): Check home for being
|
||||
|
@ -1,3 +1,8 @@
|
||||
Mon Jun 7 22:25:24 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* tests/run-markup-tests.sh: Default to silence, but support
|
||||
a -v argument to get the old output back.
|
||||
|
||||
2004-06-06 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* glib/gutils.c (g_get_any_init): Check home for being
|
||||
|
@ -6,17 +6,29 @@ fail ()
|
||||
exit 1
|
||||
}
|
||||
|
||||
echo_v ()
|
||||
{
|
||||
if [ "$verbose" = "1" ]; then
|
||||
echo "$*"
|
||||
fi
|
||||
}
|
||||
|
||||
error_out=/dev/null
|
||||
if [ "$1" = "-v" ]; then
|
||||
verbose=1
|
||||
error_out=/dev/stderr
|
||||
fi
|
||||
for I in $srcdir/markups/fail-*.gmarkup; do
|
||||
echo "Parsing $I, should fail"
|
||||
./markup-test $I > /dev/null && fail "failed to generate error on $I"
|
||||
echo_v "Parsing $I, should fail"
|
||||
./markup-test $I > /dev/null 2> $error_out && fail "failed to generate error on $I"
|
||||
if test "$?" != "1"; then
|
||||
fail "unexpected error on $I"
|
||||
fi
|
||||
done
|
||||
|
||||
for I in $srcdir/markups/valid-*.gmarkup; do
|
||||
echo "Parsing $I, should succeed"
|
||||
./markup-test $I > /dev/null || fail "failed on $I"
|
||||
echo_v "Parsing $I, should succeed"
|
||||
./markup-test $I > /dev/null 2> $error_out || fail "failed on $I"
|
||||
done
|
||||
|
||||
echo "All tests passed."
|
||||
echo_v "All tests passed."
|
||||
|
Loading…
Reference in New Issue
Block a user