[libcxx-commits] [libcxx] [libc++] Fix issue with running transitive includes tests on Docker-in-Docker (PR #110554)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Wed Oct 2 11:04:21 PDT 2024


================
@@ -0,0 +1,36 @@
+#!/usr/bin/env python
+# ===----------------------------------------------------------------------===##
+#
+# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+# See https://llvm.org/LICENSE.txt for license information.
+# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+#
+# ===----------------------------------------------------------------------===##
+
+import argparse
+import os
+import sys
+
+if __name__ == "__main__":
+    parser = argparse.ArgumentParser(
+        description="""Diff two files.""",
+    )
+    parser.add_argument("file1", default=None)
+    parser.add_argument("file2", default=None)
+    args = parser.parse_args()
+
+    def doread(f):
----------------
ldionne wrote:

Oh, sorry actually I missed that you were using `difflib`. I was using `difflib` in an earlier version of this patch and it didn't work, so I dumbed it down to comparing the lines naively.

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


More information about the libcxx-commits mailing list