From 20dfa8d262d6de0c689cce0d8fc0b76a40ba5a75 Mon Sep 17 00:00:00 2001
From: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
Date: Wed, 10 Feb 2016 19:20:25 +0900
Subject: [PATCH] Add package group and bitbake target for Quality Assurance

New packagegroup and bitbake target are added which
includes utilities for testing distribution.
It is assumed to be used in the Quality Assurance of AGL Distro.

New package group: packagegroup-agl-test
                   packagegroup-ivi-common-test
New target: agl-image-ivi-qa

Change-Id: Ifb20d8a140dd71de6c464499e1b07fd9a0e36457
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
---
 meta-agl/recipes-ivi/images/agl-image-ivi-qa.bb           | 11 +++++++++++
 .../recipes-test/packagegroups/packagegroup-agl-test.bb   | 15 +++++++++++++++
 .../packagegroups/packagegroup-ivi-common-test.bb         | 15 +++++++++++++++
 templates/intel-corei7-64/conf/conf-notes.txt             |  1 +
 templates/qemux86-64/conf/conf-notes.txt                  |  1 +
 templates/qemux86/conf/conf-notes.txt                     |  1 +
 6 files changed, 44 insertions(+)
 create mode 100644 meta-agl/recipes-ivi/images/agl-image-ivi-qa.bb
 create mode 100644 meta-agl/recipes-test/packagegroups/packagegroup-agl-test.bb
 create mode 100644 meta-ivi-common/recipes-test/packagegroups/packagegroup-ivi-common-test.bb

diff --git a/meta-agl/recipes-ivi/images/agl-image-ivi-qa.bb b/meta-agl/recipes-ivi/images/agl-image-ivi-qa.bb
new file mode 100644
index 000000000..bd062660a
--- /dev/null
+++ b/meta-agl/recipes-ivi/images/agl-image-ivi-qa.bb
@@ -0,0 +1,11 @@
+SUMMARY = "A basic system of AGL distribution of IVI profile for Quality Assurance(QA)"
+DESCRIPTION = "A basic set of AGL Distribution. This image also has additional \
+packages (e.g. commandline tools) for Quality Assurance(QA)."
+
+require agl-image-ivi.bb
+
+IMAGE_INSTALL_append = " \
+    packagegroup-agl-test \
+    packagegroup-ivi-common-test \
+    "
+
diff --git a/meta-agl/recipes-test/packagegroups/packagegroup-agl-test.bb b/meta-agl/recipes-test/packagegroups/packagegroup-agl-test.bb
new file mode 100644
index 000000000..2a18cbc89
--- /dev/null
+++ b/meta-agl/recipes-test/packagegroups/packagegroup-agl-test.bb
@@ -0,0 +1,15 @@
+SUMMARY = "Utilities for testing of AGL"
+DESCRIPTION = "A set of packages required by testing AGL for Quality Assurance"
+
+LICENSE = "MIT"
+
+inherit packagegroup
+
+PACKAGES = "\
+    packagegroup-agl-test \
+    "
+
+ALLOW_EMPTY_${PN} = "1"
+
+RDEPENDS_${PN} += "\
+    "
diff --git a/meta-ivi-common/recipes-test/packagegroups/packagegroup-ivi-common-test.bb b/meta-ivi-common/recipes-test/packagegroups/packagegroup-ivi-common-test.bb
new file mode 100644
index 000000000..e613d43b0
--- /dev/null
+++ b/meta-ivi-common/recipes-test/packagegroups/packagegroup-ivi-common-test.bb
@@ -0,0 +1,15 @@
+SUMMARY = "Utilities for testing of AGL"
+DESCRIPTION = "A set of common packages required by testing AGL for Quality Assurance"
+
+LICENSE = "MIT"
+
+inherit packagegroup
+
+PACKAGES = "\
+    packagegroup-ivi-common-test \
+    "
+
+ALLOW_EMPTY_${PN} = "1"
+
+RDEPENDS_${PN} += "\
+    "
diff --git a/templates/intel-corei7-64/conf/conf-notes.txt b/templates/intel-corei7-64/conf/conf-notes.txt
index f91379f98..80246306e 100644
--- a/templates/intel-corei7-64/conf/conf-notes.txt
+++ b/templates/intel-corei7-64/conf/conf-notes.txt
@@ -1,6 +1,7 @@
 Common targets are:
     agl-image-ivi
     agl-image-ivi-crosssdk
+    agl-image-ivi-qa
 
     agl-image-minimal
     agl-image-weston
diff --git a/templates/qemux86-64/conf/conf-notes.txt b/templates/qemux86-64/conf/conf-notes.txt
index f91379f98..80246306e 100644
--- a/templates/qemux86-64/conf/conf-notes.txt
+++ b/templates/qemux86-64/conf/conf-notes.txt
@@ -1,6 +1,7 @@
 Common targets are:
     agl-image-ivi
     agl-image-ivi-crosssdk
+    agl-image-ivi-qa
 
     agl-image-minimal
     agl-image-weston
diff --git a/templates/qemux86/conf/conf-notes.txt b/templates/qemux86/conf/conf-notes.txt
index f91379f98..80246306e 100644
--- a/templates/qemux86/conf/conf-notes.txt
+++ b/templates/qemux86/conf/conf-notes.txt
@@ -1,6 +1,7 @@
 Common targets are:
     agl-image-ivi
     agl-image-ivi-crosssdk
+    agl-image-ivi-qa
 
     agl-image-minimal
     agl-image-weston
-- 
2.16.6