2005-01-31 Zoltan Varga <vargaz@freemail.hu>
[mono.git] / mcs / class / System.Web.Services / Test / standalone / Makefile
index e78e6db8fce115b94e19bb6350c949a2f8a6a1a2..90fd4371d2c6afc8286304a7028f0d1fda92c9e8 100644 (file)
@@ -7,7 +7,7 @@ proxies: proxies.dll
 
 wstest.exe: wstest.cs
        $(MCS) wstest.cs /r:System.Web.Services.dll
-       
+
 clean:
        rm -f *.dll *.exe *~ *.pdb
        rm -rf proxies
@@ -18,7 +18,7 @@ proxies.dll:
        $(MCS) /r:System.Web.Services.dll /r:System.Data /target:library -out:proxies.dll @proxies.sources
 
 tests: proxies
-       $(MCS) /r:proxies.dll /r:System.Web.Services.dll /r:nunit.framework.dll /r:System.Data /target:library -out:testclient.dll @client.sources WebServiceTest.cs
+       $(MCS) /r:proxies.dll /r:System.Web.Services.dll /r:nunit.framework.dll /r:System.Data /target:library -out:System.Web.Services-standalone_test.dll @client.sources WebServiceTest.cs
 
 update:
        mono --debug wstest.exe ur http://www.xmethods.net/default.disco wsdl.ignore
@@ -40,7 +40,7 @@ cls:
 pack:
        tar --gzip -cf wsdlfiles.tar.gz wsdlcache
        gzip proxies.net.xml
-       
+
 winbase:
        csc wstest.cs
        rm -rf wsdl
@@ -50,32 +50,37 @@ winbase:
        wstest.exe gp
        csc /r:System.Web.Services.dll /r:System.Data /target:library -out:proxies.dll @proxies.sources
        mono ../../../../tools/corcompare/mono-api-info.exe proxies.net.dll > proxies.net.xml
-       
+
 test-wsdl: tools
+       rm -rf error/*
        rm -rf wsdlcache
        rm -rf proxies
        rm -f proxies.dll
        tar xvfz wsdlfiles.tar.gz
        gunzip -c proxies.net.xml.gz > proxies.net.xml
        mono wstest.exe gp
+       mono wstest.exe gc
        mcs /r:System.Web.Services.dll /r:System.Data /target:library -out:proxies.dll @proxies.sources
        mono ../../../../tools/corcompare/mono-api-info.exe proxies.dll > proxies.mono.xml
+       mono wstest.exe msfix proxies.net.xml
        mono ../../../../tools/corcompare/mono-api-diff.exe proxies.net.xml proxies.mono.xml > proxies.diff.xml
        mono wstest.exe checkdiff proxies.diff.xml
-       
-kk:
-       gunzip -c proxies.net.xml.gz > proxies.net.xml
-       
+
 test-clients: tests
        rm -f somefile && touch somefile
        (tail -f somefile | xsp --root server)&
        sleep 2
-       -mono ../../../lib/nunit-console.exe testclient.dll
+       -harness=../../../lib/default/nunit-console.exe; \
+       if test -f $$harness; then :; else harness=../../../lib/nunit-console.exe; fi; \
+       mono $$harness System.Web.Services-standalone_test.dll
        echo "" >> somefile
 
 test: test-wsdl test-clients
-       
+
 respage:
        mono transform.exe proxies.diff.xml ../../../../tools/corcompare/mono-api.xsl > proxies.data.html
        cat header.html proxies.data.html > proxies.html
        rm proxies.data.html
+
+genfiles:
+       mono wstest.exe genfiles templates.xml