]> code.ossystems Code Review - openembedded-core.git/commit
oeqa/qemurunner: Use oe._exit(), not sys.exit()
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 25 Sep 2021 09:21:58 +0000 (10:21 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 26 Sep 2021 11:05:04 +0000 (12:05 +0100)
commitec08498ff29de9ccd23be88b9d7af3dab6bbb81e
tree6e03373d1b1c878b337a1fc12e6b7305c5a6bde6
parentcb2e8efd316d44b9b1453882114856e0eb7b3500
oeqa/qemurunner: Use oe._exit(), not sys.exit()

sys.exit will cause finally statements and other code to run at exit. Since
we're using os.fork() here, os._exit() is apprioriate in this codepath.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/utils/qemurunner.py