New test.
[mono.git] / mcs / tests / Makefile
index fd283e2ee4b47b70e5e07e943e2c3a642fcd4f2e..61eb348ea49063390a0efe3b34717cdc59d95c65 100644 (file)
@@ -6,7 +6,8 @@ thisdir = tests
 SUBDIRS =
 include ../build/rules.make
 
-DISTFILES = README.tests $(wildcard *.cs) $(wildcard *.il) $(wildcard *.xml) $(wildcard *.inc) $(wildcard known-issues-*)
+DISTFILES = README.tests
+DISTFILES += $(wildcard *.cs) $(wildcard *.il) $(wildcard *.xml) $(wildcard *.inc) $(wildcard known-issues-*) $(wildcard *.snk)
 
 with_mono_path = MONO_PATH="$(topdir)/class/lib/$(PROFILE)$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH"
 
@@ -61,7 +62,9 @@ COMPILER = $(topdir)/class/lib/$(PROFILE)/mcs.exe
 TEST_PATTERN = 'test-*.cs'
 endif
 
-run-test-local: test-377-lib.dll test-443-lib.dll
+TEST_ILS := $(wildcard *-lib.il)
+
+run-test-local: $(TEST_ILS:.il=.dll)
        MONO_RUNTIME='$(RUNTIME)' $(TEST_RUNTIME) $(RUNTIME_FLAGS) $(topdir)/class/lib/$(PROFILE)/compiler-tester.exe positive $(TEST_PATTERN) $(COMPILER) known-issues-$(COMPILER_NAME) $(COMPILER_NAME).log
 
 # do nothing for this target