Makefile 898 B

12345678910111213141516171819202122232425262728293031323334
  1. .SUFFIXES: .cs .exe
  2. RUNTIME=mono
  3. XMLCONF_OPTIONS=
  4. CSCOMPILE=mcs
  5. ifndef NO_NUNIT
  6. REFERENCES=-d:NUNIT_SUPPORT -r:NUnit.Core -r:NUnit.Framework
  7. endif
  8. TEST_ARCHIVE=xmlts20031210.zip
  9. TEST_CATALOG=xmlconf/xmlconf.xml
  10. TEST_PROG=xmlconf.exe
  11. test: $(TEST_PROG) $(TEST_CATALOG)
  12. run-test: test
  13. $(RUNTIME) $(TEST_PROG) $(XMLCONF_OPTIONS)
  14. run-nunit-test: test
  15. MONO_PATH="../../../../../class/lib/default;;$(MONO_PATH)" /monobuild/mono/runtime/mono-wrapper --debug ../../../../../class/lib/default/nunit-console.exe $(TEST_PROG) /fixture:MonoTests.stand_alone.AllTests /xml=TestResult.xml /out=TestResult.log
  16. test_archive: $(TEST_ARCHIVE)
  17. test_catalog: $(TEST_CATALOG)
  18. $(TEST_ARCHIVE):
  19. wget http://www.w3.org/XML/Test/xmlts20031210.zip
  20. $(TEST_CATALOG): $(TEST_ARCHIVE)
  21. mkdir xmlconf; unzip -un $(TEST_ARCHIVE)
  22. touch $(TEST_CATALOG)
  23. .cs.exe :
  24. $(CSCOMPILE) $< $(REFERENCES)