2
0

Makefile 976 B

1234567891011121314151617181920212223242526272829303132333435
  1. RUNTIME = mono
  2. MCS_RUNTIME =
  3. MCS = mcs
  4. TESTS = xsd-test-suite/suntest/SunTestsAll/xsiType1.xsd
  5. MASTERS = xsd-test-suite/suntest/tests-all.xml
  6. TEST_ARCHIVE = XSTC-20020116.tar.gz
  7. MASTER_ARCHIVE = test-masters.tar.gz
  8. xsdtest.exe : xsdtest.cs $(TESTS)
  9. $(MCS_RUNTIME) $(MCS) xsdtest.cs
  10. xs-psci-compare.exe : xs-psci-compare.cs
  11. $(MCS_RUNTIME) $(MCS) xs-psci-compare.cs
  12. $(MASTERS) : $(MASTER_ARCHIVE) xsd-test-suite
  13. cd xsd-test-suite; tar zxvf ../$(MASTER_ARCHIVE); cd ..
  14. $(TESTS) : $(TEST_ARCHIVE) $(MASTERS) xsd-test-suite
  15. cd xsd-test-suite; tar zxvf ../$(TEST_ARCHIVE); cd ..
  16. $(TEST_ARCHIVE) :
  17. wget http://www.w3.org/2001/05/xmlschema-test-collection/XSTC-20020116.tar.gz
  18. xsd-test-suite:
  19. mkdir xsd-test-suite
  20. test :
  21. $(RUNTIME) xsdtest.exe
  22. test-psci : xs-psci-compare.exe
  23. $(RUNTIME) xs-psci-compare.exe xsd-test-suite/msxsdtest/tests-all.xml > psci-mono-msxsd.txt
  24. # be careful to use it. This removes ALL files in xsd-test-suite!
  25. # clean:
  26. # rm -rf xsd-test-suite