From: David G. <go...@py...> - 2003-06-12 15:04:15
|
Beni Cherniavsky wrote: > I'd like to process RST with a makefile so that I get non-zero exit > status when there are warnings - but without aborting on the first > problem. In other words, I want to decouple the sensitivty of the > exit status to message severity be different from the sensitivity to > abort processing - unless I missed something, currently the exit > status is non-zero if and only if docutils aborts processing. Sounds reasonable. How exactly would it work? What exit status would result from each of these situations? * Document processes with no issues. * Level-1 (INFO) system message is generated but not displayed (it's below the report_level setting); process completes (it's below the halt_level setting). * Level-1 (INFO) system message is generated and *is* displayed; process completes. * Level-1 (INFO) system message is generated and process aborts. Would the severity level affect the exit status? There's Level-2 (WARNING), Level-3 (ERROR), and Level-4 (SEVERE). -- David Goodger http://starship.python.net/~goodger Programmer/sysadmin for hire: http://starship.python.net/~goodger/cv |