From d6b6c6f2aa5e4b7096679688e3166266883a31d5 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Mon, 07 Dec 2015 10:36:45 -0500 Subject: tests/local.mk: Build TESTS into check_PROGRAMS --- (limited to 'tests') diff --git a/tests/local.mk b/tests/local.mk index 023eae1..b25b78d 100644 --- a/tests/local.mk +++ b/tests/local.mk @@ -1,8 +1,54 @@ -TESTS = \ +check_PROGRAMS = \ + tests/parse_control.basic \ + tests/resolve_deps.basic \ + tests/match_arch \ + tests/match_plat \ + tests/arch_is_concerned \ + tests/plat_is_concerned \ + tests/reduce_deps + +TESTS = $(check_PROGRAMS) + +tests_parse_control_basic_SOURCES = \ tests/parse_control.basic.sh \ + tests/parse_control.common.sh \ + tests/common.sh \ + src/output.sh \ + src/control.sh +tests_parse_control_basic_LDADD = $(tests_parse_control_basic_SOURCES:.sh=.sho) + +tests_resolve_deps_basic_SOURCES = tests/resolve_deps.basic.sh \ + tests/common.sh \ + src/pkg.sh +tests_resolve_deps_basic_LDADD = $(tests_resolve_deps_basic_SOURCES:.sh=.sho) + +tests_match_arch_SOURCES = \ tests/match_arch.sh \ + tests/common.sh \ + src/archplat.sh +tests_match_arch_LDADD = $(tests_match_arch_SOURCES:.sh=.sho) + +tests_match_plat_SOURCES = \ tests/match_plat.sh \ + tests/common.sh \ + src/archplat.sh +tests_match_plat_LDADD = $(tests_match_plat_SOURCES:.sh=.sho) + +tests_arch_is_concerned_SOURCES = \ tests/arch_is_concerned.sh \ + tests/common.sh \ + src/archplat.sh +tests_arch_is_concerned_LDADD = $(tests_arch_is_concerned_SOURCES:.sh=.sho) + +tests_plat_is_concerned_SOURCES = \ tests/plat_is_concerned.sh \ - tests/reduce_deps.sh + tests/common.sh \ + src/archplat.sh +tests_plat_is_concerned_LDADD = $(tests_plat_is_concerned_SOURCES:.sh=.sho) + +tests_reduce_deps_SOURCES = \ + tests/reduce_deps.sh \ + tests/common.sh \ + src/deps.sh +tests_reduce_deps_LDADD = $(tests_reduce_deps_SOURCES:.sh=.sho) -- cgit v0.9.1