Commit 1f2a7b54 authored by Sebastien Bourdelin's avatar Sebastien Bourdelin Committed by Thomas Petazzoni
Browse files

atf: new package

ATF, or Automated Testing Framework, is a collection of libraries to
write test programs in C, C++ and POSIX shell.

https://github.com/jmmv/atf



Signed-off-by: default avatarSebastien Bourdelin <sebastien.bourdelin@savoirfairelinux.com>
Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
parent efb58de1
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1005,6 +1005,7 @@ menu "Other"
	source "package/apr-util/Config.in"
	source "package/argp-standalone/Config.in"
	source "package/armadillo/Config.in"
	source "package/atf/Config.in"
	source "package/bdwgc/Config.in"
	source "package/boost/Config.in"
	source "package/clapack/Config.in"

package/atf/Config.in

0 → 100644
+11 −0
Original line number Diff line number Diff line
config BR2_PACKAGE_ATF
	bool "atf"
	depends on BR2_INSTALL_LIBSTDCPP
	help
	  ATF, or Automated Testing Framework, is a collection of
	  libraries to write test programs in C, C++ and POSIX shell.

	  https://github.com/jmmv/atf

comment "atf needs a toolchain w/ C++"
	depends on !BR2_INSTALL_LIBSTDCPP

package/atf/atf.hash

0 → 100644
+2 −0
Original line number Diff line number Diff line
# Locally computed
sha256 92bc64180135eea8fe84c91c9f894e678767764f6dbc8482021d4dde09857505 atf-0.21.tar.gz

package/atf/atf.mk

0 → 100644
+24 −0
Original line number Diff line number Diff line
################################################################################
#
# atf
#
################################################################################

ATF_VERSION = 0.21
ATF_SITE = https://github.com/jmmv/atf/releases/download/atf-$(ATF_VERSION)
ATF_INSTALL_STAGING = YES
ATF_LICENSE = BSD-2c, BSD-3c
ATF_LICENSE_FILES = COPYING
# Ships a beta libtool version hence our patch doesn't apply.
ATF_AUTORECONF = YES
# Do not install precompiled tests.
ATF_INSTALL_TARGET_OPTS = DESTDIR=$(TARGET_DIR) install-exec

# ATF_SHELL defaults to the host's bash
ATF_CONF_ENV = \
	kyua_cv_getopt_plus=yes \
	kyua_cv_attribute_noreturn=yes \
	kyua_cv_getcwd_works=yes \
	ATF_SHELL=/bin/sh

$(eval $(autotools-package))