@ -70,6 +70,9 @@ class AnsibleCollection:
)
)
print ( f " Running: { args } " )
print ( f " Running: { args } " )
print ( )
print ( )
# Without this, the print statements are shown after the command
# output when building in mock.
sys . stdout . flush ( )
subprocess . run ( args , check = True , cwd = self . collection_srcdir )
subprocess . run ( args , check = True , cwd = self . collection_srcdir )
print ( )
print ( )
@ -90,6 +93,9 @@ class AnsibleCollection:
args = ( " ansible-test " , " units " , * extra_args )
args = ( " ansible-test " , " units " , * extra_args )
print ( f " Running: { args } " )
print ( f " Running: { args } " )
print ( )
print ( )
# Without this, the print statements are shown after the command
# output when building in mock.
sys . stdout . flush ( )
subprocess . run ( args , cwd = temppath , check = True )
subprocess . run ( args , cwd = temppath , check = True )