makefile.gnu 575 B

123456789101112131415161718192021222324252627
  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.Xml.dll \
  7. -r $(topdir)/nunit20/NUnit.Framework.dll
  8. ifdef SUBDIR
  9. USE_SOURCE_RULES=1
  10. SOURCES_INCLUDE=./$(SUBDIR)/*.cs
  11. SOURCES_EXCLUDE=./TheTests.cs
  12. endif
  13. include $(topdir)/class/library.make
  14. NUNITCONSOLE=$(topdir)/nunit20/nunit-console.exe
  15. MONO_PATH = $(topdir)/nunit20:.
  16. test: $(LIBRARY) run_test
  17. .PHONY: run_test
  18. run_test:
  19. -MONO_PATH=$(MONO_PATH) mono --debug $(NUNITCONSOLE) $(LIBRARY)