meta-virtualization/recipes-containers
Mark Asselstine 1a5853f87c lxc: use compiled tests instead of copying source building on target
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:

    ### Starting LXC ptest ###
    ./tests/lxc-test-api-reboot FAIL
    ./tests/lxc-test-apparmor SKIPPED
    ./tests/lxc-test-attach PASS
    ./tests/lxc-test-automount PASS
    ./tests/lxc-test-autostart PASS
    ./tests/lxc-test-cgpath PASS
    ./tests/lxc-test-cloneconfig PASS
    ./tests/lxc-test-clonetest PASS
    ./tests/lxc-test-concurrent PASS
    ./tests/lxc-test-config-jump-table PASS
    ./tests/lxc-test-console PASS
    ./tests/lxc-test-console-log PASS
    ./tests/lxc-test-containertests PASS
    ./tests/lxc-test-createconfig PASS
    ./tests/lxc-test-createtest PASS
    ./tests/lxc-test-criu-check-feature PASS
    ./tests/lxc-test-destroytest PASS
    ./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-no-new-privs PASS
    ./tests/lxc-test-parse-config-file PASS
    ./tests/lxc-test-raw-clone PASS
    ./tests/lxc-test-reboot PASS
    ./tests/lxc-test-rootfs PASS
    ./tests/lxc-test-saveconfig PASS
    ./tests/lxc-test-share-ns PASS
    ./tests/lxc-test-shortlived PASS
    ./tests/lxc-test-shutdowntest SKIPPED
    ./tests/lxc-test-snapshot PASS
    ./tests/lxc-test-startone PASS
    ./tests/lxc-test-state-server SKIPPED
    ./tests/lxc-test-utils PASS

    Results:
        PASSED = 33
        FAILED = 1
        SKIPPED = 3
        (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>
2018-06-03 23:26:52 -04:00
..
cgroup-lite cgroup-lite: uprev to v1.15 2018-05-24 16:08:02 -04:00
containerd runc/containerd: fix build with go 1.9.x 2018-04-20 10:03:50 -04:00
cri-o containers: cri-o: kubernetes runc backend 2017-10-02 09:15:42 -04:00
criu criu: refresh patches to fix QA warning 2018-04-13 15:53:57 -04:00
docker tini: add version 0.18.0 as docker-init provider 2018-05-30 08:53:25 -04:00
docker-compose python3-docker-compose: remove deprecated python3-enum from RDEPENDS 2018-03-14 08:43:08 -04:00
docker-distribution docker-distribution: adjust to new go.bbclass 2017-09-14 16:00:43 -04:00
go-digest oci: introduce oci-image-tools (and dependencies) 2017-02-15 14:57:35 -05:00
go-errors oci: introduce oci-image-tools (and dependencies) 2017-02-15 14:57:35 -05:00
go-spf13-cobra oci: introduce oci-image-tools (and dependencies) 2017-02-15 14:57:35 -05:00
go-spf13-pflag oci: introduce oci-image-tools (and dependencies) 2017-02-15 14:57:35 -05:00
kubernetes k8s: uprev to v1.10 release 2018-03-26 23:39:19 -04:00
lxc lxc: use compiled tests instead of copying source building on target 2018-06-03 23:26:52 -04:00
oci-image-spec oci: introduce oci-image-tools (and dependencies) 2017-02-15 14:57:35 -05:00
oci-image-tools oci-image-tools: make Config.User mapping errors a warning 2017-11-17 11:06:03 -05:00
oci-runtime-spec oci-runtime-tools, oci-runtime-spec: Uprev to runc 1.0-rc3 versions 2017-07-13 13:53:58 -04:00
oci-runtime-tools oci-runtime-tools: fix multi hook specification 2017-09-20 23:56:25 -04:00
oci-systemd-hook oci-systemd-hook: Always pass through all the cgroup mounts 2017-11-14 12:34:50 -05:00
riddler nets, docker, runc, oci-*tools: go.bbclass compile fixes 2017-09-14 09:49:00 -04:00
runc runc: allow enabling seccomp 2018-05-29 10:25:40 -04:00
singularity singularity: Added dependency to e2fsprogs-mke2fs 2017-09-05 13:27:35 -04:00
tini tini: add version 0.18.0 as docker-init provider 2018-05-30 08:53:25 -04:00