You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by ti...@apache.org on 2016/10/12 17:46:42 UTC

[5/5] mesos git commit: Permitted specifying custom test driver in stout.

Permitted specifying custom test driver in stout.

Review: https://reviews.apache.org/r/51719/


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/1fdea7de
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/1fdea7de
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/1fdea7de

Branch: refs/heads/master
Commit: 1fdea7dec36244d852f1fdb9436f74aabd9f8bb7
Parents: 105cc65
Author: Benjamin Bannier <be...@mesosphere.io>
Authored: Wed Oct 12 18:58:54 2016 +0200
Committer: Till Toenshoff <to...@me.com>
Committed: Wed Oct 12 18:58:54 2016 +0200

----------------------------------------------------------------------
 3rdparty/stout/Makefile.am  | 2 +-
 3rdparty/stout/configure.ac | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/1fdea7de/3rdparty/stout/Makefile.am
----------------------------------------------------------------------
diff --git a/3rdparty/stout/Makefile.am b/3rdparty/stout/Makefile.am
index fda069d..e70d301 100644
--- a/3rdparty/stout/Makefile.am
+++ b/3rdparty/stout/Makefile.am
@@ -188,7 +188,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
-	./stout-tests
+	$(TEST_DRIVER) ./stout-tests
 
 tests: $(BUNDLED_DEPS)
 	$(MAKE) $(AM_MAKEFLAGS) stout-tests

http://git-wip-us.apache.org/repos/asf/mesos/blob/1fdea7de/3rdparty/stout/configure.ac
----------------------------------------------------------------------
diff --git a/3rdparty/stout/configure.ac b/3rdparty/stout/configure.ac
index 527188a..cbb0fdb 100644
--- a/3rdparty/stout/configure.ac
+++ b/3rdparty/stout/configure.ac
@@ -156,8 +156,9 @@ AC_ARG_WITH([svn],
 
 
 ###############################################################################
-# Miscellaneous flags/library/tool checks
+# Miscellaneous flags/library/tool checks.
 ###############################################################################
+AC_ARG_VAR([TEST_DRIVER], [executable and arguments of a test driver])
 
 # Check for pthreads (uses m4/ax_pthread.m4).
 AX_PTHREAD([], [AC_MSG_ERROR([failed to find pthreads])])