]> code.ossystems Code Review - openembedded-core.git/commit
oe-selftest: devtool: rework devtool upgrade test
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Wed, 24 Feb 2016 03:51:30 +0000 (16:51 +1300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 28 Feb 2016 11:32:36 +0000 (11:32 +0000)
commitd0ae258e963f9bafffc4ca43c87497d27e57c127
tree0e385afc038d95ac5b6ce65866c2a4c099a992cb
parent28fea4a104ba85aded2ecfe891e9bf997d72a103
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

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta-selftest/recipes-test/devtool/devtool-upgrade-test1-1.5.3/0001-Add-a-note-line-to-the-quick-reference.patch [new file with mode: 0644]
meta-selftest/recipes-test/devtool/devtool-upgrade-test1_1.5.3.bb [new file with mode: 0644]
meta-selftest/recipes-test/devtool/devtool-upgrade-test1_1.5.3.bb.upgraded [new file with mode: 0644]
meta-selftest/recipes-test/devtool/devtool-upgrade_0.1.bb [deleted file]
meta-selftest/recipes-test/devtool/files/0001-helloword.c-exit-with-EXIT_SUCCESS-instead-of-a-magi.patch [deleted file]
meta-selftest/recipes-test/devtool/files/devtool-upgrade-0.1.tar.gz [deleted file]
meta-selftest/recipes-test/devtool/files/devtool-upgrade-0.2.tar.gz [deleted file]
meta/lib/oeqa/selftest/devtool.py