2003-01-29 Zoltan Varga <vargaz@freemail.hu>
authorZoltan Varga <vargaz@gmail.com>
Wed, 29 Jan 2003 20:52:41 +0000 (20:52 -0000)
committerZoltan Varga <vargaz@gmail.com>
Wed, 29 Jan 2003 20:52:41 +0000 (20:52 -0000)
* 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

mcs/class/corlib/Test/ChangeLog
mcs/class/corlib/Test/makefile.gnu
mcs/class/corlib/Test/run_test.sh

index 34e994bc2306280bd1acf834b26fd406a99df095..a0b8d95f630a1857e6d24b31a35ceb2195a000d2 100644 (file)
@@ -1,3 +1,12 @@
+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.
index 2ede090010e1e72e97fd7eae8abc4b9c1235dd46..15bf4f87232bfe30d7ea73a14770893160b3f76e 100644 (file)
@@ -8,13 +8,14 @@ LIB_FLAGS =   \
                -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:.
 
@@ -23,4 +24,4 @@ test: $(LIBRARY) run_test
 .PHONY: run_test
 
 run_test:
-       -MONO_PATH=$(MONO_PATH) mono $(NUNITCONSOLE) corlib_test.dll
+       -MONO_PATH=$(MONO_PATH) mono --debug $(NUNITCONSOLE) corlib_test.dll
index 6a24784d8db157ad2d98021e10043d64fd23332b..4bbce13165c1b4ad1d2c41a5750989918bb4c265 100755 (executable)
@@ -10,10 +10,11 @@ if [ $# -eq 0 ]; then
 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