[oe-commits] [openembedded-core] 01/05: oeqa/concurrencytest: Ensure subunit streams are flushed at exit

git at git.openembedded.org git at git.openembedded.org
Tue Aug 21 19:19:41 UTC 2018


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 33ccc3392a95be04b13b2532a9cac8647c387ff1
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Tue Aug 21 18:28:32 2018 +0000

    oeqa/concurrencytest: Ensure subunit streams are flushed at exit
    
    Without this, error output such as that in the teardown can be lost
    and processes may recieve signals they're not expecting causing other
    strange errors.
    
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/lib/oeqa/core/utils/concurrencytest.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/lib/oeqa/core/utils/concurrencytest.py b/meta/lib/oeqa/core/utils/concurrencytest.py
index 8505865..6404cb4 100644
--- a/meta/lib/oeqa/core/utils/concurrencytest.py
+++ b/meta/lib/oeqa/core/utils/concurrencytest.py
@@ -225,7 +225,9 @@ def fork_for_tests(concurrency_num, suite):
                 finally:
                     if newbuilddir:
                         removebuilddir(newbuilddir)
+                    stream.flush()
                     os._exit(1)
+            stream.flush()
             os._exit(0)
         else:
             os.close(c2pwrite)

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list