diff options
Diffstat (limited to 'Build/source/utils/t1utils')
-rw-r--r-- | Build/source/utils/t1utils/ChangeLog | 4 | ||||
-rwxr-xr-x | Build/source/utils/t1utils/t1utils.test | 17 |
2 files changed, 15 insertions, 6 deletions
diff --git a/Build/source/utils/t1utils/ChangeLog b/Build/source/utils/t1utils/ChangeLog index 97e71f171cc..d1f6d7843b8 100644 --- a/Build/source/utils/t1utils/ChangeLog +++ b/Build/source/utils/t1utils/ChangeLog @@ -1,3 +1,7 @@ +2011-11-04 Peter Breitenlohner <peb@mppmu.mpg.de> + + * t1utils.test: Perform all sub-tests and report failed ones. + 2011-09-25 Peter Breitenlohner <peb@mppmu.mpg.de> * t1utils.test: New shell script for tests. diff --git a/Build/source/utils/t1utils/t1utils.test b/Build/source/utils/t1utils/t1utils.test index 23de351dad4..99dd99635b6 100755 --- a/Build/source/utils/t1utils/t1utils.test +++ b/Build/source/utils/t1utils/t1utils.test @@ -3,20 +3,22 @@ # Copyright (C) 2011 Peter Breitenlohner <tex-live@tug.org> # You may freely use, modify and/or distribute this file. +failed= + rm -rf Symbol.* ./t1binary $srcdir/tests/Symbol.pfa Symbol.pfb \ && ./t1ascii Symbol.pfb Symbol.pfa \ && diff Symbol.pfa $srcdir/tests/Symbol.pfa \ - || exit 1 - -echo t1ascii and t1binary test OK + && echo "t1ascii/t1binary tests OK" \ + || failed="$failed t1ascii/t1binary" rm -rf Symbol.* ./t1disasm $srcdir/tests/Symbol.pfa Symbol.raw \ && ./t1asm -a Symbol.raw Symbol.pfa \ && diff Symbol.raw $srcdir/tests/Symbol.raw \ && diff Symbol.pfa $srcdir/tests/Symbol.pfa \ - || exit 1 + && echo "t1asm/t1disasm-ascii tests OK" \ + || failed="$failed t1asm/t1disasm-ascii" rm -rf Symbol.* ./t1disasm $srcdir/tests/Symbol.pfb Symbol.raw \ @@ -24,7 +26,10 @@ rm -rf Symbol.* && ./t1ascii Symbol.pfb Symbol.pfa \ && diff Symbol.raw $srcdir/tests/Symbol.raw \ && diff Symbol.pfa $srcdir/tests/Symbol.pfa \ - || exit 1 + && echo "t1asm/t1disasm-binary tests OK" \ + || failed="$failed t1asm/t1disasm-binary" -echo t1asm and t1disasm test OK +test -z "$failed" && exit 0 +echo "failed tests:$failed" +exit 1 |