summaryrefslogtreecommitdiff
path: root/meta/classes/ptest.bbclass
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2015-07-07 23:30:22 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-07-16 15:08:43 +0100
commit2b407176091c5a8697260c79f7559c933f38c317 (patch)
tree3d8a157cdff7c95f8a136d842eed0510fe9f13b7 /meta/classes/ptest.bbclass
parent7ee64ea60ede5477b2f9a355d93bdc556e6b7895 (diff)
downloadopenembedded-core-2b407176091c5a8697260c79f7559c933f38c317.tar.gz
openembedded-core-2b407176091c5a8697260c79f7559c933f38c317.tar.bz2
openembedded-core-2b407176091c5a8697260c79f7559c933f38c317.zip
ptest: add dirs flag to ptest tasks
The ptest configure/compile/install tasks mirror the base configure/compile/install tasks, so add an explicit dirs flag to ensure they mkdir() and chdir() the right directory. Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/classes/ptest.bbclass')
-rw-r--r--meta/classes/ptest.bbclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/ptest.bbclass b/meta/classes/ptest.bbclass
index 101ab9df4a..2ac9143abe 100644
--- a/meta/classes/ptest.bbclass
+++ b/meta/classes/ptest.bbclass
@@ -46,6 +46,9 @@ do_install_ptest_base() {
fi
}
+do_configure_ptest_base[dirs] = "${B}"
+do_compile_ptest_base[dirs] = "${B}"
+do_install_ptest_base[dirs] = "${B}"
do_install_ptest_base[cleandirs] = "${D}${PTEST_PATH}"
addtask configure_ptest_base after do_configure before do_compile