summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Varshavchik2022-02-14 21:51:09 -0500
committerSam Varshavchik2022-02-14 21:51:09 -0500
commit2036bc08eccdc4e49913668ee78122bdd0995eca (patch)
tree1de05f9f6e77c0eabb03b910cf6b6832cbf9fc8f
parent370f08584d15e8c1dfa45187893821643ba44ef4 (diff)
downloadcourier-libs-2036bc08eccdc4e49913668ee78122bdd0995eca.tar.bz2
Additional test coverage for IMAP_USELOCKS
-rw-r--r--imap/Makefile.am8
1 files changed, 6 insertions, 2 deletions
diff --git a/imap/Makefile.am b/imap/Makefile.am
index ea27289..758720f 100644
--- a/imap/Makefile.am
+++ b/imap/Makefile.am
@@ -215,14 +215,18 @@ check-am:
echo "=============================" ; exit 1
@rm -f conftest1
@chmod +x testsuitefix.pl
- LC_ALL=C; export LC_ALL; $(srcdir)/testsuite | ./testsuitefix.pl | sort | cmp -s - $(srcdir)/testsuite.txt
- LC_ALL=C; export LC_ALL; test "@smap@" = "yes" || exit 0; @SHELL@ $(srcdir)/smaptestsuite | ./testsuitefix.pl | sort | cmp -s - $(srcdir)/smaptestsuite.txt
+ unset IMAP_USELOCKS; LC_ALL=C; export LC_ALL; $(srcdir)/testsuite | ./testsuitefix.pl | sort | cmp -s - $(srcdir)/testsuite.txt
+ IMAP_USELOCKS=1; export IMAP_USELOCKS; LC_ALL=C; export LC_ALL; $(srcdir)/testsuite | ./testsuitefix.pl | sort | cmp -s - $(srcdir)/testsuite.txt
+ unset IMAP_USELOCKS; LC_ALL=C; export LC_ALL; test "@smap@" = "yes" || exit 0; @SHELL@ $(srcdir)/smaptestsuite | ./testsuitefix.pl | sort | cmp -s - $(srcdir)/smaptestsuite.txt
+ IMAP_USELOCKS=1; export IMAP_USELOCKS; LC_ALL=C; export LC_ALL; test "@smap@" = "yes" || exit 0; @SHELL@ $(srcdir)/smaptestsuite | ./testsuitefix.pl | sort | cmp -s - $(srcdir)/smaptestsuite.txt
VALGRIND="`which valgrind 2>/dev/null`"; test "$$VALGRIND" != "" || exit 0; \
+ IMAP_USELOCKS=1; export IMAP_USELOCKS; \
LC_ALL=C; export LC_ALL; \
rm -f confmdmemleak; \
IMAPINVOKE='@SHELL@ $(srcdir)/testsuitevalgrind ./imapd'; export IMAPINVOKE; \
@SHELL@ -x $(srcdir)/testsuite 2>&1 | tee confmderror.txt; test -f confmdmemleak || exit 0; exit 1
VALGRIND="`which valgrind 2>/dev/null`"; test "$$VALGRIND" != "" || exit 0; \
+ IMAP_USELOCKS=1; export IMAP_USELOCKS; \
LC_ALL=C; export LC_ALL; \
rm -f confmdmemleak; \
IMAPINVOKE='@SHELL@ $(srcdir)/testsuitevalgrind ./imapd'; export IMAPINVOKE; \