[compiler-rt] [llvm] [compiler-rt][test] Resolved export command failure in test run with lit's internal shell (PR #105961)

Paul Kirth via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 26 12:08:54 PDT 2024


================
@@ -356,7 +356,7 @@ def executeBuiltinPopd(cmd, shenv):
 def executeBuiltinExport(cmd, shenv):
     """executeBuiltinExport - Set an environment variable."""
     if len(cmd.args) != 2:
-        raise InternalShellError("'export' supports only one argument")
+        raise InternalShellError(cmd, "'export' supports only one argument")
----------------
ilovepi wrote:

There should be an accompanying test.

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


More information about the llvm-commits mailing list