diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2017-12-18 20:12:36 +0000 | 
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2017-12-18 20:12:36 +0000 | 
| commit | ef5d0b5e97ec8e6fa395d377b09aa7755e345b4f (patch) | |
| tree | 27916256fdeeb57d10d2f3d6948be5d71a703215 /packages/Python/lldbsuite/test/macosx/thread-names | |
| parent | 76e0736e7fcfeb179779e49c05604464b1ccd704 (diff) | |
Notes
Diffstat (limited to 'packages/Python/lldbsuite/test/macosx/thread-names')
| -rw-r--r-- | packages/Python/lldbsuite/test/macosx/thread-names/TestInterruptThreadNames.py | 9 | 
1 files changed, 8 insertions, 1 deletions
| diff --git a/packages/Python/lldbsuite/test/macosx/thread-names/TestInterruptThreadNames.py b/packages/Python/lldbsuite/test/macosx/thread-names/TestInterruptThreadNames.py index b6612b26bde6f..ae2916c92de97 100644 --- a/packages/Python/lldbsuite/test/macosx/thread-names/TestInterruptThreadNames.py +++ b/packages/Python/lldbsuite/test/macosx/thread-names/TestInterruptThreadNames.py @@ -70,7 +70,14 @@ class TestInterruptThreadNames(TestBase):          inferior_set_up = lldb.SBValue()          retry = 5          while retry > 0: -            time.sleep(1) +            arch = self.getArchitecture() +            # when running the testsuite against a remote arm device, it may take +            # a little longer for the process to start up.  Use a "can't possibly take +            # longer than this" value. +            if arch == 'arm64' or arch == 'armv7': +                time.sleep(10) +            else: +                time.sleep(1)              process.SendAsyncInterrupt()              self.assertTrue(self.wait_for_stop(process, listener), "Check that process is paused")              inferior_set_up = process.GetTarget().CreateValueFromExpression("threads_up_and_running", "threads_up_and_running") | 
