Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions mcs/class/I18N/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ include ../../build/rules.make

DISTFILES = \
Assembly/AssemblyInfo.cs \
EncodingTestBase.cs \
README \
README.mono \
mklist.sh \
Expand Down
10 changes: 8 additions & 2 deletions mcs/class/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -410,8 +410,14 @@ DISTFILES = \
doc/TemplateTest.cs \
notes/BitVecto32.txt \
MicrosoftAjaxLibrary/License.htm \
test-helpers/NetworkHelpers.cs \
test-helpers/SocketResponder.cs \
test-helpers/AdminHelper.cs \
test-helpers/Configuration.Http.cs \
test-helpers/NetworkHelpers.cs \
test-helpers/NunitHelpers.cs \
test-helpers/PlatformDetection.cs \
test-helpers/RemoteExecutorTestBase.Mobile.cs \
test-helpers/RemoteExecutorTestBase.Mono.cs \
test-helpers/SocketResponder.cs \
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought we dist all the .cs files from .sources? Maybe that doesn't work for tests?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think DISTFILES/EXTRA_DIST can traverse up a directory tree? mcs/build/tests.make assigns a full list o' files to TEST_FILES by parsing the relevant .sources files, but I think those files in test-helpers were only being included by being referenced elsewhere (e.g. the two above), not via the .sources parsing

directhex@flame:~/Projects/mono/mcs/class$ sed -e '/^$$/d' -e 's,^../,,' -e '/^\#.*$$/d' -et -e 's,^,Test/,' corlib/corlib_test.dll.sources | grep ^\\.\\.
../../../mono/mini/TestHelpers.cs
../test-helpers/NunitHelpers.cs

$(foreach HOST_PLATFORM,macos linux win32 unix,lib/$(monolite_dir)/mcs.exe $(monolite_files))

.PHONY: all-local $(STD_TARGETS:=-local)
Expand Down