From 11d8da1cb5cc024722eb312a8ac586fe119c0a63 Mon Sep 17 00:00:00 2001 From: David Lichteblau Date: Sat, 26 Apr 2008 14:25:11 +0200 Subject: [PATCH] Marked import tests as whitespace issues --- TEST | 10 +++++----- test.lisp | 20 ++++++++++++-------- 2 files changed, 17 insertions(+), 13 deletions(-) diff --git a/TEST b/TEST index 4b97ec1..23db4f9 100644 --- a/TEST +++ b/TEST @@ -13253,7 +13253,7 @@ PASS Import__84615 [XSLT-Structure] Expected output (1): MSFT_Conformance_Tests/Import/Import__84615.saxon Actual output: MSFT_Conformance_Tests/Import/Import__84615.xuriella -FAIL Import__91032 [XSLT-Structure]: attribute id not allowed on stylesheet +PASS Import__91032 [XSLT-Structure] Stylesheet: MSFT_Conformance_Tests/Import/91032.noindent-xsl Data: MSFT_Conformance_Tests/Import/books.xml Supplemental stylesheet: MSFT_Conformance_Tests/Import/91032a.xsl @@ -13348,7 +13348,7 @@ PASS Import__91147 [XSLT-Structure]: raised an xslt-error as expected Expected output (1): MSFT_Conformance_Tests/Import/Import__91147.saxon Actual output: MSFT_Conformance_Tests/Import/Import__91147.xuriella -FAIL Import__91148 [XSLT-Structure]: output doesn't match +PASS Import__91148 [XSLT-Structure] Stylesheet: MSFT_Conformance_Tests/Import/91148.noindent-xsl Data: MSFT_Conformance_Tests/Import/books.xml Supplemental stylesheet: MSFT_Conformance_Tests/Import/91148/91148/91148.xsl @@ -13361,7 +13361,7 @@ PASS Import__91150 [XSLT-Structure]: raised an xslt-error as expected Expected output (1): MSFT_Conformance_Tests/Import/Import__91150.saxon Actual output: MSFT_Conformance_Tests/Import/Import__91150.xuriella -FAIL Import__91151 [XSLT-Structure]: output doesn't match +PASS Import__91151 [XSLT-Structure] Stylesheet: MSFT_Conformance_Tests/Import/91151.noindent-xsl Data: MSFT_Conformance_Tests/Import/books.xml Supplemental stylesheet: MSFT_Conformance_Tests/Import/91151a.xsl @@ -13447,7 +13447,7 @@ PASS Import__91166 [XSLT-Structure]: raised an xslt-error as expected Expected output (1): MSFT_Conformance_Tests/Import/Import__91166.saxon Actual output: MSFT_Conformance_Tests/Import/Import__91166.xuriella -FAIL Import__91173 [XSLT-Structure]: output doesn't match +PASS Import__91173 [XSLT-Structure] Stylesheet: MSFT_Conformance_Tests/Import/91173.noindent-xsl Data: MSFT_Conformance_Tests/Import/books.xml Supplemental stylesheet: MSFT_Conformance_Tests/Import/91173a.xsl @@ -19388,4 +19388,4 @@ PASS XSLTFunctions_DocumentFuncWithEmptyArg [Mixed] Expected output (1): MSFT_Conformance_Tests/XSLTFunctions/XSLTFunctions_DocumentFuncWithEmptyArg.saxon Actual output: MSFT_Conformance_Tests/XSLTFunctions/XSLTFunctions_DocumentFuncWithEmptyArg.xuriella -Passed 2921/3080 tests (3 expected failures, 156 unexpected failures). +Passed 2925/3080 tests (3 expected failures, 152 unexpected failures). diff --git a/test.lisp b/test.lisp index fa836af..3284dd7 100644 --- a/test.lisp +++ b/test.lisp @@ -355,13 +355,17 @@ ;; But the official output is unaffected by SANITIZE-STYLESHEET. ;; (defparameter *whitespace-issues* - '("BVTs_bvt044" - "Namespace-alias__91782" - "AttributeSets__91038" - "BVTs_bvt041" - "BVTs_bvt042" - "BVTs_bvt054" - "BVTs_bvt058")) + (cl-ppcre:create-scanner + "(?smx) + ^(BVTs_bvt044$ + |Namespace-alias__91782$ + |AttributeSets__91038$ + |BVTs_bvt041$ + |BVTs_bvt042$ + |BVTs_bvt054$ + |BVTs_bvt058$ + |Import__ + )")) (defparameter *known-failures* '( @@ -799,7 +803,7 @@ (actual (test-output-pathname test "xuriella")) (official (test-official-output-pathname test)) (force-normalization - (find (test-id test) *whitespace-issues* :test #'equal)) + (cl-ppcre:all-matches *whitespace-issues* (test-id test))) (output-method nil)) (handler-bind ((|hey test suite, this is an HTML document| (lambda (c) -- 2.11.4.GIT