Commit a4a1d9f0 authored by Pavel Emelyanov's avatar Pavel Emelyanov

zdtm.py: Flush stdout before running make

Otherwise make's output appears in logs before zdtm.py's one
Reported-by: 's avatarAndrey Vagin <avagin@odin.com>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent db87346f
...@@ -229,6 +229,7 @@ class zdtm_test: ...@@ -229,6 +229,7 @@ class zdtm_test:
self.auto_reap = True self.auto_reap = True
def __make_action(self, act, env = None, root = None): def __make_action(self, act, env = None, root = None):
sys.stdout.flush() # Not to let make's messages appear before ours
tpath = self.__name + '.' + act tpath = self.__name + '.' + act
s_args = ['make', '--no-print-directory', \ s_args = ['make', '--no-print-directory', \
'-C', os.path.dirname(tpath), \ '-C', os.path.dirname(tpath), \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment