forked from OSchip/llvm-project
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
This commit is contained in:
parent
d8587b8ba6
commit
072964dc0d
|
@ -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: "])
|
||||
|
||||
|
|
|
@ -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])
|
||||
|
|
Loading…
Reference in New Issue