Add feature for enabling the YP ptest capabilities 27/11327/2
authorJan-Simon Möller <jsmoeller@linuxfoundation.org>
Sat, 14 Oct 2017 16:35:05 +0000 (18:35 +0200)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Sat, 14 Oct 2017 18:24:37 +0000 (18:24 +0000)
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>

templates/feature/agl-ci-snapshot-features-nogfx/included.dep
templates/feature/agl-ci-snapshot-features/included.dep
templates/feature/agl-ptest/90_local.conf.inc [new file with mode: 0644]

index 0a88d5e..ba9820a 100644 (file)
@@ -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
index 1f68010..b09eff0 100644 (file)
@@ -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 (file)
index 0000000..f7fc939
--- /dev/null
@@ -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