Author: andrews
Date: 2005-05-09 02:36:01 -0400 (Mon, 09 May 2005)
New Revision: 44241

Modified:
   trunk/mcs/class/System.XML/Test/System.Xml.Schema/standalone_tests/ChangeLog
   trunk/mcs/class/System.XML/Test/System.Xml.Schema/standalone_tests/Makefile
   trunk/mcs/class/System.XML/Test/System.Xml.Schema/standalone_tests/xsdtest.cs
Log:
* Makefile : track the timestamp so tar does not run when not needed
* xsdtest.cs : fix the case of the directory name


Modified: 
trunk/mcs/class/System.XML/Test/System.Xml.Schema/standalone_tests/ChangeLog
===================================================================
--- 
trunk/mcs/class/System.XML/Test/System.Xml.Schema/standalone_tests/ChangeLog    
    2005-05-09 05:46:33 UTC (rev 44240)
+++ 
trunk/mcs/class/System.XML/Test/System.Xml.Schema/standalone_tests/ChangeLog    
    2005-05-09 06:36:01 UTC (rev 44241)
@@ -1,3 +1,8 @@
+2005-05-08  Andrew Skiba  <[EMAIL PROTECTED]>
+
+       * Makefile : track the timestamp so tar does not run when not needed
+       * xsdtest.cs : fix the case of the directory name
+
 2004-01-17  Atsushi Enomoto  <[EMAIL PROTECTED]>
 
        * Makefile : report details.

Modified: 
trunk/mcs/class/System.XML/Test/System.Xml.Schema/standalone_tests/Makefile
===================================================================
--- trunk/mcs/class/System.XML/Test/System.Xml.Schema/standalone_tests/Makefile 
2005-05-09 05:46:33 UTC (rev 44240)
+++ trunk/mcs/class/System.XML/Test/System.Xml.Schema/standalone_tests/Makefile 
2005-05-09 06:36:01 UTC (rev 44241)
@@ -12,18 +12,19 @@
 xs-psci-compare.exe : xs-psci-compare.cs
        $(MCS_RUNTIME) $(MCS) xs-psci-compare.cs
 
-$(MASTERS) : $(MASTER_ARCHIVE) xsd-test-suite
-       cd xsd-test-suite; tar zxvf ../$(MASTER_ARCHIVE); cd ..
+$(MASTERS) : $(MASTER_ARCHIVE)
+       mkdir xsd-test-suite 2>/dev/null; true
+       cd xsd-test-suite && tar zxvf ../$(MASTER_ARCHIVE)
+       touch $(MASTERS)
 
-$(TESTS) : $(TEST_ARCHIVE) $(MASTERS) xsd-test-suite
-       cd xsd-test-suite; tar zxvf ../$(TEST_ARCHIVE); cd ..
+$(TESTS) : $(TEST_ARCHIVE) $(MASTERS) 
+       mkdir xsd-test-suite 2>/dev/null; true
+       cd xsd-test-suite && tar zxvf ../$(TEST_ARCHIVE)
+       touch $(TESTS)
 
 $(TEST_ARCHIVE) :
        wget 
http://www.w3.org/2001/05/xmlschema-test-collection/XSTC-20020116.tar.gz
 
-xsd-test-suite:
-       mkdir xsd-test-suite
-
 run-test :
        $(RUNTIME) $(RUNTIME_FLAGS) xsdtest.exe --xml --reportsuccess --testall 
--details --report:TestResult.xml $(XSD_TEST_FLAGS)
        @echo "SUCCESS: `grep -c \"OK\" TestResult.xml` NORMAL FAILURE: `grep 
-c should TestResult.xml` UNEXPECTED `grep -c unexpected TestResult.xml`"

Modified: 
trunk/mcs/class/System.XML/Test/System.Xml.Schema/standalone_tests/xsdtest.cs
===================================================================
--- 
trunk/mcs/class/System.XML/Test/System.Xml.Schema/standalone_tests/xsdtest.cs   
    2005-05-09 05:46:33 UTC (rev 44240)
+++ 
trunk/mcs/class/System.XML/Test/System.Xml.Schema/standalone_tests/xsdtest.cs   
    2005-05-09 06:36:01 UTC (rev 44241)
@@ -100,7 +100,7 @@
        
        void RunTest (string subdir)
        {
-               string basePath = @"Xsd-Test-Suite" + SEP;
+               string basePath = @"xsd-test-suite" + SEP;
                XmlDocument doc = new XmlDocument ();
                doc.Load (basePath + subdir + SEP + "tests-all.xml");
 

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to