makefile.gnu 646 B

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