Merge pull request #1949 from lewurm/fixtype
[mono.git] / mcs / tools / monop / Makefile
index 59c68eb193845165d54e829e83bfdf7b400dda30..52ecbbb3fb53f719e83c8f14d9518385d0a148fa 100644 (file)
@@ -3,5 +3,14 @@ SUBDIRS =
 include ../../build/rules.make
 
 PROGRAM = monop.exe
+LOCAL_MCS_FLAGS += -d:NO_AUTHENTICODE,STATIC,NO_SYMBOL_WRITER
+
+CLEAN_FILES = monop.exe monop2.exe *.mdb
 
 include ../../build/executable.make
+
+run-test-local : basic-tests
+
+basic-tests:
+       for type in System.Array System.String 'System.Collections.Generic.List`1'; do \
+       echo $$type; MONO_PATH="$(topdir)/class/lib/$(PROFILE)$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" $(RUNTIME) $(build_lib) $$type >/dev/null || exit 1; done