a747113422afaa29ce72d2c5ba7f0b7ea9ec2054Evan Hunt# Copyright (c) 2007 The NetBSD Foundation, Inc.
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# All rights reserved.
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# Redistribution and use in source and binary forms, with or without
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# modification, are permitted provided that the following conditions
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# 1. Redistributions of source code must retain the above copyright
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# notice, this list of conditions and the following disclaimer.
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# 2. Redistributions in binary form must reproduce the above copyright
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# notice, this list of conditions and the following disclaimer in the
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# documentation and/or other materials provided with the distribution.
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS BE LIABLE FOR ANY
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
a747113422afaa29ce72d2c5ba7f0b7ea9ec2054Evan Hunttests_test_programs_DATA = test-programs/Atffile \
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunttests_test_programsdir = $(pkgtestsdir)/test-programs
ef421f66f47224a42073deaf087378c5d0c9952eEvan HuntEXTRA_DIST += $(tests_test_programs_DATA)
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunttests_test_programs_PROGRAMS = test-programs/c_helpers
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunttest_programs_c_helpers_SOURCES = test-programs/c_helpers.c
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunttest_programs_c_helpers_LDADD = libatf-c.la
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunttests_test_programs_PROGRAMS += test-programs/cpp_helpers
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunttest_programs_cpp_helpers_SOURCES = test-programs/cpp_helpers.cpp
a747113422afaa29ce72d2c5ba7f0b7ea9ec2054Evan Hunttest_programs_cpp_helpers_LDADD = $(ATF_CXX_LIBS)
ef421f66f47224a42073deaf087378c5d0c9952eEvan Huntcommon_sh = $(srcdir)/test-programs/common.sh
ef421f66f47224a42073deaf087378c5d0c9952eEvan HuntEXTRA_DIST += test-programs/common.sh
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunttests_test_programs_SCRIPTS = test-programs/sh_helpers
ef421f66f47224a42073deaf087378c5d0c9952eEvan HuntCLEANFILES += test-programs/sh_helpers
ef421f66f47224a42073deaf087378c5d0c9952eEvan HuntEXTRA_DIST += test-programs/sh_helpers.sh
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunttest-programs/sh_helpers: $(srcdir)/test-programs/sh_helpers.sh
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews $(AM_V_GEN)src="$(srcdir)/test-programs/sh_helpers.sh $(common_sh)"; \
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunttests_test_programs_SCRIPTS += test-programs/config_test
ef421f66f47224a42073deaf087378c5d0c9952eEvan HuntCLEANFILES += test-programs/config_test
ef421f66f47224a42073deaf087378c5d0c9952eEvan HuntEXTRA_DIST += test-programs/config_test.sh
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunttest-programs/config_test: $(srcdir)/test-programs/config_test.sh
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews $(AM_V_GEN)src="$(srcdir)/test-programs/config_test.sh $(common_sh)"; \
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunttests_test_programs_SCRIPTS += test-programs/expect_test
ef421f66f47224a42073deaf087378c5d0c9952eEvan HuntCLEANFILES += test-programs/expect_test
ef421f66f47224a42073deaf087378c5d0c9952eEvan HuntEXTRA_DIST += test-programs/expect_test.sh
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunttest-programs/expect_test: $(srcdir)/test-programs/expect_test.sh
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews $(AM_V_GEN)src="$(srcdir)/test-programs/expect_test.sh $(common_sh)"; \
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunttests_test_programs_SCRIPTS += test-programs/meta_data_test
ef421f66f47224a42073deaf087378c5d0c9952eEvan HuntCLEANFILES += test-programs/meta_data_test
ef421f66f47224a42073deaf087378c5d0c9952eEvan HuntEXTRA_DIST += test-programs/meta_data_test.sh
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunttest-programs/meta_data_test: $(srcdir)/test-programs/meta_data_test.sh
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews $(AM_V_GEN)src="$(srcdir)/test-programs/meta_data_test.sh $(common_sh)"; \
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt dst="test-programs/meta_data_test"; $(BUILD_SH_TP)
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunttests_test_programs_SCRIPTS += test-programs/result_test
ef421f66f47224a42073deaf087378c5d0c9952eEvan HuntCLEANFILES += test-programs/result_test
ef421f66f47224a42073deaf087378c5d0c9952eEvan HuntEXTRA_DIST += test-programs/result_test.sh
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunttest-programs/result_test: $(srcdir)/test-programs/result_test.sh
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews $(AM_V_GEN)src="$(srcdir)/test-programs/result_test.sh $(common_sh)"; \
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunttests_test_programs_SCRIPTS += test-programs/srcdir_test
ef421f66f47224a42073deaf087378c5d0c9952eEvan HuntCLEANFILES += test-programs/srcdir_test
ef421f66f47224a42073deaf087378c5d0c9952eEvan HuntEXTRA_DIST += test-programs/srcdir_test.sh
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunttest-programs/srcdir_test: $(srcdir)/test-programs/srcdir_test.sh
4a53e3c2b83c476a93148eaee0272649beb221caMark Andrews $(AM_V_GEN)src="$(srcdir)/test-programs/srcdir_test.sh $(common_sh)"; \
ef421f66f47224a42073deaf087378c5d0c9952eEvan Hunt# vim: syntax=make:noexpandtab:shiftwidth=8:softtabstop=8