makefile.gnu 651 B

12345678910111213141516171819202122232425262728
  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.dll \
  8. -r $(topdir)/class/lib/NUnitCore_mono.dll
  9. SOURCES_INCLUDE=*.cs
  10. SOURCES_EXCLUDE=_DUMMY_
  11. include $(topdir)/class/library.make
  12. MCS_FLAGS = --target library --noconfig
  13. TEST_SUITE_PREFIX = MonoTests.
  14. TEST_SUITE = AllTests
  15. NUNITCONSOLE=$(topdir)/class/lib/NUnitConsole_mono.exe
  16. test: $(LIBRARY) run_test
  17. .PHONY: run_test
  18. run_test:
  19. MONO_PATH=$(NUNIT_MONO_PATH) mono $(NUNITCONSOLE) $(TEST_SUITE_PREFIX)$(TEST_SUITE),data_linux_test.dll