Merge pull request #4312 from ntherning/winaot-tests-on-jenkins
[mono.git] / mcs / tools / monop / Makefile
index 4be186fbcb7e90e09422b40d751f327fc385ef74..4e84d9916fa15b756445b5148fe51d1faa292c17 100644 (file)
@@ -4,7 +4,14 @@ include ../../build/rules.make
 
 PROGRAM = monop.exe
 LOCAL_MCS_FLAGS += -d:NO_AUTHENTICODE,STATIC,NO_SYMBOL_WRITER
+LIB_REFS = System
 
 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