chiark / gitweb /
documentation/doxygen: if the thing crashes, I'd like to be informed.
authorVladimír Vondruš <mosra@centrum.cz>
Mon, 11 May 2020 09:08:50 +0000 (11:08 +0200)
committerVladimír Vondruš <mosra@centrum.cz>
Mon, 11 May 2020 09:58:59 +0000 (11:58 +0200)
Otherwise people blame me, and not Doxygen.

documentation/doxygen.py
documentation/test_doxygen/__init__.py
documentation/test_doxygen/test_doxyfile.py

index 0560f51b859da0291809e3b5f9823f53271e113f..6a31fe909888be6ab86b71c2e7a1dee57e3a5a03 100755 (executable)
@@ -3698,6 +3698,6 @@ if __name__ == '__main__': # pragma: no cover
 
     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)
index ae2dd579e9445ed65b279e777be27ffa9f62fc38..229e7a188d76c10493f568cbd2d30f9ea3c394f1 100644 (file)
@@ -61,6 +61,6 @@ class BaseTestCase(unittest.TestCase):
 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'))
index 7e522fa279bbbad3ec062318f60cc27bd50677ab..d656d00baa5b331f2e39e5ab92fa34475986f1b3 100644 (file)
@@ -98,7 +98,7 @@ class Upgrade(BaseTestCase):
         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()