[PATCH] D28789: [lit] Support sharding testsuites, for parallel execution.

Graydon Hoare via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 17 21:36:42 PST 2017


graydon updated this revision to Diff 84797.
graydon added a comment.

Update to round-robin sharding

The previous approach would split a testsuite like [1, 2, 3, 4, 5] into 3
shards [1, 2], [3, 4], and [5]. This change will split it into 3 shards
[1, 4, [2, 5], and [3]. That is, it takes "every Nth test" rather than
"the next N tests" for each shard.

Also fixed the tests to actually run FileCheck.


https://reviews.llvm.org/D28789

Files:
  docs/CommandGuide/lit.rst
  utils/lit/lit/main.py
  utils/lit/tests/selecting.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28789.84797.patch
Type: text/x-patch
Size: 8305 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170118/2b6367b0/attachment.bin>


More information about the llvm-commits mailing list