From fb0132a002f69545837d2b82f1b7dc1490a00564 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Thu, 18 Jan 2018 15:08:55 +0100 Subject: [PATCH] doxygen: skip the example test on Doxygen < 1.8.14. --- doxygen/test/test_example.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doxygen/test/test_example.py b/doxygen/test/test_example.py index 3e8bfb07..adbc564b 100644 --- a/doxygen/test/test_example.py +++ b/doxygen/test/test_example.py @@ -32,8 +32,11 @@ class Example(IntegrationTestCase): def __init__(self, *args, **kwargs): super().__init__(__file__, '', *args, **kwargs) + @unittest.skipUnless(LooseVersion(doxygen_version()) > LooseVersion("1.8.13"), + "needs to have file extension exposed in the XML") def test(self): self.run_dox2html5(index_pages=[], wildcard='*.xml') + self.assertEqual(*self.actual_expected_contents('path-prefix_2CMakeLists_8txt-example.html')) self.assertEqual(*self.actual_expected_contents('path-prefix_2configure_8h_8cmake-example.html')) self.assertEqual(*self.actual_expected_contents('path-prefix_2main_8cpp-example.html')) -- 2.30.2