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

Michał Górny via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 26 01:24:25 PDT 2017


mgorny added a comment.

Thanks for the fix. Now it fails on another problem:

  ********************
  FAIL: lit :: unittest-adaptor.py (19 of 21)
  ******************** TEST 'lit :: unittest-adaptor.py' FAILED ********************
  Script:
  --
  /usr/lib/python-exec/python3.5/python /usr/src/llvm/utils/lit/tests/unittest-adaptor.py /usr/src/llvm/utils/lit/tests/../tests/Inputs/unittest-adaptor 2> /usr/src/llvm/utils/lit/tests/Output/unittest-adaptor.py.tmp.err
  FileCheck < /usr/src/llvm/utils/lit/tests/Output/unittest-adaptor.py.tmp.err /usr/src/llvm/utils/lit/tests/unittest-adaptor.py
  --
  Exit Code: 1
  
  Command Output (stdout):
  --
  $ "/usr/lib/python-exec/python3.5/python" "/usr/src/llvm/utils/lit/tests/unittest-adaptor.py" "/usr/src/llvm/utils/lit/tests/../tests/Inputs/unittest-adaptor"
  # redirected output from '/usr/src/llvm/utils/lit/tests/Output/unittest-adaptor.py.tmp.err':
  Traceback (most recent call last):
    File "/usr/src/llvm/utils/lit/tests/unittest-adaptor.py", line 16, in <module>
      unittest_suite = lit.discovery.load_test_suite([input_path])
    File "/usr/src/llvm/utils/lit/lit/discovery.py", line 251, in load_test_suite
      run = lit.run.Run(litConfig, find_tests_for_inputs(litConfig, inputs))
    File "/usr/src/llvm/utils/lit/lit/run.py", line 52, in __init__
      self.lit_config.parallelism_groups.items()}
  AttributeError: 'list' object has no attribute 'items'
  
  note: command had no output on stdout or stderr
  error: command failed with exit status: 1


Repository:
  rL LLVM

https://reviews.llvm.org/D31677





More information about the llvm-commits mailing list