Don't discard stdout when running premake (hiding important errors)
This commit is contained in:
parent
9457c63a64
commit
20458de752
|
@ -315,7 +315,7 @@ def run_premake(target_os, action):
|
||||||
target_os: target --os to pass to premake.
|
target_os: target --os to pass to premake.
|
||||||
action: action to preform.
|
action: action to preform.
|
||||||
"""
|
"""
|
||||||
shell_call([
|
ret = subprocess.call([
|
||||||
'python',
|
'python',
|
||||||
os.path.join('tools', 'build', 'premake'),
|
os.path.join('tools', 'build', 'premake'),
|
||||||
'--file=premake5.lua',
|
'--file=premake5.lua',
|
||||||
|
@ -324,7 +324,9 @@ def run_premake(target_os, action):
|
||||||
'--test-suite-mode=combined',
|
'--test-suite-mode=combined',
|
||||||
'--verbose',
|
'--verbose',
|
||||||
action,
|
action,
|
||||||
])
|
], shell=False)
|
||||||
|
|
||||||
|
if ret == 0:
|
||||||
generate_version_h()
|
generate_version_h()
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue