diff options
-rw-r--r-- | mono/tests/enc/Makefile.am | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/mono/tests/enc/Makefile.am b/mono/tests/enc/Makefile.am index 9f42ddc1db6..c91b7242624 100644 --- a/mono/tests/enc/Makefile.am +++ b/mono/tests/enc/Makefile.am @@ -25,13 +25,17 @@ TESTS_ACTUAL=$(filter-out $(DISABLED_TESTS),$(TESTS_REGULAR)) # DEBUG_FLAGS=MONO_LOG_MASK=metadata-update MONO_LOG_LEVEL=debug MONO_VERBOSE_METHOD=DiffTestMethod1 -check: $(TESTS_REGULAR) +TEST_SRCS:= $(TESTS_REGULAR:.dll=.cs) + +EXTRA_DIST= $(TESTS_SRCS) + +check-local: $(TESTS_REGULAR) @failed=0; \ passed=0; \ failed_tests=""; \ for i in $(TESTS_ACTUAL); do \ echo "======== $$i start ======== "; \ - if $(DEBUG_FLAGS) ../../mini/mono $(TEST_RUNTIME_ARGS) --interp=-inline $$i ; \ + if $(DEBUG_FLAGS) $(RUNTIME) $(TEST_RUNTIME_ARGS) --interp=-inline $$i ; \ then \ passed=`expr $${passed} + 1`; \ echo "======== $$i end (passed) ======== "; \ @@ -44,9 +48,12 @@ check: $(TESTS_REGULAR) echo "$${passed} test(s) passed. $${failed} test(s) did not pass."; \ exit $${failed} +EXTRA_DIST+= EncHelper.cs + EncHelper.dll: EncHelper.cs $(MCS) -target:library -out:$@ $< %.dll: %.cs EncHelper.dll bash -x -c "mono --debug $(ROSLYNILDIFF) -l:EncHelper.dll $< $(basename $<)_v?.cs" - + +CLEANFILES += *.dll.*.dil *.dll.*.dmeta *.dll.*.dpdb |