[clang] 0aaeb25 - [include-mapping] Fix gen_std.py test

Viktoriia Bakalova via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 18 05:08:11 PST 2023


Author: Viktoriia Bakalova
Date: 2023-01-18T13:07:41Z
New Revision: 0aaeb25525ecbc667a9029a4be0d87085392954a

URL: https://github.com/llvm/llvm-project/commit/0aaeb25525ecbc667a9029a4be0d87085392954a
DIFF: https://github.com/llvm/llvm-project/commit/0aaeb25525ecbc667a9029a4be0d87085392954a.diff

LOG: [include-mapping] Fix gen_std.py test

Differential Revision: https://reviews.llvm.org/D141944

Added: 
    

Modified: 
    clang/tools/include-mapping/test.py

Removed: 
    


################################################################################
diff  --git a/clang/tools/include-mapping/test.py b/clang/tools/include-mapping/test.py
index 9fad952b2e97c..507e462e75273 100755
--- a/clang/tools/include-mapping/test.py
+++ b/clang/tools/include-mapping/test.py
@@ -24,11 +24,11 @@ def testParseIndexPage(self):
 
     actual = _ParseIndexPage(html)
     expected = [
-      ("abs", "abs.html", True),
-      ("abs", "complex/abs.html", True),
-      ("acos", "acos.html", False),
-      ("acosh", "acosh.html", False),
-      ("as_bytes", "as_bytes.html", False),
+      ("abs", "abs.html", 'int'),
+      ("abs", "complex/abs.html", 'std::complex'),
+      ("acos", "acos.html", None),
+      ("acosh", "acosh.html", None),
+      ("as_bytes", "as_bytes.html", None),
     ]
     self.assertEqual(len(actual), len(expected))
     for i in range(0, len(actual)):


        


More information about the cfe-commits mailing list