]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Update "make test" to include alternate filter.
authormsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>
Tue, 16 Feb 2016 23:45:12 +0000 (23:45 +0000)
committermsweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be>
Tue, 16 Feb 2016 23:45:12 +0000 (23:45 +0000)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@13096 a1ca3aef-8c08-0410-bb20-df032aa958be

test/run-stp-tests.sh
test/test.convs
test/test.types [new file with mode: 0644]

index 0f9805df2423a880bdb2605d7142b4eb4480d8bc..d8bdffba5c10cad7f65ddf964d974496fd5955c6 100755 (executable)
@@ -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
index 57540aac43511702cb443be5b59ea38bd64c6328..77a9ce01ed4ef3dfbdbd7dd94fa52f3148119f4f 100644 (file)
@@ -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 (file)
index 0000000..914081c
--- /dev/null
@@ -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