summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2015-03-26 18:59:56 +0000
committerZachary Turner <zturner@google.com>2015-03-26 18:59:56 +0000
commit072964dc0d32bbd0bfa21f0c77dfb0fb1a29ce2c (patch)
tree2d5583d7a170b16338e0fab224f375bcc18901ee
parentd8587b8ba6cb843c0833b3a6ff76cf935a47106a (diff)
downloadbcm5719-llvm-072964dc0d32bbd0bfa21f0c77dfb0fb1a29ce2c.tar.gz
bcm5719-llvm-072964dc0d32bbd0bfa21f0c77dfb0fb1a29ce2c.zip
Fix the remaining two test failures caused by re-ordering of teardown.
Previously we were using teardown hooks in these two instances to shutdown processes. TestBase already deletes all targets in its own teardown, which will kill processes, so these steps weren't necessary. llvm-svn: 233308
-rw-r--r--lldb/test/functionalities/abbreviation/TestAbbreviations.py1
-rw-r--r--lldb/test/functionalities/load_unload/TestLoadUnload.py4
2 files changed, 0 insertions, 5 deletions
diff --git a/lldb/test/functionalities/abbreviation/TestAbbreviations.py b/lldb/test/functionalities/abbreviation/TestAbbreviations.py
index aae1b8901fd..fbf8171c316 100644
--- a/lldb/test/functionalities/abbreviation/TestAbbreviations.py
+++ b/lldb/test/functionalities/abbreviation/TestAbbreviations.py
@@ -137,7 +137,6 @@ class AbbreviationsTestCase(TestBase):
# The test framework relies on detecting either "run" or "process launch"
# command to automatically kill the inferior upon tear down.
# But we'll be using "pro la" command to launch the inferior.
- self.addTearDownHook(lambda: self.runCmd("process kill"))
self.expect("pro la",
patterns = [ "Process .* launched: "])
diff --git a/lldb/test/functionalities/load_unload/TestLoadUnload.py b/lldb/test/functionalities/load_unload/TestLoadUnload.py
index 96e0e16204f..e8f5ed7accb 100644
--- a/lldb/test/functionalities/load_unload/TestLoadUnload.py
+++ b/lldb/test/functionalities/load_unload/TestLoadUnload.py
@@ -58,10 +58,6 @@ class LoadUnloadTestCase(TestBase):
# patterns = ["%s-[^-]*-[^-]*" % self.getArchitecture()])
# Add an image search path substitution pair.
self.runCmd("target modules search-paths add %s %s" % (os.getcwd(), new_dir))
- # Add teardown hook to clear image-search-paths after the test.
- # rdar://problem/10501020
- # Uncomment the following to reproduce 10501020.
- self.addTearDownHook(lambda: self.runCmd("target modules search-paths clear"))
self.expect("target modules search-paths list",
substrs = [os.getcwd(), new_dir])
OpenPOWER on IntegriCloud