* Tests inherits from Assertion and Assertion. prefix is removed
[mono.git] / mcs / class / System.Security / Test / makefile.gnu
index 96471ff79e27d23b8e5f0ec5c080b9f3694142df..3fa60375beb97c1bfb2e17a3c2ddbc2eab48a71e 100644 (file)
@@ -4,24 +4,25 @@ LIBRARY = security_linux_test.dll
 
 LIB_LIST = security_linux_test.args
 LIB_FLAGS =    \
-       -r $(topdir)/class/lib/corlib.dll \
-       -r $(topdir)/class/lib/System.Xml.dll \
-       -r $(topdir)/class/lib/NUnitCore_mono.dll
-
-SOURCES_INCLUDE=*.cs
+               -r $(topdir)/class/lib/corlib.dll \
+               -r $(topdir)/class/lib/System.Xml.dll \
+               -r $(topdir)/class/lib/System.Security.dll \
+               -r $(topdir)/class/lib/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 
+NUNITCONSOLE=$(topdir)/nunit20/nunit-console.exe
+MONO_PATH = $(topdir)/nunit20:.
 
 test: $(LIBRARY) run_test
 
 .PHONY: run_test
 
 run_test:
-       MONO_PATH=$(NUNIT_MONO_PATH) mono $(NUNITCONSOLE) $(TEST_SUITE_PREFIX)$(TEST_SUITE),security_linux_test.dll
+       -MONO_PATH=$(MONO_PATH) mono --debug $(NUNITCONSOLE) $(LIBRARY)