[Lldb-commits] [lldb] r325334 - Fix paralelization of remote tests

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Fri Feb 16 03:39:38 PST 2018

Author: labath
Date: Fri Feb 16 03:39:38 2018
New Revision: 325334

URL: http://llvm.org/viewvc/llvm-project?rev=325334&view=rev
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.


Modified: lldb/trunk/packages/Python/lldbsuite/test/lldbtest.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lldbtest.py?rev=325334&r1=325333&r2=325334&view=diff
--- lldb/trunk/packages/Python/lldbsuite/test/lldbtest.py (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/lldbtest.py Fri Feb 16 03:39:38 2018
@@ -676,7 +676,7 @@ class Base(unittest2.TestCase):
         if not lldb.remote_platform or not configuration.lldb_platform_working_dir:
-        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)

More information about the lldb-commits mailing list