summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2014-07-17 23:32:04 +0200
committerAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2014-07-17 23:32:04 +0200
commit4b7b78644ab9d0f3726550ff92ec3476fbcd25b9 (patch)
treece1b2eed8ed6218faa65130c2e8ff32304e9876f /packages
parentfe148029488d59e8245ea66df07a65aedcff2b57 (diff)
downloadembtoolkit-4b7b78644ab9d0f3726550ff92ec3476fbcd25b9.tar.gz
embtoolkit-4b7b78644ab9d0f3726550ff92ec3476fbcd25b9.tar.bz2
embtoolkit-4b7b78644ab9d0f3726550ff92ec3476fbcd25b9.tar.xz
Packages/development: New kyua-tester v0.2
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
Diffstat (limited to 'packages')
-rw-r--r--packages/development/development.kconfig3
-rw-r--r--packages/development/development.mk3
-rw-r--r--packages/development/kyua-testers/kyua-testers.kconfig52
-rw-r--r--packages/development/kyua-testers/kyua-testers.mk49
4 files changed, 107 insertions, 0 deletions
diff --git a/packages/development/development.kconfig b/packages/development/development.kconfig
index 6f9949c..bff5fa2 100644
--- a/packages/development/development.kconfig
+++ b/packages/development/development.kconfig
@@ -44,6 +44,9 @@ source packages/development/gtest/gtest.kconfig
# icu
source packages/development/icu/icu.kconfig
+# icu
+source packages/development/kyua-testers/kyua-testers.kconfig
+
# libbsd
source packages/development/libbsd/libbsd.kconfig
diff --git a/packages/development/development.mk b/packages/development/development.mk
index 1b9e57d..44557d9 100644
--- a/packages/development/development.mk
+++ b/packages/development/development.mk
@@ -47,6 +47,9 @@ $(call embtk_include_pkg,gtest)
$(call embtk_include_pkg,icu)
$(call embtk_include_hostpkg,icu_host)
+# kyua-testers
+$(call embtk_include_pkg,kyua-testers)
+
# libbsd
$(call embtk_include_pkg,libbsd)
diff --git a/packages/development/kyua-testers/kyua-testers.kconfig b/packages/development/kyua-testers/kyua-testers.kconfig
new file mode 100644
index 0000000..2abd259
--- /dev/null
+++ b/packages/development/kyua-testers/kyua-testers.kconfig
@@ -0,0 +1,52 @@
+################################################################################
+# Embtoolkit
+# Copyright(C) 2014 Abdoulaye Walsimou GAYE.
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+#
+################################################################################
+#
+# \file kyua-testers.kconfig
+# \brief kyua-testers.kconfig of Embtoolkit
+# \author Abdoulaye Walsimou GAYE <awg@embtoolkit.org>
+# \date July 2014
+################################################################################
+
+config EMBTK_HAVE_KYUA-TESTERS
+ bool "Have kyua-testers"
+ select EMBTK_HAVE_ATF
+ help
+ Kyua (automated testing framework) - Testers
+ see https://github.com/jmmv/kyua
+
+choice
+ prompt "kyua-testers version you wish"
+ depends on EMBTK_HAVE_KYUA-TESTERS
+ help
+ Here you can choose which version of kyua-testers you want to use.
+
+ config EMBTK_KYUA-TESTERS_VERSION_0_2
+ bool "kyua-testers-0.2"
+ select EMBTK_KYUA-TESTERS_NEED_AUTORECONF
+ select EMBTK_KYUA-TESTERS_NEED_PATCH
+endchoice
+
+config EMBTK_KYUA-TESTERS_VERSION_STRING
+ string
+ default "0.2" if EMBTK_KYUA-TESTERS_VERSION_0_2
+
+config EMBTK_KYUA-TESTERS_NEED_PATCH
+ bool
+config EMBTK_KYUA-TESTERS_NEED_AUTORECONF
+ bool
diff --git a/packages/development/kyua-testers/kyua-testers.mk b/packages/development/kyua-testers/kyua-testers.mk
new file mode 100644
index 0000000..92636de
--- /dev/null
+++ b/packages/development/kyua-testers/kyua-testers.mk
@@ -0,0 +1,49 @@
+################################################################################
+# Embtoolkit
+# Copyright(C) 2014 Abdoulaye Walsimou GAYE.
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+#
+################################################################################
+#
+# \file kyua-testers.mk
+# \brief kyua-testers.mk of Embtoolkit
+# \author Abdoulaye Walsimou GAYE <awg@embtoolkit.org>
+# \date July 2014
+################################################################################
+
+KYUA-TESTERS_NAME := kyua-testers
+KYUA-TESTERS_VERSION := $(call embtk_get_pkgversion,kyua-testers)
+KYUA-TESTERS_SITE := https://github.com/jmmv/kyua/releases/download/kyua-testers-$(KYUA-TESTERS_VERSION)
+KYUA-TESTERS_PACKAGE := kyua-testers-$(KYUA-TESTERS_VERSION).tar.gz
+KYUA-TESTERS_SRC_DIR := $(embtk_pkgb)/kyua-testers-$(KYUA-TESTERS_VERSION)
+KYUA-TESTERS_BUILD_DIR := $(embtk_pkgb)/kyua-testers-$(KYUA-TESTERS_VERSION)-build
+
+KYUA-TESTERS_LIBEXECS := kyua-atf-tester kyua-plain-tester
+KYUA-TESTERS_LIBEXECS += kyua-tap-tester
+KYUA-TESTERS_PKGCONFIGS := kyua-testers.pc
+KYUA-TESTERS_SHARES := doc/kyua-testers
+KYUA-TESTERS_SHARES += man/man*/kyua-*
+
+KYUA-TESTERS_CONFIGURE_ENV := kyua_cv_getopt_plus=no
+KYUA-TESTERS_CONFIGURE_ENV += kyua_cv_attribute_noreturn=yes
+KYUA-TESTERS_CONFIGURE_ENV += kyua_cv_lchmod_works=no
+KYUA-TESTERS_CONFIGURE_ENV += kyua_cv_getopt_gnu=no
+KYUA-TESTERS_CONFIGURE_ENV += kyua_cv_getopt_optind_reset_value=1
+KYUA-TESTERS_CONFIGURE_ENV += kyua_cv_signals_lastno=_NSIG
+KYUA-TESTERS_CONFIGURE_ENV += kyua_cv_getcwd_null_0_works=yes
+
+KYUA-TESTERS_CONFIGURE_OPTS := --with-atf=no --with-doxygen=no
+
+KYUA-TESTERS_DEPS := atf_install