summaryrefslogtreecommitdiffstats
path: root/recipes-containers/lxc/files/tests-add-no-validate-when-using-download-template.patch
Commit message (Collapse)AuthorAgeFilesLines
* lxc: use compiled tests instead of copying source building on targetMark Asselstine2018-10-121-0/+74
The tests are already built when we do_compile so we only need to copy them to the ptest path and create a wrapper script to run them. This has the added benefit of reducing the size of the lxc package. We have to manipulate the test sources some to remove gpg validation and a few other minor changes, none of which actually change what is being tested (notes are provided in the associated commit logs). The following are the ptest results currently acheived: BEGIN: /usr/lib/lxc/ptest # Starting LXC ptest ### ./tests/lxc-test-apparmor SKIPPED ./tests/lxc-test-attach FAIL ./tests/lxc-test-automount PASS ./tests/lxc-test-autostart FAIL ./tests/lxc-test-cgpath PASS ./tests/lxc-test-cloneconfig PASS ./tests/lxc-test-clonetest PASS ./tests/lxc-test-concurrent PASS ./tests/lxc-test-console FAIL ./tests/lxc-test-containertests PASS ./tests/lxc-test-createconfig PASS ./tests/lxc-test-createtest FAIL ./tests/lxc-test-destroytest FAIL ./tests/lxc-test-device-add-remove PASS ./tests/lxc-test-get_item PASS ./tests/lxc-test-getkeys PASS ./tests/lxc-test-list PASS ./tests/lxc-test-locktests PASS ./tests/lxc-test-lxcpath PASS ./tests/lxc-test-may-control PASS ./tests/lxc-test-reboot PASS ./tests/lxc-test-saveconfig PASS ./tests/lxc-test-shutdowntest SKIPPED ./tests/lxc-test-snapshot PASS ./tests/lxc-test-startone PASS ./tests/lxc-test-utils PASS Results: PASSED = 19 FAILED = 5 SKIPPED = 2 (for details check individual test log in ./logs directory) ### LXC ptest complete ### Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Sinan Kaya <okaya@kernel.org> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>