diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2016-02-24 16:51:30 +1300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-02-28 11:33:01 +0000 |
commit | 4bae2f25b8a55c80c3ca48b63d093c5a7594c636 (patch) | |
tree | 09f636bce4006e013f7868fc5a850337c91d3bb7 /meta-selftest/recipes-test/devtool/devtool-upgrade-test1_1.5.3.bb.upgraded | |
parent | 10290f2245cd95e95078e809a1b388d3573d73b8 (diff) | |
download | poky-4bae2f25b8a55c80c3ca48b63d093c5a7594c636.tar.gz |
oe-selftest: devtool: rework devtool upgrade test
* Use a more real-world test of a recipe pointing to a remote file
* The cleanup tracking / teardown commands need to be added towards the
top, or they won't have the desired effect of cleaning up if the test
fails.
* Check that a versioned subdirectory gets renamed to match the new
version
* Ensure the recipe contents gets changed as we expect it to
* Check that the recipe directory is deleted by devtool reset at the end
(From OE-Core rev: d0ae258e963f9bafffc4ca43c87497d27e57c127)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-selftest/recipes-test/devtool/devtool-upgrade-test1_1.5.3.bb.upgraded')
-rw-r--r-- | meta-selftest/recipes-test/devtool/devtool-upgrade-test1_1.5.3.bb.upgraded | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/meta-selftest/recipes-test/devtool/devtool-upgrade-test1_1.5.3.bb.upgraded b/meta-selftest/recipes-test/devtool/devtool-upgrade-test1_1.5.3.bb.upgraded new file mode 100644 index 0000000000..afcc4aa13c --- /dev/null +++ b/meta-selftest/recipes-test/devtool/devtool-upgrade-test1_1.5.3.bb.upgraded | |||
@@ -0,0 +1,14 @@ | |||
1 | SUMMARY = "Pipe viewer test recipe for devtool upgrade test" | ||
2 | LICENSE = "Artistic-2.0" | ||
3 | LIC_FILES_CHKSUM = "file://doc/COPYING;md5=9c50db2589ee3ef10a9b7b2e50ce1d02" | ||
4 | |||
5 | SRC_URI = "http://www.ivarch.com/programs/sources/pv-${PV}.tar.gz \ | ||
6 | file://0001-Add-a-note-line-to-the-quick-reference.patch" | ||
7 | |||
8 | SRC_URI[md5sum] = "062bca5ff33df1dd09472e7fc3bbe332" | ||
9 | SRC_URI[sha256sum] = "9dd45391806b0ed215abee4c5ac1597d018c386fe9c1f5afd2f6bc3b07fd82c3" | ||
10 | |||
11 | S = "${WORKDIR}/pv-${PV}" | ||
12 | |||
13 | inherit autotools | ||
14 | |||