W3C home > Mailing lists > Public > www-validator-cvs@w3.org > February 2012

2002/css-validator/autotest/testsuite/properties xmlgen.sh,1.1,1.2

From: Yves Lafon via cvs-syncmail <cvsmail@w3.org>
Date: Wed, 08 Feb 2012 17:20:32 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1RvBC4-0004C2-9A@lionel-hutz.w3.org>
Update of /sources/public/2002/css-validator/autotest/testsuite/properties
In directory hutz:/tmp/cvs-serv16104

Modified Files:
	xmlgen.sh 
Log Message:
fixed warning level

Index: xmlgen.sh
===================================================================
RCS file: /sources/public/2002/css-validator/autotest/testsuite/properties/xmlgen.sh,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- xmlgen.sh	17 Nov 2011 14:29:43 -0000	1.1
+++ xmlgen.sh	8 Feb 2012 17:20:30 -0000	1.2
@@ -11,7 +11,7 @@
 <!--
 test markup also accepts 3 properties: warning, profile and medium
 like <test profile="css2" medium="all" warning="0">
-where warning means warninglevel in use (0 => none).
+where warning means warninglevel in use (0 => normal, no => none).
 -->
 <testsuite>
 EOF
@@ -27,12 +27,12 @@
 	echo "Working on $property"
 	for level in `ls $kind/$property | grep -v CVS` ; do
 	    echo "Level for $property is $level"
-	    echo "  <type title=\"Valid_tests_for_$property\">" >> ../xml/prop-$level.xml
+	    echo "  <type title=\"Valid_$property\">" >> ../xml/prop-$level.xml
 	    for tst in `ls $kind/$property/$level | grep -v CVS` ; do
 # FIXME check form the test (comment?) what is the intent and expected
 # result.
 		cat >> ../xml/prop-$level.xml <<EOF
-    <test profile="$level" warning="0">
+    <test profile="$level" warning="no">
       <file>testsuite/properties/$kind/$property/$level/$tst</file>
       <description>Valid $property level $level</description>
       <result valid="true" />
@@ -53,4 +53,4 @@
 -->
 </testsuite>
 EOF
-done
\ No newline at end of file
+done
Received on Wednesday, 8 February 2012 17:22:32 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:55:32 GMT