summaryrefslogtreecommitdiffstats
path: root/testsuite/configure.ac
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2008-05-24 00:41:06 -0400
committerwenji <wjhuang@dhcp-beijing-cdc-10-182-120-233.cn.oracle.com>2008-05-25 21:33:35 -0400
commit50d0c99297294ab8fb593eb1c121495c5d7f01ad (patch)
tree27b597e867baf9b2ad3bc4f8c9792c2589322963 /testsuite/configure.ac
parentd110e8c62c0555ea6713516ea3bf7b38a9e0ed86 (diff)
downloadsystemtap-steved-50d0c99297294ab8fb593eb1c121495c5d7f01ad.tar.gz
systemtap-steved-50d0c99297294ab8fb593eb1c121495c5d7f01ad.tar.xz
systemtap-steved-50d0c99297294ab8fb593eb1c121495c5d7f01ad.zip
PR6550: --enable-dejazilla: optional automatic test result reporting
Diffstat (limited to 'testsuite/configure.ac')
-rw-r--r--testsuite/configure.ac15
1 files changed, 15 insertions, 0 deletions
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