[libc-commits] [libc] [libc] Revamp hdrgen command line and build integration (PR #121522)

Roland McGrath via libc-commits libc-commits at lists.llvm.org
Tue Jan 7 13:39:51 PST 2025


================
@@ -51,26 +42,23 @@ def compare_files(self, generated_file, expected_file):
         self.assertEqual(gen_content, exp_content)
 
     def test_generate_header(self):
-        yaml_file = "libc/utils/hdrgen/tests/input/test_small.yaml"
-        h_def_file = "libc/utils/hdrgen/tests/input/test_small.h.def"
-        expected_output_file = (
-            self.source_dir / "libc/utils/hdrgen/tests/expected_output/test_header.h"
-        )
+        yaml_file = self.source_dir / "input/test_small.yaml"
+        expected_output_file = self.source_dir / "expected_output/test_header.h"
----------------
frobtech wrote:

The `header` field in the YAML doesn't actually do anything.  The contents of the file are unaffected by it.


https://github.com/llvm/llvm-project/pull/121522


More information about the libc-commits mailing list