Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksey Kliger <alklig@microsoft.com>2020-09-11 19:38:05 +0300
committerAleksey Kliger <alklig@microsoft.com>2020-09-11 19:39:05 +0300
commit2e32fe80489bf6b5b3a3092e48c578cca5e0e3c0 (patch)
tree3fee80869a2890a799f4a16aa7e7e99a76a664d5
parentb5046b5e46cdce043e7d4425c56bc6b0f920b98a (diff)
[tests/enc] clean up Makefile a bit2020-02-enc
-rw-r--r--mono/tests/enc/Makefile.am13
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