mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 04:32:44 +01:00
[lit] Silence warning about importing the resource module on Windows
lit was printing this warning on every test run on Windows, and that is not necessary.
This commit is contained in:
parent
40640b50a0
commit
fbcf20e723
@ -163,7 +163,9 @@ class ParallelRun(Run):
|
||||
self.lit_config.note('Raised process limit from %d to %d' % \
|
||||
(soft_limit, desired_limit))
|
||||
except Exception as ex:
|
||||
self.lit_config.warning('Failed to raise process limit: %s' % ex)
|
||||
# Warn, unless this is Windows, in which case this is expected.
|
||||
if os.name != 'nt':
|
||||
self.lit_config.warning('Failed to raise process limit: %s' % ex)
|
||||
|
||||
def _install_win32_signal_handler(self, pool):
|
||||
if lit.util.win32api is not None:
|
||||
|
Loading…
Reference in New Issue
Block a user