Permitted specifying custom test driver in libprocess. Review: https://reviews.apache.org/r/51718/
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/105cc652 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/105cc652 Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/105cc652 Branch: refs/heads/master Commit: 105cc65242755c0e24e81d001dcbfdfa7ea352d5 Parents: 8b61157 Author: Benjamin Bannier <benjamin.bann...@mesosphere.io> Authored: Wed Oct 12 18:58:48 2016 +0200 Committer: Till Toenshoff <toensh...@me.com> Committed: Wed Oct 12 18:58:48 2016 +0200 ---------------------------------------------------------------------- 3rdparty/libprocess/Makefile.am | 2 +- 3rdparty/libprocess/configure.ac | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/mesos/blob/105cc652/3rdparty/libprocess/Makefile.am ---------------------------------------------------------------------- diff --git a/3rdparty/libprocess/Makefile.am b/3rdparty/libprocess/Makefile.am index 020b0e1..f91155b 100644 --- a/3rdparty/libprocess/Makefile.am +++ b/3rdparty/libprocess/Makefile.am @@ -304,7 +304,7 @@ BUILT_SOURCES = $(BUNDLED_DEPS) # See the following discussion for the workaround: # http://lists.gnu.org/archive/html/automake/2013-01/msg00051.html check-local: tests - ./libprocess-tests + $(TEST_DRIVER) ./libprocess-tests tests: all $(BUNDLED_DEPS) $(MAKE) $(AM_MAKEFLAGS) libprocess-tests benchmarks http://git-wip-us.apache.org/repos/asf/mesos/blob/105cc652/3rdparty/libprocess/configure.ac ---------------------------------------------------------------------- diff --git a/3rdparty/libprocess/configure.ac b/3rdparty/libprocess/configure.ac index f3033e3..1644035 100644 --- a/3rdparty/libprocess/configure.ac +++ b/3rdparty/libprocess/configure.ac @@ -213,6 +213,12 @@ AC_ARG_WITH([svn], ############################################################################### +# Miscellaneous flags/library/tool checks. +############################################################################### +AC_ARG_VAR([TEST_DRIVER], [executable and arguments of a test driver]) + + +############################################################################### # Compiler checks. ###############################################################################