1240116Smarcel# 2240116Smarcel# Automated Testing Framework (atf) 3240116Smarcel# 4240116Smarcel# Copyright (c) 2007 The NetBSD Foundation, Inc. 5240116Smarcel# All rights reserved. 6240116Smarcel# 7240116Smarcel# Redistribution and use in source and binary forms, with or without 8240116Smarcel# modification, are permitted provided that the following conditions 9240116Smarcel# are met: 10240116Smarcel# 1. Redistributions of source code must retain the above copyright 11240116Smarcel# notice, this list of conditions and the following disclaimer. 12240116Smarcel# 2. Redistributions in binary form must reproduce the above copyright 13240116Smarcel# notice, this list of conditions and the following disclaimer in the 14240116Smarcel# documentation and/or other materials provided with the distribution. 15240116Smarcel# 16240116Smarcel# THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND 17240116Smarcel# CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, 18240116Smarcel# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 19240116Smarcel# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 20240116Smarcel# IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS BE LIABLE FOR ANY 21240116Smarcel# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 22240116Smarcel# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE 23240116Smarcel# GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24240116Smarcel# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER 25240116Smarcel# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 26240116Smarcel# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN 27240116Smarcel# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28240116Smarcel# 29240116Smarcel 30240116Smarcelbin_PROGRAMS += atf-report/atf-report 31240116Smarcelatf_report_atf_report_SOURCES = atf-report/atf-report.cpp \ 32240116Smarcel atf-report/reader.cpp \ 33240116Smarcel atf-report/reader.hpp 34240116Smarcelatf_report_atf_report_LDADD = $(ATF_CXX_LIBS) 35240116Smarceldist_man_MANS += atf-report/atf-report.1 36240116Smarcel 37240116Smarcelcssdir = $(atf_cssdir) 38240116Smarcelcss_DATA = atf-report/tests-results.css 39240116SmarcelEXTRA_DIST += $(css_DATA) 40240116Smarcel 41240116Smarceldtddir = $(atf_dtddir) 42240116Smarceldtd_DATA = atf-report/tests-results.dtd 43240116SmarcelEXTRA_DIST += $(dtd_DATA) 44240116Smarcel 45240116Smarcelxsldir = $(atf_xsldir) 46240116Smarcelxsl_DATA = atf-report/tests-results.xsl 47240116SmarcelEXTRA_DIST += $(xsl_DATA) 48240116Smarcel 49240116Smarceltests_atf_report_DATA = atf-report/Atffile \ 50240116Smarcel atf-report/Kyuafile 51240116Smarceltests_atf_reportdir = $(pkgtestsdir)/atf-report 52240116SmarcelEXTRA_DIST += $(tests_atf_report_DATA) 53240116Smarcel 54240116Smarceltests_atf_report_PROGRAMS = atf-report/fail_helper 55240116Smarcelatf_report_fail_helper_SOURCES = atf-report/fail_helper.cpp 56240116Smarcelatf_report_fail_helper_LDADD = $(ATF_CXX_LIBS) 57240116Smarcel 58240116Smarceltests_atf_report_PROGRAMS += atf-report/misc_helpers 59240116Smarcelatf_report_misc_helpers_SOURCES = atf-report/misc_helpers.cpp 60240116Smarcelatf_report_misc_helpers_LDADD = $(ATF_CXX_LIBS) 61240116Smarcel 62240116Smarceltests_atf_report_PROGRAMS += atf-report/pass_helper 63240116Smarcelatf_report_pass_helper_SOURCES = atf-report/pass_helper.cpp 64240116Smarcelatf_report_pass_helper_LDADD = $(ATF_CXX_LIBS) 65240116Smarcel 66240116Smarceltests_atf_report_SCRIPTS = atf-report/integration_test 67240116SmarcelCLEANFILES += atf-report/integration_test 68240116SmarcelEXTRA_DIST += atf-report/integration_test.sh 69240116Smarcelatf-report/integration_test: $(srcdir)/atf-report/integration_test.sh 70240116Smarcel test -d atf-report || mkdir -p atf-report 71240116Smarcel @src="$(srcdir)/atf-report/integration_test.sh"; \ 72240116Smarcel dst="atf-report/integration_test"; $(BUILD_SH_TP) 73240116Smarcel 74240116Smarceltests_atf_report_PROGRAMS += atf-report/reader_test 75240116Smarcelatf_report_reader_test_SOURCES = atf-report/reader_test.cpp \ 76240116Smarcel atf-report/reader.cpp 77240116Smarcelatf_report_reader_test_CPPFLAGS = -I$(srcdir)/atf-c++/detail 78240116Smarcelatf_report_reader_test_LDADD = atf-c++/detail/libtest_helpers.la $(ATF_CXX_LIBS) 79240116Smarcel 80240116Smarcel# vim: syntax=make:noexpandtab:shiftwidth=8:softtabstop=8 81