================
@@ -52,6 +52,21 @@ def _executeScriptInternal(test, litConfig, commands):
return (out, err, exitCode, timeoutInfo, parsedCommands)
+def _validateModuleDependencies(modules):
+ for m in modules:
+ if m not in ("std", "std.compat"):
+ raise RuntimeError(
+ f"Invalid module dependency '{m}', only 'std' and 'std.compat'
are valid"
+ )
+
+
+def _getSubstitution(substitution, config):
----------------
mordante wrote:
This doesn't work, dsl depends on format. What would work is move this to
config. I've copied the _appendToSubstitution and will clean up in a follow-up
commit.
https://github.com/llvm/llvm-project/pull/76246
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits