Otherwise people blame me, and not Doxygen.
if not args.no_doxygen:
logging.debug("running Doxygen on {}".format(args.doxyfile))
- subprocess.run(["doxygen", doxyfile], cwd=os.path.dirname(doxyfile))
+ subprocess.run(["doxygen", doxyfile], cwd=os.path.dirname(doxyfile), check=True)
run(state, templates=os.path.abspath(args.templates), wildcard=args.wildcard, index_pages=args.index_pages, search_merge_subtrees=not args.search_no_subtree_merging, search_add_lookahead_barriers=not args.search_no_lookahead_barriers, search_merge_prefixes=not args.search_no_prefix_merging)
class IntegrationTestCase(BaseTestCase):
def setUp(self):
if os.path.exists(os.path.join(self.path, 'xml')): shutil.rmtree(os.path.join(self.path, 'xml'))
- subprocess.run(['doxygen'], cwd=self.path)
+ subprocess.run(['doxygen'], cwd=self.path, check=True)
if os.path.exists(os.path.join(self.path, 'html')): shutil.rmtree(os.path.join(self.path, 'html'))
shutil.copyfile(os.path.join(self.path, 'Doxyfile'),
os.path.join(self.path, 'Doxyfile-upgrade'))
- subprocess.run(['doxygen', '-u', 'Doxyfile-upgrade'], cwd=self.path)
+ subprocess.run(['doxygen', '-u', 'Doxyfile-upgrade'], cwd=self.path, check=True)
with open(os.path.join(self.path, 'Doxyfile-upgrade'), 'r') as f:
contents = f.read()