================ @@ -2,3 +2,15 @@ config.substitutions = list(config.substitutions) config.substitutions.insert( 0, (r"%clang\b", """*** Do not use the driver in Sema tests. ***""") ) + +if lit_config.update_tests: + import sys + import os + + curdir = os.path.dirname(os.path.realpath(__file__)) + testdir = os.path.dirname(curdir) + clangdir = os.path.dirname(testdir) + utilspath = os.path.join(clangdir, "utils") ---------------- hnrklssn wrote:
Ah neat, wasn't aware that was a thing https://github.com/llvm/llvm-project/pull/108425 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits