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
AgeCommit message (Collapse)Author
2019-03-06[gitattributes] Do CRLF normalization on sln/proj filesAlexander Köplinger
They can be used with native line endings. We now have a shared folder with the dotnet repos and they have CRLF normalization enabled. This difference leads to conflicts while applying changes from the dotnet repos to mono.
2019-01-02[csproj] Update project filesmonojenkins
2018-09-27[Microsoft.Build] Switch tests to use embedded test resourcesAlexander Köplinger
Also moved some xbuild test data to mcs/class/lib/net_4_x/tests/xbuild
2018-09-02Move the PreBuild dependency property later in the file so targets can't ↵Katelyn Gadd
override it (#10429) * Move the PreBuild dependency property later in the file so targets can't override it * [csproj] Update project files
2018-08-31Kill sln dependencies (#10406)Katelyn Gadd
* Remove use of sln dependencies and use csproj project references instead * Rewrite jay.vcxproj so it builds correctly even without help from the sln file * Force pre-build event to run after references are resolved. Change how culevel.exe path is computed to be more resilient. * [csproj] Update project files
2018-08-09Move to generating msbuild choose elements to get if-else selection behavior ↵Katelyn Gadd
for sources in projects so that we don't get erroneous duplicate files in cases where there are both profile and host platform criteria (#9952) A recent commit revealed that in cases where we select based on a mix of host platform and profile, genproj csproj files can end up with duplicate sources because the existing <ItemGroup Condition= approach could make multiple groups match for a given compile when we really just want one. This PR changes to generating a cascade of msbuild <Choose> elements, which give if-else selection to ensure that we only ever build a single set of files.
2018-08-02Use msbuild project reference to establish dependency on genconsts instead ↵Katelyn Gadd
of solution dependencies (#9670) Using solution dependencies in ```bcl.sln``` seems flaky and seems like it might not establish the full ordering we need to ensure that ```Consts.cs``` exists before we build things that require it. Let's try using project references (where ```corlib.dll``` 'depends' on ```genconsts.exe```) instead. This should also insert the dependency for any project that includes Consts.cs instead of just corlib. This PR also makes update-solution-files actually fail if ```genconsts.exe``` fails to build because it was driving me mad. Part of #6886
2018-06-29Rework genproj to use gensources to build sources list for each profile and ↵Katelyn Gadd
host platform (#8985) * Update genproj makefile to include gensources Update genproj argument parser to be more generous about displaying help * Checkpoint * Checkpoint * Checkpoint * Checkpoint * Checkpoint * Checkpoint * Checkpoint * Checkpoint * Fix rebase issue * Checkpoint * Checkpoint * Fix built sources only being added to one profile * Fix typo * Checkpoint * Fix indentation * Use csc instead of mcs * Checkpoint * Fix BUILT_SOURCES only being handled for the first profile processed * Checkpoint * Checkpoint * Strip double slashes from paths to fix spurious csproj change * Checkpoint * Checkpoint * Checkpoint * Checkpoint: Fix genproj compilation * Checkpoint * Checkpoint * Checkpoint * Fix crash when no targets were loaded (due to an error) * Checkpoint * Checkpoint * Checkpoint * Fix TryParseTargetInto bug * Checkpoint * Shuffle exclude logic around so that it works correctly during genproj diffing * Remove gensources tracing * Checkpoint * Fix handling of oddball sources paths from executable.make * Fix jay not being set to build * Fix wrong slashes being used for embedded resource paths * [csproj] Update project files
2018-06-01[csproj] Update project filesmonojenkins
2018-05-03[Microsoft.Build] Bump timeout for ↵Jay Krell
BuildSubmissionTest.EndBuildWaitsForSubmissionCompletion. (#8556) https://jenkins.mono-project.com/job/test-mono-pull-request-coop/3429/testReport/junit/(root)/BuildSubmissionTest/EndBuildWaitsForSubmissionCompletion/ ``` BuildSubmissionTest.EndBuildWaitsForSubmissionCompletion Failing for the past 1 build (Since Unstable#3429 ) Took 36 sec. add description Stacktrace MESSAGE: #5 Expected: less than or equal to 00:00:02.5000000 But was: 00:00:09.1408213 +++++++++++++++++++ STACK TRACE: at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke(System.Reflection.MonoMethod,object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0003b] in /mnt/jenkins/workspace/test-mono-pull-request-coop/mcs/class/corlib/System.Reflection/MonoMethod.cs:305 ```
2018-04-16Default platform to net_4_x if none is specified, to fix tools that build ↵Katelyn Gadd
without setting a platform (#8223) * Default platform to net_4_x if none is specified, to fix tools that build without setting a platform * [csproj] Update project files
2018-03-28[msvc] Update csproj files (#7811)monojenkins
* [msvc] Update csproj files * [msvc] Delete old net_4_x.csproj and xbuild_12.csproj files
2018-03-08[msvc] Update csproj files (#7497)monojenkins
2018-02-23[msvc] Update csproj files (#7238)monojenkins
2018-02-23Updates to support building the BCL using Visual Studio 2017 on windows (#6877)Katelyn Gadd
2018-01-22This test is supposed to take between 1 and 2 seconds, but takes slightly ↵Jay Krell
longer in practise and fails. Give it 2.5 seconds. https://jenkins.mono-project.com/job/test-mono-pull-request-amd64/10727/parsed_console/log.html Tests run: 120, Passed: 119, Errors: 0, Failures: 1, Inconclusive: 0 Not run: 0, Invalid: 0, Ignored: 0, Skipped: 0 Elapsed time: 00:00:32.8320000 Errors and Failures: EndBuildWaitsForSubmissionCompletion (MonoTests.Microsoft.Build.Execution.BuildSubmissionTest.EndBuildWaitsForSubmissionCompletion) #5 Expected: less than or equal to 00:00:02 But was: 00:00:02.0757916 at MonoTests.Microsoft.Build.Execution.BuildSubmissionTest.EndBuildWaitsForSubmissionCompletion () [0x00126] in /mnt/jenkins/workspace/test-mono-pull-request-amd64/mcs/class/Microsoft.Build/Test/Microsoft.Build.Execution/BuildSubmissionTest.cs:105 at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke(System.Reflection.MonoMethod,object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00032] in /mnt/jenkins/workspace/test-mono-pull-request-amd64/mcs/class/corlib/System.Reflection/MonoMethod.cs:305
2017-11-26[msvc] Update csproj files (#6100)monojenkins
2017-11-15[runtime] Add Dedup Support to MkBundle (#5484)Alexander Kyte
* [runtime] Fix mkbundle compilation on OSX * [runtime] Add aot arguments to mkbundle * [runtime] Enable compiling aot with mkbundle * [runtime] Add new dedup interface to mkbundle * [runtime] Fix path resolving for mkbundle * [runtime] Use mkbundle in BCL tests * [runtime] Skip building System.Security, System.IdentityModel tests on testing_aot_full * [runtime] Fix in-tree building for mkbundle * [runtime] Move testing dll into profile * [runtime] Add target to mkbundle all tests before CI * [runtime] Build stripper and use with mkbundle Preliminary linker support ran into dependency-finding bug with the monolinker.exe binary. Fix postponed until later. * [runtime] Skip not supported tests with mkbundle * [runtime] Don't re-aot when running BCL tests * [runtime] Provide config to mkbundle * [runtime] Fix mkbundle internationalization test results, build all * [runtime] Clean up temp mkbundle aot directory * [runtime] Add mkbundle support for dedup * [runtime] Fix tracking of dedup module in mkbundle * [runtime] Document mkbundle AOT options in man pages * [runtime] Fix CADMessage generic method argument marshalling
2017-08-31Revert "Merge pull request #5330 from alexanderkyte/dedup_mkbundle"Alexander Köplinger
This reverts commit 9a287c04126d095e7371afee32632febd0dafd93, reversing changes made to 4a79280b3bef8d5f15da9ddd2a2af3a03e194b03. It breaks tons of tests.
2017-08-30[runtime] Move testing dll into profileAlexander Kyte
2017-08-07[msvc] Update csproj filesAlexander Köplinger
2017-08-07[bcl] Specify the name of the key file on the command line instead of using ↵Zoltan Varga
the AssemblyKeyFile attribute for consistency and to make it easier to do path name manipulation on the file name. (#5316)
2017-07-14[Microsoft.Build] Relax check in BuildSubmissionTest a bit moreAlexander Köplinger
2017-07-14[Microsoft.Build] Make BuildSubmissionTest.EndBuildWaitsForCompletion more ↵Alexander Köplinger
reliable (#5209) We've seen this test failure a few times: ``` MESSAGE: #2 Expected: greater than or equal to 00:00:01 But was: 00:00:00.9544900 +++++++++++++++++++ STACK TRACE: at MonoTests.Microsoft.Build.Execution.BuildSubmissionTest.EndBuildWaitsForSubmissionCompletion () [0x000d8] in /mnt/jenkins/workspace/test-mono-mainline-linux/label/ubuntu-1404-amd64/mcs/class/Microsoft.Build/Test/Microsoft.Build.Execution/BuildSubmissionTest.cs:110 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00032] in /mnt/jenkins/workspace/test-mono-mainline-linux/label/ubuntu-1404-amd64/mcs/class/corlib/System.Reflection/MonoMethod.cs:305 ``` Rewriting the test to use Stopwatch instead of DateTime for measuring elapsed time should make it more reliable.
2017-07-03[Microsoft.Build] Improve assert in ↵Alexander Köplinger
BuildSubmissionTest.EndBuildWaitsForSubmissionCompletion It started failing more frequently, let's see if we can get better data. Also did the same change to a similar test.
2017-05-15[msvc] Update csproj files (#4846)monojenkins
2017-04-18[msvc] Update csproj files (#4711)monojenkins
2017-03-16[Microsoft.Build] Rename method parameters to match .NET contractAlexander Köplinger
2017-01-28[bcl] Update tests that failed when .cs file contained CRLFAlexander Köplinger
Most of them used multiline C# string literals which means they contained the line ending character of the file. Updated to make the tests resilient to having CRLF instead of LF. Some of the mcs tests used a checksum to compare files, ensured those are checked out using LF.
2017-01-10[msvc] Update csproj files (#4221)monojenkins
2016-12-22[bcl] Clean up old run-test.bat and *.csproj filesAlexander Köplinger
They .bat files haven't been used for a long time and don't work anymore. The csproj files for the facades have a different name now.
2016-11-14[msvc] Update .csproj filesAlexander Köplinger
2016-10-29[Microsoft.Build] Ignore ThreadAbortException in BuildNodeManagerAlexander Köplinger
It showed up after test runs with nunit-lite because it caused writes to Console.Error.
2016-10-29[bcl] Add NUnitHelper.cs with API not in nunit-liteMarcos Henrich
NUnitHelper.cs adds CollectionAssert, FileAssert, StringAssert. Also adds AssertHelper class with methods that are not part of nunitlite Assert class.
2016-10-29[bcl] Add patching of nunit-lite-console.exe.config fileAlexander Köplinger
Because nunit-lite runs everything in the same AppDomain, we can't use dll.config files for settings anymore. Since a few test suites rely on being able to read those settings we need to patch them into the main nunit-lite-console.exe.config file instead before the test. Remove all _test.dll.config files and replace with nunit-lite patcher equivalent
2016-10-17[build] Regenerate .csproj filesAlexander Köplinger
Note: DISABLE_CAS_USE was removed in ed989a8e9e5c170b6d19edc60bb80e8a4e6d5cc0
2016-10-07Fix failures in MSBuild tests on WindowsNiklas Therning
2016-08-23[mcs] Remove NET_4_5 ifdef from the source filesAlexander Köplinger
It is always set in all profiles that we support so we can remove it.
2016-06-16Revert "[runtime] Fix jay path in Microsoft.Build"Alexander Kyte
This reverts commit 6780bb169cc3e2fb96b951607a4027416171698b.
2016-06-16[runtime] Fix jay path in Microsoft.BuildAlexander Kyte
2016-05-31[genproj] support for using prebuilt resourcesMiguel de Icaza
2016-05-31[genproj] Getting closer to a full buildMiguel de Icaza
* Add TODO list * Use -useSourcePath when building resources, so we do not need to add the explicit extra path * More updates, now battling resource generation across the board * Use newlines in the Unix commands to avoid generating things like cs-parser.cs^M
2016-05-27[genproj] Do not use \r on the Unix parts of the build hook, add RabbitMQ hooksMiguel de Icaza
2016-05-19[msbuild projects] Use newlines without a carriage return for Unix targets ↵Miguel de Icaza
to appease MS msbuild
2016-05-19[genproj] Use an explicit IntermediateOutputPath to prevent rebuilds on ↵Miguel de Icaza
cyclic assemblies
2016-05-18genproj: Improve handling of executables and projects with build dependenciesMiguel de Icaza
2016-05-18[genproj] Updates to project generator and csproj files.Miguel de Icaza
* Adds support for a handful of new command line arguments that we now use in the build. * Always attempts to match to a project name, to get the proper project dependency. * Update to support .exe and .dll in the generation. * Remove warnings and some dead code * Update the resulting csproj files based on running: make update-csproj make package-inputs mono genproj.exe
2016-04-04[build] Change the way how mcs references are passed to compiler to always ↵Marek Safar
use full path. One of csc prerequisites because csc uses -lib as path which is considered after RuntimeEnvironment.GetRuntimeDirectory which makes -lib useless
2016-03-22[Microsoft.Build] Shut down single-use build managerMikayla Hutchinson
2016-03-22[Microsoft.Build] Set IsBackground on builder threadmhutch
It should not prevent the process from terminating. Fixes issue where the thread is not shut down if ProjectInstances are built directly instead of via the build manager.