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 | |
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')
-rw-r--r-- | meta-selftest/recipes-test/devtool/devtool-upgrade-test1_1.5.3.bb | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/meta-selftest/recipes-test/devtool/devtool-upgrade-test1_1.5.3.bb b/meta-selftest/recipes-test/devtool/devtool-upgrade-test1_1.5.3.bb new file mode 100644 index 0000000000..e93b0d5514 --- /dev/null +++ b/meta-selftest/recipes-test/devtool/devtool-upgrade-test1_1.5.3.bb | |||
@@ -0,0 +1,16 @@ | |||
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] = "9365d86bd884222b4bf1039b5a9ed1bd" | ||
9 | SRC_URI[sha256sum] = "681bcca9784bf3cb2207e68236d1f68e2aa7b80f999b5750dc77dcd756e81fbc" | ||
10 | |||
11 | PR = "r5" | ||
12 | |||
13 | S = "${WORKDIR}/pv-${PV}" | ||
14 | |||
15 | inherit autotools | ||
16 | |||