diff options
author | Ola x Nilsson <ola.x.nilsson@axis.com> | 2017-08-28 16:58:15 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-09-11 17:30:28 +0100 |
commit | 7470b7ef19233793a418b6a2f5dc3eb396fca4f4 (patch) | |
tree | 2ddd323eb76ce1bed7dab8945e0ec8c95641d165 /meta-selftest/COPYING.MIT | |
parent | 1d5d4165a5bc257650a4c136dfa4a58ade3e404e (diff) | |
download | poky-7470b7ef19233793a418b6a2f5dc3eb396fca4f4.tar.gz |
oeqa/selftest/case: Add recipeinc method
The recipeinc method returns the absolute path of the test_recipe.inc
file of a specified recipe. It replaces four instances of identical
code, and make it possible to access the filename from a testcase for
cleanup.
The write_recipeinc and append_recipeinc methods are changed to return
the path to the file in case that is useful.
The test_recipe.inc file is usually cleaned up in a finally block,
but that block executes before any teardown operations. This blocks
any teardown that requires the presence of the test_recipe.inc file.
(From OE-Core rev: cdb431676456f47da1a3b70caddf49f083948798)
Signed-off-by: Ola x Nilsson <olani@axis.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-selftest/COPYING.MIT')
0 files changed, 0 insertions, 0 deletions