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

Caslyn Tonelli via libc-commits libc-commits at lists.llvm.org
Mon Jan 6 12:24:02 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"
----------------
Caslyn wrote:

Double checking: is this `.../test_header.h` compatible with the rename of `test_header.h` -> `test_small.h` in `libc/utils/hdrgen/tests/input/test_small.yaml`?

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


More information about the libc-commits mailing list