Commit 6bfb2e0c authored by Swann Perarnau's avatar Swann Perarnau
Browse files

[tests] add rule to build tests w/o running them

Production systems might sometimes require that we build the check
programs on a different machine that the one we run them. This
additional rule allows us to trigger building the programs without
triggering the run.
parent c314d5c0
Pipeline #11162 passed with stages
in 1 minute and 6 seconds
......@@ -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)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment