diff options
author | Andrej Rode <andrej.rode@ettus.com> | 2016-11-30 17:11:38 -0800 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2016-12-01 12:44:41 -0800 |
commit | ae9370d5b3b9ef60ca66225604750584695799c8 (patch) | |
tree | 7b39a18871557d75216d7288fed00465ac13477a /host/tests/devtest/run_testsuite.py | |
parent | 7fc01d5fe3c8ecc71d1b8485e4999e721becf67c (diff) | |
download | uhd-ae9370d5b3b9ef60ca66225604750584695799c8.tar.gz uhd-ae9370d5b3b9ef60ca66225604750584695799c8.tar.bz2 uhd-ae9370d5b3b9ef60ca66225604750584695799c8.zip |
devtest: flush stdout after print statements
Diffstat (limited to 'host/tests/devtest/run_testsuite.py')
-rwxr-xr-x | host/tests/devtest/run_testsuite.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/host/tests/devtest/run_testsuite.py b/host/tests/devtest/run_testsuite.py index 2826f25e9..44f8b9081 100755 --- a/host/tests/devtest/run_testsuite.py +++ b/host/tests/devtest/run_testsuite.py @@ -102,6 +102,7 @@ def main(): ser=uhd_info.get('serial') )) print('--- This will take some time. Better grab a cup of tea.') + sys.stdout.flush() args_str = uhd_info['args'] env['_UHD_TEST_ARGS_STR'] = args_str logfile_name = "log{}.log".format( @@ -124,6 +125,7 @@ def main(): stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, ) print(proc.communicate()[0]) + sys.stdout.flush() if proc.returncode != 0: tests_passed = False print('--- Done testing all attached devices.') |