aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/atlocal.in1
-rw-r--r--tests/check-notify.at1
-rw-r--r--tests/mailstats.at1
-rw-r--r--tests/notify-upl.at1
-rw-r--r--tests/testsuite.at2
5 files changed, 6 insertions, 0 deletions
diff --git a/tests/atlocal.in b/tests/atlocal.in
index 89cfd3f..2f01c30 100644
--- a/tests/atlocal.in
+++ b/tests/atlocal.in
@@ -12,6 +12,7 @@ WD_CONFSRC=@abs_top_srcdir@/tests/etc
WD_DISTDIR=@abs_top_srcdir@/tests/dist
WD_SRC=@abs_top_builddir@/tests/source
WD_DST=@abs_top_builddir@/tests/dest
+WD_MAILUTILS=@WD_MAILUTILS@
MKDIR_P="@MKDIR_P@"
wydawca_init_testdirs() {
diff --git a/tests/check-notify.at b/tests/check-notify.at
index bebfa4b..d31e1b9 100644
--- a/tests/check-notify.at
+++ b/tests/check-notify.at
@@ -68,6 +68,7 @@ The Project Submission Robot
])
AT_CHECK([
+AT_MAILUTILS_PREREQ
wydawca_init_testdirs
wydawca_config wydawca.rc
mv wydawca.rc simple.rc
diff --git a/tests/mailstats.at b/tests/mailstats.at
index e5c769d..a7a9bae 100644
--- a/tests/mailstats.at
+++ b/tests/mailstats.at
@@ -67,6 +67,7 @@ Wydawca
])
AT_CHECK([
+AT_MAILUTILS_PREREQ
wydawca_init_testdirs
wydawca_config wydawca.rc
wydawca_config mailstats.rc
diff --git a/tests/notify-upl.at b/tests/notify-upl.at
index b6425ba..60574a9 100644
--- a/tests/notify-upl.at
+++ b/tests/notify-upl.at
@@ -79,6 +79,7 @@ s,^-[[rwx-]]\{9\} @USER@.*file.sig$,listing of file.sig,
])
AT_CHECK([
+AT_MAILUTILS_PREREQ
wydawca_init_testdirs
wydawca_config wydawca.rc
mv wydawca.rc simple.rc
diff --git a/tests/testsuite.at b/tests/testsuite.at
index d0195e3..16e5a41 100644
--- a/tests/testsuite.at
+++ b/tests/testsuite.at
@@ -23,6 +23,8 @@ m4_define([AT_SORT_PREREQ],[
test -z "`sort < /dev/null 2>&1`" || AT_SKIP_TEST
])
+m4_define([AT_MAILUTILS_PREREQ],[test "$WD_MAILUTILS" = yes || AT_SKIP_TEST])
+
AT_INIT
AT_TESTED([wydawca])
m4_include([version.at])

Return to:

Send suggestions and report system problems to the System administrator.