@@ -967,6 +967,7 @@ def runCmd(self, cmd, msg=None, check=True, trace=False, inHistory=False):
967
967
968
968
running = cmd .startswith ("run" ) or cmd .startswith ("process launch" )
969
969
970
+ print ("runCmd:" , cmd )
970
971
for i in range (self .maxLaunchCount if running else 1 ):
971
972
with recording (self , trace ) as sbuf :
972
973
print ("runCmd:" , cmd , file = sbuf )
@@ -982,6 +983,8 @@ def runCmd(self, cmd, msg=None, check=True, trace=False, inHistory=False):
982
983
print ("runCmd failed!" , file = sbuf )
983
984
print (self .res .GetError (), file = sbuf )
984
985
986
+ print ("output:" , self .res .GetOutput ())
987
+
985
988
if self .res .Succeeded ():
986
989
break
987
990
elif running :
@@ -1487,9 +1490,11 @@ def build(
1487
1490
self .runBuildCommand (command )
1488
1491
1489
1492
def runBuildCommand (self , command ):
1493
+ print ('runBuildCommand ' , seven .join_for_shell (command ))
1490
1494
self .trace (seven .join_for_shell (command ))
1491
1495
try :
1492
1496
output = check_output (command , stderr = STDOUT , errors = "replace" )
1497
+ print ("output:" , output )
1493
1498
except CalledProcessError as cpe :
1494
1499
raise build_exception .BuildError (cpe )
1495
1500
self .trace (output )
0 commit comments