From 50d0c99297294ab8fb593eb1c121495c5d7f01ad Mon Sep 17 00:00:00 2001 From: "Frank Ch. Eigler" Date: Sat, 24 May 2008 00:41:06 -0400 Subject: PR6550: --enable-dejazilla: optional automatic test result reporting --- testsuite/configure.ac | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'testsuite/configure.ac') diff --git a/testsuite/configure.ac b/testsuite/configure.ac index 70d01e96..0fd78fe7 100644 --- a/testsuite/configure.ac +++ b/testsuite/configure.ac @@ -8,5 +8,20 @@ AC_CONFIG_AUX_DIR(..) AM_INIT_AUTOMAKE([dejagnu foreign]) AM_MAINTAINER_MODE +AC_ARG_ENABLE([dejazilla], + AS_HELP_STRING([--enable-dejazilla@<:@=EMAIL@:>@], + [enable dejazilla support to automatically email test results to a + central public collection point (default is disabled). Optional + EMAIL overrides the default email address.])) +case "$enable_dejazilla" in + no) dejazilla= ;; + yes) dejazilla=dejazilla@elastic.org ;; + *) dejazilla="$enable_dejazilla" ;; +esac +if test -n "$dejazilla"; then + AC_MSG_NOTICE([A "make *check" will email results to $dejazilla]) +fi +AC_SUBST(dejazilla) + AC_CONFIG_FILES(Makefile) AC_OUTPUT -- cgit