makefile.gnu 643 B

12345678910111213141516171819202122232425262728
  1. topdir = ../../..
  2. LIBRARY = System.XML_linux_test.dll
  3. LIB_LIST = System.XML_linux_test.args
  4. LIB_FLAGS = \
  5. -r $(topdir)/class/lib/corlib.dll \
  6. -r $(topdir)/class/lib/System.dll \
  7. -r $(topdir)/class/lib/System.Xml.dll \
  8. -r $(topdir)/class/lib/NUnit.Framework.dll
  9. ifdef SUBDIR
  10. USE_SOURCE_RULES=1
  11. SOURCES_INCLUDE=./$(SUBDIR)/*.cs
  12. SOURCES_EXCLUDE=./TheTests.cs
  13. endif
  14. include $(topdir)/class/library.make
  15. NUNITCONSOLE=$(topdir)/nunit20/nunit-console.exe
  16. MONO_PATH = $(topdir)/nunit20:.
  17. test: $(LIBRARY) run_test
  18. .PHONY: run_test
  19. run_test:
  20. -MONO_PATH=$(MONO_PATH) mono --debug $(NUNITCONSOLE) $(LIBRARY)