compilers: Remove spurious wait while running sanity check
Popen.communicate() already waits for the process to complete.
This commit is contained in:
parent
c9f16a4ab1
commit
58386c4df3
|
@ -830,7 +830,6 @@ class CPPCompiler(CCompiler):
|
||||||
mlog.debug('-----\nSanity check compile stderr:')
|
mlog.debug('-----\nSanity check compile stderr:')
|
||||||
mlog.debug(stde)
|
mlog.debug(stde)
|
||||||
mlog.debug('-----')
|
mlog.debug('-----')
|
||||||
pc.wait()
|
|
||||||
if pc.returncode != 0:
|
if pc.returncode != 0:
|
||||||
raise EnvironmentException('Compiler %s can not compile programs.' % self.name_string())
|
raise EnvironmentException('Compiler %s can not compile programs.' % self.name_string())
|
||||||
if self.is_cross:
|
if self.is_cross:
|
||||||
|
|
Loading…
Reference in New Issue