mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-09 04:15:49 +01:00
Let $srcdir default to .
2005-01-24 Matthias Clasen <mclasen@redhat.com> * tests/run-markup-tests.sh: Let $srcdir default to .
This commit is contained in:
parent
39a681995c
commit
5d549e5bdb
@ -1,5 +1,7 @@
|
|||||||
2005-01-24 Matthias Clasen <mclasen@redhat.com>
|
2005-01-24 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
* tests/run-markup-tests.sh: Let $srcdir default to .
|
||||||
|
|
||||||
* tests/markups/fail-40.gmarkup: Add a test with a long entity
|
* tests/markups/fail-40.gmarkup: Add a test with a long entity
|
||||||
name.
|
name.
|
||||||
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
2005-01-24 Matthias Clasen <mclasen@redhat.com>
|
2005-01-24 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
* tests/run-markup-tests.sh: Let $srcdir default to .
|
||||||
|
|
||||||
* tests/markups/fail-40.gmarkup: Add a test with a long entity
|
* tests/markups/fail-40.gmarkup: Add a test with a long entity
|
||||||
name.
|
name.
|
||||||
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
2005-01-24 Matthias Clasen <mclasen@redhat.com>
|
2005-01-24 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
* tests/run-markup-tests.sh: Let $srcdir default to .
|
||||||
|
|
||||||
* tests/markups/fail-40.gmarkup: Add a test with a long entity
|
* tests/markups/fail-40.gmarkup: Add a test with a long entity
|
||||||
name.
|
name.
|
||||||
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
2005-01-24 Matthias Clasen <mclasen@redhat.com>
|
2005-01-24 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
* tests/run-markup-tests.sh: Let $srcdir default to .
|
||||||
|
|
||||||
* tests/markups/fail-40.gmarkup: Add a test with a long entity
|
* tests/markups/fail-40.gmarkup: Add a test with a long entity
|
||||||
name.
|
name.
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@ if [ "$1" = "-v" ]; then
|
|||||||
verbose=1
|
verbose=1
|
||||||
error_out=/dev/stderr
|
error_out=/dev/stderr
|
||||||
fi
|
fi
|
||||||
for I in $srcdir/markups/fail-*.gmarkup; do
|
for I in ${srcdir:-.}/markups/fail-*.gmarkup; do
|
||||||
echo_v "Parsing $I, should fail"
|
echo_v "Parsing $I, should fail"
|
||||||
./markup-test $I > /dev/null 2> $error_out && fail "failed to generate error on $I"
|
./markup-test $I > /dev/null 2> $error_out && fail "failed to generate error on $I"
|
||||||
if test "$?" != "1"; then
|
if test "$?" != "1"; then
|
||||||
@ -26,7 +26,7 @@ for I in $srcdir/markups/fail-*.gmarkup; do
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
for I in $srcdir/markups/valid-*.gmarkup; do
|
for I in ${srcdir:-.}/markups/valid-*.gmarkup; do
|
||||||
echo_v "Parsing $I, should succeed"
|
echo_v "Parsing $I, should succeed"
|
||||||
./markup-test $I > /dev/null 2> $error_out || fail "failed on $I"
|
./markup-test $I > /dev/null 2> $error_out || fail "failed on $I"
|
||||||
done
|
done
|
||||||
|
Loading…
x
Reference in New Issue
Block a user