Flush log output after each line
Otherwise the output can be out of order when redirected.
Signed-off-by: Andrzej Kurek <andrzej.kurek@arm.com>
diff --git a/tests/scripts/depends.py b/tests/scripts/depends.py
index 521bbc5..f18b94b 100755
--- a/tests/scripts/depends.py
+++ b/tests/scripts/depends.py
@@ -31,6 +31,7 @@
def log_line(text, prefix='depends.py'):
"""Print a status message."""
sys.stderr.write(prefix + ' ' + text + '\n')
+ sys.stderr.flush()
def backup_config(options):
"""Back up the library configuration file (config.h)."""