|
12345678910111213141516171819202122232425262728293031323334 |
- #!/bin/sh
-
- ret=0
-
- #
- # Check that we have no tabs or trailing spaces in the source code
- #
- failure=0
- (cd ../fonts
- for x in $(make -s echo-fonts); do
- case "$x" in
- *.tlf|*.flf) ;;
- *) continue ;;
- esac
- echo "Checking font $x..."
- if ../src/toilet -d ../fonts -f "$x" Hello World >/dev/null; then
- :
- else
- echo "Error loading font $x"
- failure=1
- fi
- done)
- if test "$failure" != "0"; then
- ret=1
- else
- echo "0 errors in fonts"
- fi
-
- if test "$ret" != "0"; then
- exit 1
- fi
-
- exit 0
-
|