cip-dev.lists.cip-project.org archive mirror
 help / color / mirror / Atom feed
* [isar-cip-core PATCH] recipes-core: Add Linux Testing Projects Package
@ 2020-02-19  8:58 Q. Gylstorff
  2020-02-19  9:14 ` Jan Kiszka
  0 siblings, 1 reply; 2+ messages in thread
From: Q. Gylstorff @ 2020-02-19  8:58 UTC (permalink / raw)
  To: cip-dev

From: Quirin Gylstorff <quirin.gylstorff@siemens.com>

Add a package for the LTP(Linux Testing Porject) to execute
the LTP testcases from cip-testing

Signed-off-by: Quirin Gylstorff <quirin.gylstorff@siemens.com>
---
 recipes-core/images/cip-core-image.bb |  2 ++
 recipes-core/ltp/files/debian/control | 18 ++++++++++++++++++
 recipes-core/ltp/files/debian/rules   |  5 +++++
 recipes-core/ltp/ltp-full_20190930.bb | 27 +++++++++++++++++++++++++++
 4 files changed, 52 insertions(+)
 create mode 100644 recipes-core/ltp/files/debian/control
 create mode 100755 recipes-core/ltp/files/debian/rules
 create mode 100644 recipes-core/ltp/ltp-full_20190930.bb

diff --git a/recipes-core/images/cip-core-image.bb b/recipes-core/images/cip-core-image.bb
index 179016c..9ee4b25 100644
--- a/recipes-core/images/cip-core-image.bb
+++ b/recipes-core/images/cip-core-image.bb
@@ -15,3 +15,5 @@ ISAR_RELEASE_CMD = "git -C ${LAYERDIR_cip-core} describe --tags --dirty --always
 DESCRIPTION = "CIP Core image"
 
 IMAGE_INSTALL += "customizations"
+# for cip-testing
+IMAGE_INSTALL += "ltp-full"
diff --git a/recipes-core/ltp/files/debian/control b/recipes-core/ltp/files/debian/control
new file mode 100644
index 0000000..5ec4b9d
--- /dev/null
+++ b/recipes-core/ltp/files/debian/control
@@ -0,0 +1,18 @@
+Source: ltp-full
+Section: embedded
+Priority: optional
+Maintainer: Gylstorff Quirin <quirin.gylstorff@siemens.com>
+Build-Depends: debhelper (>= 11), autotools-dev
+Standards-Version: 4.1.3
+Homepage: https://linux-test-project.github.io/
+
+Package: ltp-full
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: A collection of tools for testing the Linux kernel
+ The Linux Test Project is a joint project started by SGI,
+ developed and maintained by IBM, Cisco, Fujitsu, SUSE,
+ Red Hat and others, that has a goal to deliver test suites to the
+ open source community that validate the reliability, robustness,
+ and stability of Linux. The LTP testsuite contains a collection
+ of tools for testing the Linux kernel and related features.
diff --git a/recipes-core/ltp/files/debian/rules b/recipes-core/ltp/files/debian/rules
new file mode 100755
index 0000000..48d3b83
--- /dev/null
+++ b/recipes-core/ltp/files/debian/rules
@@ -0,0 +1,5 @@
+#!/usr/bin/make -f
+export DEB_CFLAGS_MAINT_APPEND  = -Wall  -Wno-format-security
+%:
+	dh $@  --with autoreconf
+
diff --git a/recipes-core/ltp/ltp-full_20190930.bb b/recipes-core/ltp/ltp-full_20190930.bb
new file mode 100644
index 0000000..fc35f5e
--- /dev/null
+++ b/recipes-core/ltp/ltp-full_20190930.bb
@@ -0,0 +1,27 @@
+#
+# CIP Core, generic profile
+#
+# Copyright (c) Siemens AG, 2020
+#
+# Authors:
+#  Quirin Gylstorff <quirin.gylstorff@siemens.com>
+#
+# SPDX-License-Identifier: MIT
+#
+
+inherit dpkg
+
+DESCRIPTION = "Linux Test project for CIP"
+
+SRC_URI = " \
+   https://github.com/linux-test-project/ltp/releases/download/20190930/ltp-full-${PV}.tar.xz \
+   file://debian \
+   "
+SRC_URI[sha256sum] = "c7049590df2da3135030db5ef4c0076b76c789724a752b1102b4a01db0189f9a"
+
+
+do_prepare_build() {
+        cp -R ${WORKDIR}/debian ${S}
+        deb_create_compat
+        deb_add_changelog
+}
-- 
2.20.1




^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [isar-cip-core PATCH] recipes-core: Add Linux Testing Projects Package
  2020-02-19  8:58 [isar-cip-core PATCH] recipes-core: Add Linux Testing Projects Package Q. Gylstorff
@ 2020-02-19  9:14 ` Jan Kiszka
  0 siblings, 0 replies; 2+ messages in thread
From: Jan Kiszka @ 2020-02-19  9:14 UTC (permalink / raw)
  To: Q. Gylstorff, cip-dev

On 19.02.20 09:58, Q. Gylstorff wrote:
> From: Quirin Gylstorff <quirin.gylstorff@siemens.com>
> 
> Add a package for the LTP(Linux Testing Porject) to execute
> the LTP testcases from cip-testing
> 
> Signed-off-by: Quirin Gylstorff <quirin.gylstorff@siemens.com>
> ---
>   recipes-core/images/cip-core-image.bb |  2 ++
>   recipes-core/ltp/files/debian/control | 18 ++++++++++++++++++
>   recipes-core/ltp/files/debian/rules   |  5 +++++
>   recipes-core/ltp/ltp-full_20190930.bb | 27 +++++++++++++++++++++++++++
>   4 files changed, 52 insertions(+)
>   create mode 100644 recipes-core/ltp/files/debian/control
>   create mode 100755 recipes-core/ltp/files/debian/rules
>   create mode 100644 recipes-core/ltp/ltp-full_20190930.bb
> 
> diff --git a/recipes-core/images/cip-core-image.bb b/recipes-core/images/cip-core-image.bb
> index 179016c..9ee4b25 100644
> --- a/recipes-core/images/cip-core-image.bb
> +++ b/recipes-core/images/cip-core-image.bb
> @@ -15,3 +15,5 @@ ISAR_RELEASE_CMD = "git -C ${LAYERDIR_cip-core} describe --tags --dirty --always
>   DESCRIPTION = "CIP Core image"
>   
>   IMAGE_INSTALL += "customizations"
> +# for cip-testing
> +IMAGE_INSTALL += "ltp-full"
> diff --git a/recipes-core/ltp/files/debian/control b/recipes-core/ltp/files/debian/control
> new file mode 100644
> index 0000000..5ec4b9d
> --- /dev/null
> +++ b/recipes-core/ltp/files/debian/control
> @@ -0,0 +1,18 @@
> +Source: ltp-full
> +Section: embedded
> +Priority: optional
> +Maintainer: Gylstorff Quirin <quirin.gylstorff@siemens.com>
> +Build-Depends: debhelper (>= 11), autotools-dev
> +Standards-Version: 4.1.3
> +Homepage: https://linux-test-project.github.io/
> +
> +Package: ltp-full
> +Architecture: any
> +Depends: ${shlibs:Depends}, ${misc:Depends}
> +Description: A collection of tools for testing the Linux kernel
> + The Linux Test Project is a joint project started by SGI,
> + developed and maintained by IBM, Cisco, Fujitsu, SUSE,
> + Red Hat and others, that has a goal to deliver test suites to the
> + open source community that validate the reliability, robustness,
> + and stability of Linux. The LTP testsuite contains a collection
> + of tools for testing the Linux kernel and related features.
> diff --git a/recipes-core/ltp/files/debian/rules b/recipes-core/ltp/files/debian/rules
> new file mode 100755
> index 0000000..48d3b83
> --- /dev/null
> +++ b/recipes-core/ltp/files/debian/rules
> @@ -0,0 +1,5 @@
> +#!/usr/bin/make -f
> +export DEB_CFLAGS_MAINT_APPEND  = -Wall  -Wno-format-security
> +%:
> +	dh $@  --with autoreconf
> +
> diff --git a/recipes-core/ltp/ltp-full_20190930.bb b/recipes-core/ltp/ltp-full_20190930.bb
> new file mode 100644
> index 0000000..fc35f5e
> --- /dev/null
> +++ b/recipes-core/ltp/ltp-full_20190930.bb
> @@ -0,0 +1,27 @@
> +#
> +# CIP Core, generic profile
> +#
> +# Copyright (c) Siemens AG, 2020
> +#
> +# Authors:
> +#  Quirin Gylstorff <quirin.gylstorff@siemens.com>
> +#
> +# SPDX-License-Identifier: MIT
> +#
> +
> +inherit dpkg
> +
> +DESCRIPTION = "Linux Test project for CIP"
> +
> +SRC_URI = " \
> +   https://github.com/linux-test-project/ltp/releases/download/20190930/ltp-full-${PV}.tar.xz \
> +   file://debian \
> +   "
> +SRC_URI[sha256sum] = "c7049590df2da3135030db5ef4c0076b76c789724a752b1102b4a01db0189f9a"
> +
> +
> +do_prepare_build() {
> +        cp -R ${WORKDIR}/debian ${S}
> +        deb_create_compat
> +        deb_add_changelog
> +}
> 

Thanks, applied to next.

Jan

-- 
Sie	mens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-02-19  9:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-19  8:58 [isar-cip-core PATCH] recipes-core: Add Linux Testing Projects Package Q. Gylstorff
2020-02-19  9:14 ` Jan Kiszka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).