[PATCH] D31677: [lit] Use process pools for test execution by default

Reid Kleckner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 25 18:28:49 PDT 2017


rnk added a comment.

In https://reviews.llvm.org/D31677#820773, @mgorny wrote:

> This commit breaks the unittest adaptor:
>
>   FAIL: lit :: unittest-adaptor.py (1 of 1)
>   
>
> More specifically, the `execute_test()` method is broken:
>
>   ======================================================================
>   ERROR: runTest (lit.LitTestCase.LitTestCase)
>   unittest-adaptor :: test-one.txt
>   ----------------------------------------------------------------------
>   Traceback (most recent call last):
>     File "/usr/src/llvm/utils/lit/lit/LitTestCase.py", line 27, in runTest
>       self._run.execute_test(self._test)
>     File "/usr/src/llvm/utils/lit/lit/run.py", line 221, in execute_test
>       return execute_test(test, self.lit_config, self.parallelism_semaphores)
>   AttributeError: 'Run' object has no attribute 'parallelism_semaphores'


Hopefully https://reviews.llvm.org/rL309071 fixes this. I've forgotten the command line to run the lit test suite. Hopefully someone can get it running again as part of check-llvm so I won't have to. :)


Repository:
  rL LLVM

https://reviews.llvm.org/D31677





More information about the llvm-commits mailing list