summaryrefslogtreecommitdiffstats
path: root/lldb/test/functionalities/inferior-crashing/recursive-inferior/TestRecursiveInferior.py
diff options
context:
space:
mode:
authorRobert Flack <flackr@gmail.com>2015-04-17 08:02:18 +0000
committerRobert Flack <flackr@gmail.com>2015-04-17 08:02:18 +0000
commitfb2f6c60f2e092749c9cc355a2d324e41f478c31 (patch)
treedeb527e01dad7e999377a8e0daab69561608ef40 /lldb/test/functionalities/inferior-crashing/recursive-inferior/TestRecursiveInferior.py
parent4b08ea8eca9e802adeb129085b4de6898fbc220e (diff)
downloadbcm5719-llvm-fb2f6c60f2e092749c9cc355a2d324e41f478c31.tar.gz
bcm5719-llvm-fb2f6c60f2e092749c9cc355a2d324e41f478c31.zip
Uses the target platform to determine the platform context.
Uses the target platform to determine the platform context to use. This fixes an early failure in some tests when running on a different remote target. Test Plan: ./dotest.py $DOTEST_OPTS -t -p TestGlobalVariables.py|TestSharedLib.py Running on macosx -> linux, this fails at a later stage in the test - rather than in registerSharedLibrariesWithTarget looking for a library without the correct "lib" prefix and ".so" suffix. Differential Revision: http://reviews.llvm.org/D9047 llvm-svn: 235164
Diffstat (limited to 'lldb/test/functionalities/inferior-crashing/recursive-inferior/TestRecursiveInferior.py')
-rw-r--r--lldb/test/functionalities/inferior-crashing/recursive-inferior/TestRecursiveInferior.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/test/functionalities/inferior-crashing/recursive-inferior/TestRecursiveInferior.py b/lldb/test/functionalities/inferior-crashing/recursive-inferior/TestRecursiveInferior.py
index 4577c617ce1..7a9648d98a3 100644
--- a/lldb/test/functionalities/inferior-crashing/recursive-inferior/TestRecursiveInferior.py
+++ b/lldb/test/functionalities/inferior-crashing/recursive-inferior/TestRecursiveInferior.py
@@ -205,7 +205,7 @@ class CrashingRecursiveInferiorTestCase(TestBase):
self.check_stop_reason()
expected_state = 'exited' # Provide the exit code.
- if self.platformIsDarwin() or self.platformIsLinux():
+ if self.platformIsDarwin() or self.getPlatform() == "linux":
expected_state = 'stopped' # TODO: Determine why 'next' and 'continue' have no effect after a crash.
self.expect("next",
OpenPOWER on IntegriCloud