[Lldb-commits] [lldb] r326414 - [test] Restore cleanup behavior in TestQuoting.py
Vedant Kumar via lldb-commits
lldb-commits at lists.llvm.org
Wed Feb 28 19:03:38 PST 2018
Author: vedantk
Date: Wed Feb 28 19:03:38 2018
New Revision: 326414
URL: http://llvm.org/viewvc/llvm-project?rev=326414&view=rev
Log:
[test] Restore cleanup behavior in TestQuoting.py
Before the change to compile tests out-of-tree, the cleanup classmethod
in TestQuoting.py would remove a temp file. After the change it threw an
exception due to a malformed call to getBuildArtifact().
Bring back the old behavior.
Modified:
lldb/trunk/packages/Python/lldbsuite/test/settings/quoting/TestQuoting.py
Modified: lldb/trunk/packages/Python/lldbsuite/test/settings/quoting/TestQuoting.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/settings/quoting/TestQuoting.py?rev=326414&r1=326413&r2=326414&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/settings/quoting/TestQuoting.py (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/settings/quoting/TestQuoting.py Wed Feb 28 19:03:38 2018
@@ -22,7 +22,7 @@ class SettingsCommandTestCase(TestBase):
@classmethod
def classCleanup(cls):
"""Cleanup the test byproducts."""
- cls.RemoveTempFile(self.getBuildArtifact("stdout.txt"))
+ cls.RemoveTempFile("stdout.txt")
@no_debug_info_test
def test_no_quote(self):
More information about the lldb-commits
mailing list