diff options
Diffstat (limited to 'mcs/class/System.Configuration.Install/Test/makefile.gnu')
-rw-r--r-- | mcs/class/System.Configuration.Install/Test/makefile.gnu | 26 |
1 files changed, 12 insertions, 14 deletions
diff --git a/mcs/class/System.Configuration.Install/Test/makefile.gnu b/mcs/class/System.Configuration.Install/Test/makefile.gnu index 34211373291..ae8a346ec0a 100644 --- a/mcs/class/System.Configuration.Install/Test/makefile.gnu +++ b/mcs/class/System.Configuration.Install/Test/makefile.gnu @@ -3,27 +3,25 @@ topdir = ../../.. LIBRARY = system_configuration_install_linux_test.dll LIB_LIST = system_configuration_install_linux_test.args -LIB_FLAGS = \ - -r $(topdir)/class/lib/corlib.dll \ - -r $(topdir)/class/lib/System.dll \ - -r $(topdir)/class/lib/NUnitCore_mono.dll - -SOURCES_INCLUDE=*.cs +LIB_FLAGS = \ + -r $(topdir)/class/lib/corlib.dll \ + -r $(topdir)/class/lib/System.dll \ + -r $(topdir)/nunit20/NUnit.Framework.dll + +ifdef SUBDIR +USE_SOURCE_RULES=1 +SOURCES_INCLUDE=./$(SUBDIR)/*.cs SOURCES_EXCLUDE=_DUMMY_ +endif include $(topdir)/class/library.make -MCS_FLAGS = --target library --noconfig - -TEST_SUITE_PREFIX = MonoTests. -TEST_SUITE = AllTests -NUNITCONSOLE=$(topdir)/class/lib/NUnitConsole_mono.exe -MONO_PATH = $(topdir)/class/lib:. - +NUNITCONSOLE=$(topdir)/nunit20/nunit-console.exe +MONO_PATH = $(topdir)/nunit20:. test: $(LIBRARY) run_test .PHONY: run_test run_test: - -MONO_PATH=$(MONO_PATH) mono $(NUNITCONSOLE) $(TEST_SUITE_PREFIX)$(TEST_SUITE),system_configuration_install_linux_test.dll + -MONO_PATH=$(MONO_PATH) mono --debug $(NUNITCONSOLE) $(LIBRARY) |