Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

PATCH: Slightly improve test harness



This patch makes the following changes to the test harness:

- abort the test if %prep code returns a non-zero status, as is
  documented in B01cd.ztst
- don't abort the test run if a testcase fails (unless there's a syntax
  error in the test file)
- make sure cleanup is always performed when exiting
- ZTST_getsect() used to always tolerate one junk line immediately
  before the beginning of a section; correct that
- don't print ZTST_message and ZTST_failmsg for syntax errors in the
  test file; instead always print the line number in that case
- make sure ZTST_message and ZTST_failmsg are always cleared upon exit
  from ZTST_test()
- improve progress bar

Regards,
Thorsten Dahlheimer

Attachment: ztst.patch
Description: Binary data



Messages sorted by: Reverse Date, Date, Thread, Author