summaryrefslogtreecommitdiffstats
path: root/meta-selftest/README
diff options
context:
space:
mode:
authorOla x Nilsson <ola.x.nilsson@axis.com>2017-08-28 16:58:15 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-09-11 17:30:28 +0100
commit7470b7ef19233793a418b6a2f5dc3eb396fca4f4 (patch)
tree2ddd323eb76ce1bed7dab8945e0ec8c95641d165 /meta-selftest/README
parent1d5d4165a5bc257650a4c136dfa4a58ade3e404e (diff)
downloadpoky-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/README')
0 files changed, 0 insertions, 0 deletions