aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan-Simon Möller <jsmoeller@linuxfoundation.org>2017-10-14 18:35:05 +0200
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2017-10-14 18:24:37 +0000
commit747eb165a15238bc3c5e92b4a35bfe59027bd0c3 (patch)
treef8991bff05a8004989d51d48159357011d37af49
parente336a5bd49d492bdff10f99311f832007b5c25e6 (diff)
Add feature for enabling the YP ptest capabilities
This change adds a feature 'agl-ptest' that can be used to enable the addition of the 'ptest' packages to the final image. See the YP documentation about ptest: - https://wiki.yoctoproject.org/wiki/Ptest - http://www.yoctoproject.org/docs/latest/dev-manual/dev-manual.html#testing-packages-with-ptest TLDR: enable feature + build image + boot image + login + call 'ptest-runner' + go get some coffee, go for a walk or run it just overnight Bug-AGL: SPEC-911 Change-Id: Ifbe7b4144a9e1071295da58e26e8a8bd2260cd88 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11327 Reviewed-by: Thomas Rini <trini@konsulko.com> Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
-rw-r--r--templates/feature/agl-ci-snapshot-features-nogfx/included.dep2
-rw-r--r--templates/feature/agl-ci-snapshot-features/included.dep2
-rw-r--r--templates/feature/agl-ptest/90_local.conf.inc7
3 files changed, 9 insertions, 2 deletions
diff --git a/templates/feature/agl-ci-snapshot-features-nogfx/included.dep b/templates/feature/agl-ci-snapshot-features-nogfx/included.dep
index 0a88d5ef9..ba9820a46 100644
--- a/templates/feature/agl-ci-snapshot-features-nogfx/included.dep
+++ b/templates/feature/agl-ci-snapshot-features-nogfx/included.dep
@@ -1 +1 @@
-agl-devel agl-netboot agl-appfw-smack agl-isafw agl-archiver \ No newline at end of file
+agl-devel agl-netboot agl-appfw-smack agl-isafw agl-archiver agl-ptest
diff --git a/templates/feature/agl-ci-snapshot-features/included.dep b/templates/feature/agl-ci-snapshot-features/included.dep
index 1f68010e0..b09eff04b 100644
--- a/templates/feature/agl-ci-snapshot-features/included.dep
+++ b/templates/feature/agl-ci-snapshot-features/included.dep
@@ -1 +1 @@
-agl-demo agl-devel agl-netboot agl-appfw-smack agl-isafw agl-archiver agl-sdl
+agl-demo agl-devel agl-netboot agl-appfw-smack agl-archiver agl-sdl agl-ptest
diff --git a/templates/feature/agl-ptest/90_local.conf.inc b/templates/feature/agl-ptest/90_local.conf.inc
new file mode 100644
index 000000000..f7fc9392b
--- /dev/null
+++ b/templates/feature/agl-ptest/90_local.conf.inc
@@ -0,0 +1,7 @@
+
+# Enabling ptest in image ...
+
+DISTRO_FEATURES_append = " ptest"
+EXTRA_IMAGE_FEATURES_append = " ptest-pkgs"
+
+# / ptest \ No newline at end of file