Commits (2)
......@@ -29,6 +29,9 @@ AX_VALGRIND_DFLT([drd], [off])
AX_VALGRIND_DFLT([sgcheck], [off])
AX_VALGRIND_CHECK
# Support for cross-compiling check programs
AM_EXTRA_RECURSIVE_TARGETS([check-programs])
AC_CONFIG_HEADERS([src/config.h])
AC_CONFIG_FILES([Makefile
......
......@@ -23,3 +23,7 @@ check_PROGRAMS = $(UNIT_TESTS)
TESTS = $(UNIT_TESTS)
@VALGRIND_CHECK_RULES@
# phony target to allow us to compile the check programs without running the
# tests. Required for any environment where we are cross-compiling
check-programs-local: $(UNIT_TESTS)