================ @@ -19,9 +19,23 @@ def setUp(self): @add_test_categories(["libstdcxx"]) @expectedFailureAll(bugnumber="llvm.org/pr50861", compiler="gcc") def test_with_run_command(self): + self.with_run_command("", {}) + + @add_test_categories(["libstdcxx"]) + @expectedFailureAll(bugnumber="llvm.org/pr50861", compiler="gcc") + def test_with_run_command_debug(self): + build_args = {"CXXFLAGS_EXTRAS": "-D_GLIBCXX_DEBUG"} + self.with_run_command("__debug::", build_args) + + def with_run_command(self, namespace: str, dictionary: dict): """Test that that file and class static variables display correctly.""" self.build() self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET) + self.build(dictionary=dictionary) + artifact_name = dictionary.get("EXE", "a.out") + self.runCmd( + "file " + self.getBuildArtifact(artifact_name), CURRENT_EXECUTABLE_SET ---------------- Michael137 wrote:
```suggestion self.runCmd( "file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET ``` https://github.com/llvm/llvm-project/pull/140727 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits