23 Commits
Author SHA1 Message Date
Matous Kozak 9989c9a7af [mono][docs] Add BuildAsStandalone export to mono runtime tests doc (#96054) 2023-12-15 16:24:25 +01:00
Viktor Hofer 2ca7cf7140 Lowercase TargetOS (#80164)
Follow-up on #32451
Follow-up on #80074

In #43651, the "Windows" OS name was lowercased to achieve target frameworks with RIDs in them. At that time, the original plan was to lowercase all TargetOS values but that had to be cut because of resources. This PR finishes that and updates build systems, YML, markdowns and managed components.

To not break existing developer workflows, the passed-in -os value is automatically lower-cased in the script entry points and validated in the msbuild entry point.
2023-01-11 17:58:32 +01:00
Nathan Ricci 4b1840b700 Updated test doc. (#75736) 2022-09-16 12:46:16 -05:00
Aleksey Kliger (λgeek) 4f835ae440 [docs] Debugging Libraries tests on Mono using VS Code (#73393)
* [docs] Debugging Libraries tests on Mono using VS Code

* markdown lint fixes

* A note about windows
2022-08-04 15:43:21 -04:00
Adeel Mujahid 9d6396deb0 Fix typos (#72709) 2022-07-23 20:24:28 -07:00
Tomáš Rylek c3683b06b0 Rename 'excludemonofailures' to 'mono' (#62749) 2021-12-14 07:38:55 +01:00
Nathan Ricci 1d4b5f684c Updated testing document; patching and various mono-specific msbuild targets are no longer needed. (#62588) 2021-12-09 13:40:03 -05:00
Maxim Lipnin b9a2c48aa8 Clean up the documentation for the library testing (#59401) 2021-11-08 12:11:54 +03:00
Aleksey Kliger (λgeek) 72bcf2f77a [tests] In test wrapper scripts if -debug is gdb or lldb, add separator before corerun and args (#60416)
* [tests] If -debug is LLDB, add separator before corerun and args

   For runtime test shell scripts, if a debugger is specified with `-debug=/usr/bin/lddb` or the like, add a separator so that `lldb` doesn't try to interpret `-p` as a PID argument.

   Also update mono workflow doc

* Also support gdb as the debugger
2021-10-20 10:17:54 -04:00
Aleksey Kliger (λgeek) 10d8964fb0 [docs] Add LLDB debugging instructions for Mono running a runtime test (#60410)
* [docs] Add LLDB debugging instructions for Mono running a runtime test

* Also add a note about building a single test
2021-10-14 12:54:31 -04:00
Aleksey Kliger (λgeek) d033e1a902 Don't build ReferenceSystemPrivateCoreLib tests with Mono (#58232)
New tests that extend the System.Private.CoreLib API should add to the ref assemblies in src/libraries and the tests themselves should be library tests.

Updated the workflow doc: the Clr.Native subset is all that is need if we're interested in testing Mono.

Contributes to https://github.com/dotnet/runtime/issues/58266

* [tests] Use RuntimeFlavor to build ReferenceSystemPrivateCoreLib tests

   When building tests that reference System.Private.CoreLib, use the one from the specified RuntimeFlavor (or fall back to coreclr if it's unset - although src/tests/build.sh sets it always)

* Update docs: We only need to build the Clr.Native subset if we're interested in testing Mono.

* flavor the pipelines to build the runtime-specific System.Private.CoreLib for the runtime tests.

* Don't build ReferenceSystemPrivateCoreLib tests with Mono

   We should avoid adding new ReferenceSystemPrivateCoreLib tests
2021-08-30 12:11:42 -04:00
Fan YangandJuan Hoyos e0ba450d7f [Mono] Update instructions for running runtime tests on Android (#57166)
* Update instructions for running runtime tests on Android

* Update docs/workflow/testing/mono/testing.md

Co-authored-by: Juan Hoyos <juan.hoyos@microsoft.com>

Co-authored-by: Juan Hoyos <juan.hoyos@microsoft.com>
2021-08-11 12:13:29 -04:00
SingleAccretion af5eae3c87 Delete missed mono/netcore from the documentation (#50557) 2021-04-01 09:27:57 -04:00
Zoltan Varga 382de3d308 Remove the src/mono/netcore directory, move its contents to src/mono. (#47847)
* Remove the src/mono/netcore directory, move its contents to src/mono.

* Fix docs and make targets.

* Remove the netcore dir itself.

* Fix samples.
2021-02-04 18:59:14 -05:00
Fan Yang 60c6086aa7 Update testing.md (#46295)
The current framework relays on CoreCLR to create the Core_Root and then patch it with mono runtime. So building CoreCLR is required before building runtime tests for desktop Mono
2020-12-21 14:04:30 -05:00
Fan Yang 1aac928655 Update testing.md (#46043)
skipstressdependencies switch was removed from the runtime tests build script.
2020-12-14 15:39:06 -05:00
Fan YangandRyan Lucia a6b3b236ef Updated mono testing doc (#44360)
* Update testing.md

* Create testing-mono.md

* Update mono testing doc

* Update docs/workflow/testing/mono/testing.md

Co-authored-by: Ryan Lucia <rylucia@microsoft.com>

* Update docs/workflow/testing/mono/testing.md

Co-authored-by: Ryan Lucia <rylucia@microsoft.com>

* Update docs/workflow/testing/mono/testing.md

Co-authored-by: Ryan Lucia <rylucia@microsoft.com>

* Update docs/workflow/testing/mono/testing.md

Co-authored-by: Ryan Lucia <rylucia@microsoft.com>

* Update docs/workflow/testing/mono/testing.md

Co-authored-by: Ryan Lucia <rylucia@microsoft.com>

* Update docs/workflow/testing/mono/testing.md

Co-authored-by: Ryan Lucia <rylucia@microsoft.com>

* Update docs/workflow/testing/mono/testing.md

Co-authored-by: Ryan Lucia <rylucia@microsoft.com>

* Update docs/workflow/testing/mono/testing.md

Co-authored-by: Ryan Lucia <rylucia@microsoft.com>

* Update docs/workflow/testing/mono/testing.md

Co-authored-by: Ryan Lucia <rylucia@microsoft.com>

* PR feedback

* Fix format

* Update docs/workflow/testing/mono/testing.md

Co-authored-by: Ryan Lucia <rylucia@microsoft.com>

* Update docs/workflow/testing/mono/testing.md

Co-authored-by: Ryan Lucia <rylucia@microsoft.com>

* Update docs/workflow/testing/mono/testing.md

Co-authored-by: Ryan Lucia <rylucia@microsoft.com>

* Update docs/workflow/testing/mono/testing.md

Co-authored-by: Ryan Lucia <rylucia@microsoft.com>

* PR feedback

* Update docs/workflow/testing/mono/testing.md

Co-authored-by: Ryan Lucia <rylucia@microsoft.com>

* Update docs/workflow/testing/mono/testing.md

Co-authored-by: Ryan Lucia <rylucia@microsoft.com>

* Replace bullet points with sub-headers

* Update sub-headers to remove the duplicated part

Co-authored-by: Ryan Lucia <rylucia@microsoft.com>
2020-11-20 14:27:44 -05:00
Youssef VictorandJan Kotas d14b50ae21 Fix trailing whitespaces (#40891)
* Trim trailing whitespaces

* Match raw with rendered

* Delete extra asterisks and |

* Update ELT Hooks - tail calls.md

Co-authored-by: Jan Kotas <jkotas@microsoft.com>
2020-08-19 17:29:01 -07:00
Viktor Hofer 33f2807fc6 Remove BuildAndTest and RebuildAndTest target in favor of Test (#33151)
* Implicitly build when invoking the test target

To get closer to the VSTest behavior this changes the Test target to
implicitly invoke the Build target unless /p:TestNoBuild is passed in.
(VSTest uses VSTestNoBuild which is controlled by the
dotnet test --no-build flag)

* Fix error logging for test outputs

* Update dotnet msbuild to build docs

* Update ReportGenerator global tool version

Updating ReportGenerator's version to 4.5.0 which removes unnecessary
logging (args passed in).
2020-03-04 19:40:19 +01:00
Steve Pfister 32ac6c5f23 Add additional info to the mono building and testing docs (#32339) 2020-02-15 17:48:57 -05:00
Alexander KöplingerandViktor Hofer 6eb3edf818 Enable Mono build in CI (#1934)
* Enable Mono in default build

* Integrate Mono into the build system

* Fix System.Private.CoreLib build in Mono

Broken by https://github.com/dotnet/runtime/commit/9c82a36c23235c4d50954cb33a4d5d89b787a1aa

* Disable Windows test runs

Fails due to https://github.com/dotnet/runtime/issues/1933

Co-authored-by: Viktor Hofer <viktor.hofer@microsoft.com>
2020-01-22 21:20:13 +01:00
Maxim Lipnin bca2191ef3 [Docs] Fix small typo (#1961) 2020-01-21 10:13:49 -05:00
Marek Safar 71a216a5ff Initial pass on updating documentation to include MonoVM (#1863)
* Update documentation to cover also Mono runtime

* Updated requirements for mac and linux to include mono's

* Update System.Private.CoreLib/src/README.md

* Added initial mono building doc

* Added library testing steps for mono

* A bit of rewording based on feedback

* Add some scripts coloring
2020-01-20 07:50:07 -08:00