From 830cfed95a5349b008999eebd34f5233bc35829c Mon Sep 17 00:00:00 2001 From: msweet Date: Tue, 16 Feb 2016 23:45:12 +0000 Subject: [PATCH] Update "make test" to include alternate filter. git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@13096 a1ca3aef-8c08-0410-bb20-df032aa958be --- test/run-stp-tests.sh | 4 +++- test/test.convs | 1 + test/test.types | 2 ++ 3 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 test/test.types diff --git a/test/run-stp-tests.sh b/test/run-stp-tests.sh index 0f9805df2..d8bdffba5 100755 --- a/test/run-stp-tests.sh +++ b/test/run-stp-tests.sh @@ -279,7 +279,7 @@ case "$usedebugprintfs" in echo "Enabling debug printfs (level $usedebugprintfs); log files can be found in $BASE/log..." CUPS_DEBUG_LOG="$BASE/log/debug_printfs.%d"; export CUPS_DEBUG_LOG CUPS_DEBUG_LEVEL="$usedebugprintfs"; export CUPS_DEBUG_LEVEL - CUPS_DEBUG_FILTER='^(http|_http|ipp|_ipp|cups.*Request|cupsGetResponse|cupsSend).*$'; export CUPS_DEBUG_FILTER + CUPS_DEBUG_FILTER='^(http|_http|ipp|_ipp|cups.*Request|cupsGetResponse|cupsSend|mime).*$'; export CUPS_DEBUG_FILTER ;; *) @@ -452,12 +452,14 @@ EOF } ln -s $root/test/test.convs $BASE/share/mime +ln -s $root/test/test.types $BASE/share/mime if test `uname` = Darwin; then instfilter cgimagetopdf imagetopdf pdf instfilter cgpdftopdf pdftopdf passthru instfilter cgpdftops pdftops ps instfilter cgpdftoraster pdftoraster raster + instfilter cgpdftoraster pdftourf raster instfilter cgtexttopdf texttopdf pdf instfilter pstocupsraster pstoraster raster else diff --git a/test/test.convs b/test/test.convs index 57540aac4..77a9ce01e 100644 --- a/test/test.convs +++ b/test/test.convs @@ -2,6 +2,7 @@ application/pdf application/vnd.cups-pdf 100 pdftopdf application/pdf application/postscript 100 pdftops application/pdf application/vnd.cups-raster 100 pdftoraster +application/pdf image/urf 100 pdftourf application/postscript application/vnd.cups-raster 100 pstoraster image/jpeg application/pdf 100 imagetopdf text/plain application/pdf 100 texttopdf diff --git a/test/test.types b/test/test.types new file mode 100644 index 000000000..914081c7f --- /dev/null +++ b/test/test.types @@ -0,0 +1,2 @@ +# Test file listing potential MIME media types that are not in the standard mime.types file +image/urf \ No newline at end of file -- 2.39.2