* makefile.gnu: compile and run with debugging enabled.
* makefile.gnu: added SUBDIR variable to enable building a subset of
the tests, saving on compilation time during development.
* run_test.sh: updated to nunit2.
svn path=/trunk/mcs/; revision=11028
+2003-01-29 Zoltan Varga <vargaz@freemail.hu>
+
+ * makefile.gnu: compile and run with debugging enabled.
+
+ * makefile.gnu: added SUBDIR variable to enable building a subset of
+ the tests, saving on compilation time during development.
+
+ * run_test.sh: updated to nunit2.
+
2003-01-12 Sebastien Pouliot <spouliot@videotron.ca>
* corlib_linux_test.args: added MACTripleDES test file.
-r $(topdir)/class/lib/System.dll \
-r $(topdir)/nunit20/NUnit.Framework.dll
-SOURCES_INCLUDE=*.cs
+ifdef SUBDIR
+USE_SOURCE_RULES=1
+SOURCES_INCLUDE=./$(SUBDIR)/*.cs
SOURCES_EXCLUDE=_DUMMY_
+endif
include $(topdir)/class/library.make
-MCS_FLAGS = --target library --noconfig
-
NUNITCONSOLE=$(topdir)/nunit20/nunit-console.exe
MONO_PATH = $(topdir)/nunit20:.
.PHONY: run_test
run_test:
- -MONO_PATH=$(MONO_PATH) mono $(NUNITCONSOLE) corlib_test.dll
+ -MONO_PATH=$(MONO_PATH) mono --debug $(NUNITCONSOLE) corlib_test.dll
fi
topdir=../../..
-NUNITCONSOLE=${topdir}/class/lib/NUnitConsole_mono.exe
+NUNITCONSOLE=$topdir/nunit20/nunit-console.exe
+MONO_PATH=$topdir/nunit20:.
for i in $@; do
- MONO_PATH=../../../class/lib:. \
- mono ${NUNITCONSOLE} MonoTests.${i},corlib_linux_test.dll
+ MONO_PATH=$MONO_PATH \
+ mono --debug ${NUNITCONSOLE} corlib_test.dll /fixture:MonoTests.${i}
done