C++, hax because of Windows path separators

This commit is contained in:
Jakob Lykke Andersen 2020-01-20 19:52:49 +01:00
parent 6d7ff482f6
commit 5cf28abd14

View File

@ -788,7 +788,7 @@ def test_xref_parsing():
def filter_warnings(warning, file): def filter_warnings(warning, file):
lines = warning.getvalue().split("\n"); lines = warning.getvalue().split("\n");
res = [l for l in lines if "/domain-cpp/{}.rst".format(file) in l and res = [l for l in lines if "domain-cpp" in l and "{}.rst".format(file) in l and
"WARNING: document isn't included in any toctree" not in l] "WARNING: document isn't included in any toctree" not in l]
print("Filtered warnings for file '{}':".format(file)) print("Filtered warnings for file '{}':".format(file))
for w in res: for w in res: