summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2014-07-18 16:15:39 +0200
committerAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2014-07-18 16:15:39 +0200
commitccee3424ab4d6c8033e8d8d6ae00f6c2f4f9e374 (patch)
treebe6a0d780d0bfd10898696032e80d776c224aa01 /packages
parent83cefbde7d612b743bc2c29fcaf2bbd1f3e7659e (diff)
downloadembtoolkit-ccee3424ab4d6c8033e8d8d6ae00f6c2f4f9e374.tar.gz
embtoolkit-ccee3424ab4d6c8033e8d8d6ae00f6c2f4f9e374.tar.bz2
embtoolkit-ccee3424ab4d6c8033e8d8d6ae00f6c2f4f9e374.tar.xz
Packages/development: New kyua-cli v0.8
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-cli/kyua-cli.kconfig54
-rw-r--r--packages/development/kyua-cli/kyua-cli.mk44
4 files changed, 104 insertions, 0 deletions
diff --git a/packages/development/development.kconfig b/packages/development/development.kconfig
index c87b958..2bed20c 100644
--- a/packages/development/development.kconfig
+++ b/packages/development/development.kconfig
@@ -50,6 +50,9 @@ source packages/development/kyua-testers/kyua-testers.kconfig
# kyua-atf-compat
source packages/development/kyua-atf-compat/kyua-atf-compat.kconfig
+# kyua-cli
+source packages/development/kyua-cli/kyua-cli.kconfig
+
# libbsd
source packages/development/libbsd/libbsd.kconfig
diff --git a/packages/development/development.mk b/packages/development/development.mk
index 1334086..673f7a7 100644
--- a/packages/development/development.mk
+++ b/packages/development/development.mk
@@ -53,6 +53,9 @@ $(call embtk_include_pkg,kyua-testers)
# kyua-atf-compat
$(call embtk_include_pkg,kyua-atf-compat)
+# kyua-cli
+$(call embtk_include_pkg,kyua-cli)
+
# libbsd
$(call embtk_include_pkg,libbsd)
diff --git a/packages/development/kyua-cli/kyua-cli.kconfig b/packages/development/kyua-cli/kyua-cli.kconfig
new file mode 100644
index 0000000..af5b662
--- /dev/null
+++ b/packages/development/kyua-cli/kyua-cli.kconfig
@@ -0,0 +1,54 @@
+################################################################################
+# 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-cli.kconfig
+# \brief kyua-cli.kconfig of Embtoolkit
+# \author Abdoulaye Walsimou GAYE <awg@embtoolkit.org>
+# \date July 2014
+################################################################################
+
+config EMBTK_HAVE_KYUA-CLI
+ bool "Have kyua-cli"
+ select EMBTK_HAVE_KYUA-TESTERS
+ select EMBTK_HAVE_LUTOK
+ help
+ kyua-cli provides the command-line interface to the Kyua runtime system.
+ The major purpose of this tool is to run test cases and generate
+ unified reports for their results.
+
+choice
+ prompt "kyua-cli version you wish"
+ depends on EMBTK_HAVE_KYUA-CLI
+ help
+ Here you can choose which version of kyua-cli you want to use.
+
+ config EMBTK_KYUA-CLI_VERSION_0_8
+ bool "kyua-cli-0.8"
+ select EMBTK_KYUA-CLI_NEED_PATCH
+ select EMBTK_KYUA-CLI_NEED_AUTORECONF
+endchoice
+
+config EMBTK_KYUA-CLI_VERSION_STRING
+ string
+ default "0.8" if EMBTK_KYUA-CLI_VERSION_0_8
+
+config EMBTK_KYUA-CLI_NEED_PATCH
+ bool
+config EMBTK_KYUA-CLI_NEED_AUTORECONF
+ bool
diff --git a/packages/development/kyua-cli/kyua-cli.mk b/packages/development/kyua-cli/kyua-cli.mk
new file mode 100644
index 0000000..472d7c1
--- /dev/null
+++ b/packages/development/kyua-cli/kyua-cli.mk
@@ -0,0 +1,44 @@
+################################################################################
+# 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-cli.mk
+# \brief kyua-cli.mk of Embtoolkit
+# \author Abdoulaye Walsimou GAYE <awg@embtoolkit.org>
+# \date July 2014
+################################################################################
+
+KYUA-CLI_NAME := kyua-cli
+KYUA-CLI_VERSION := $(call embtk_get_pkgversion,kyua-cli)
+KYUA-CLI_SITE := https://github.com/jmmv/kyua/releases/download/kyua-cli-$(KYUA-CLI_VERSION)
+KYUA-CLI_PACKAGE := kyua-cli-$(KYUA-CLI_VERSION).tar.gz
+KYUA-CLI_SRC_DIR := $(embtk_pkgb)/kyua-cli-$(KYUA-CLI_VERSION)
+KYUA-CLI_BUILD_DIR := $(embtk_pkgb)/kyua-cli-$(KYUA-CLI_VERSION)-build
+
+KYUA-CLI_BINS := kyua
+KYUA-CLI_SHARES := doc/kyua-cli kyua-cli
+
+KYUA-CLI_CONFIGURE_ENV := kyua_cv_attribute_noreturn=yes
+KYUA-CLI_CONFIGURE_ENV += kyua_cv_getopt_optind_reset_value=1
+KYUA-CLI_CONFIGURE_ENV += kyua_cv_signals_lastno=_NSIG
+KYUA-CLI_CONFIGURE_ENV += kyua_cv_getcwd_works=yes
+KYUA-CLI_CONFIGURE_ENV += kyua_cv_getcwd_null_0_works=yes
+
+KYUA-CLI_CONFIGURE_OPTS := --with-atf=no --with-doxygen=no
+
+KYUA-CLI_DEPS := lutok_install kyua-testers_install