您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 
 
 

35 行
525 B

  1. #!/bin/sh
  2. ret=0
  3. #
  4. # Check that we have no tabs or trailing spaces in the source code
  5. #
  6. failure=0
  7. (cd ../fonts
  8. for x in $(make -s echo-fonts); do
  9. case "$x" in
  10. *.tlf|*.flf) ;;
  11. *) continue ;;
  12. esac
  13. echo "Checking font $x..."
  14. if ../src/toilet -d ../fonts -f "$x" Hello World >/dev/null; then
  15. :
  16. else
  17. echo "Error loading font $x"
  18. failure=1
  19. fi
  20. done)
  21. if test "$failure" != "0"; then
  22. ret=1
  23. else
  24. echo "0 errors in fonts"
  25. fi
  26. if test "$ret" != "0"; then
  27. exit 1
  28. fi
  29. exit 0