From ccee3424ab4d6c8033e8d8d6ae00f6c2f4f9e374 Mon Sep 17 00:00:00 2001 From: Abdoulaye Walsimou Gaye Date: Fri, 18 Jul 2014 16:15:39 +0200 Subject: Packages/development: New kyua-cli v0.8 Signed-off-by: Abdoulaye Walsimou Gaye --- packages/development/development.kconfig | 3 ++ packages/development/development.mk | 3 ++ packages/development/kyua-cli/kyua-cli.kconfig | 54 ++++++++++++++++++++++++++ packages/development/kyua-cli/kyua-cli.mk | 44 +++++++++++++++++++++ 4 files changed, 104 insertions(+) create mode 100644 packages/development/kyua-cli/kyua-cli.kconfig create mode 100644 packages/development/kyua-cli/kyua-cli.mk (limited to 'packages') 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 . +# +################################################################################ +# +# \file kyua-cli.kconfig +# \brief kyua-cli.kconfig of Embtoolkit +# \author Abdoulaye Walsimou GAYE +# \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 . +# +################################################################################ +# +# \file kyua-cli.mk +# \brief kyua-cli.mk of Embtoolkit +# \author Abdoulaye Walsimou GAYE +# \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 -- cgit v1.2.3