File: 0030-disable-imap-tests.patch

package info (click to toggle)
courier 1.0.16-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 49,264 kB
  • sloc: ansic: 128,070; cpp: 24,331; sh: 8,958; perl: 4,127; makefile: 3,243; sed: 16
file content (25 lines) | stat: -rw-r--r-- 1,539 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Description: Disable tests that only work w/o workarounds for IMAP client bugs
Author: Markus Wanner <markus@bluegap.ch>
Forwarded: not-needed
Last-Update: 2021-01-02

--- a/libs/imap/Makefile.am
+++ b/libs/imap/Makefile.am
@@ -205,16 +205,7 @@
 endif
 
 check-am:
-	@test "@MAKECHECKBROKEN@" = "Y" || exit 0; echo "" ; echo "Error: --with-trashquota or the --enable-workarounds-for-imap-client-bugs" ; echo "option was specified to the configure script."; echo ""; echo "As INSTALL told you, make check fails if these options are used, and I wasn't"; echo "kidding when I wrote it.  Reconfigure and rebuild without these options, then"; echo "rerun make and make check.  If make check passes, reconfigure again with your"; echo "original options, and proceed with installing this server.  Have fun!"; exit 1
-	@cp /dev/null conftest1 ; chmod 000 conftest1 ; test -w conftest1 || \
-		exit 0; echo "=============================" ; \
-		echo "Do not run make check as root" ; \
-		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
-	rm -rf confmdtest
+	echo "NOTICE: IMAP tests disable due to use of workarounds for IMAP client bugs."
 
 testsuite-imap:
 	@LC_ALL=C; export LC_ALL; $(srcdir)/testsuite | ./testsuitefix.pl | sort