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
path: root/mcs
diff options
context:
space:
mode:
authorAlexander Köplinger <alex.koeplinger@outlook.com>2017-10-17 23:06:53 +0300
committerGitHub <noreply@github.com>2017-10-17 23:06:53 +0300
commitbdababe715b9da45546d1be1f827d5b4d986d13b (patch)
treeda158333ac89b6deae15099efe0903b2f07789c2 /mcs
parent9c2a4ff286b64565a2639386d0ab7c490fc1a3ec (diff)
[bcl] Add dependency on .exclude.sources to test assembly (#5804)
Otherwise the assembly won't get rebuilt when you modify .exclude.sources which can be quite confusing.
Diffstat (limited to 'mcs')
-rw-r--r--mcs/build/tests.make6
1 files changed, 2 insertions, 4 deletions
diff --git a/mcs/build/tests.make b/mcs/build/tests.make
index 2e49211d09c..e1f9a4d6bf6 100644
--- a/mcs/build/tests.make
+++ b/mcs/build/tests.make
@@ -72,8 +72,6 @@ ifndef HAVE_CS_TESTS
HAVE_CS_TESTS := $(wildcard $(test_sourcefile))
endif
-HAVE_SOURCE_EXCLUDES := $(wildcard $(test_sourcefile_excludes))
-
HAVE_CS_XTESTS := $(wildcard $(xtest_sourcefile))
endif # !NO_TEST
@@ -173,7 +171,7 @@ test_response_preprocessed = $(test_response)_preprocessed
# This handles .excludes/.sources pairs, as well as resolving the
# includes that occur in .sources files
-$(test_response_preprocessed): $(test_sourcefile)
+$(test_response_preprocessed): $(test_sourcefile) $(wildcard $(test_sourcefile_excludes))
$(SHELL) $(topdir)/build/gensources.sh $@ '$(test_sourcefile)' '$(test_sourcefile_excludes)'
$(test_response): $(test_response_preprocessed)
@@ -231,7 +229,7 @@ xtest_response_preprocessed = $(xtest_response)_preprocessed
# This handles .excludes/.sources pairs, as well as resolving the
# includes that occur in .sources files
-$(xtest_response): $(xtest_sourcefile)
+$(xtest_response): $(xtest_sourcefile) $(wildcard $(xtest_sourcefile_excludes))
$(SHELL) $(topdir)/build/gensources.sh $@ '$(xtest_sourcefile)' '$(xtest_sourcefile_excludes)'
$(xtest_makefrag): $(xtest_response)