diff options
author | Pavel Labath <labath@google.com> | 2018-02-16 11:39:38 +0000 |
---|---|---|
committer | Pavel Labath <labath@google.com> | 2018-02-16 11:39:38 +0000 |
commit | e627d1653e6865dffcf2e5d5389f13ecf0f295a0 (patch) | |
tree | 54c56103c669ef13649dcd9754c8e6805304131e /lldb/packages/Python/lldbsuite/test | |
parent | 149343c374673d942dc1966903101d17b044866e (diff) | |
download | bcm5719-llvm-e627d1653e6865dffcf2e5d5389f13ecf0f295a0.tar.gz bcm5719-llvm-e627d1653e6865dffcf2e5d5389f13ecf0f295a0.zip |
Fix paralelization of remote tests
Since we now can run multiple tests from the same directory at once, we
need to include the test name in the remote test directory instead.
I'm not sure if the test_number in the remote path is necessary anymore
(or even if it was ever necessary), but I choose to leave it in for now.
llvm-svn: 325334
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/lldbtest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/lldbtest.py b/lldb/packages/Python/lldbsuite/test/lldbtest.py index d6200f92d60..b0bd866e8f4 100644 --- a/lldb/packages/Python/lldbsuite/test/lldbtest.py +++ b/lldb/packages/Python/lldbsuite/test/lldbtest.py @@ -676,7 +676,7 @@ class Base(unittest2.TestCase): if not lldb.remote_platform or not configuration.lldb_platform_working_dir: return - components = [str(self.test_number)] + self.mydir.split(os.path.sep) + components = self.mydir.split(os.path.sep) + [str(self.test_number), self.getBuildDirBasename()] remote_test_dir = configuration.lldb_platform_working_dir for c in components: remote_test_dir = lldbutil.join_remote_paths(remote_test_dir, c) |