Commit Graph
45 Commits
Author SHA1 Message Date
David Cantú 54fb5973a0 /p:Configuration must use "Release" instead of "release" (#40816)
I am not very familiar with Unix so I was not aware why I was having below error:
```
/home/jozky/runtime/.dotnet/sdk/5.0.100-preview.8.20362.3/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.FrameworkReferenceResolution.targets(379,5): error NETSDK1112: The runtime pack for Microsoft.NETCore.App.Runtime.browser-wasm was not downloaded. Try running a NuGet restore with the RuntimeIdentifier 'browser-wasm'. [/home/jozky/runtime/src/libraries/System.IO.FileSystem/tests/System.IO.FileSystem.Tests.csproj]
```

I tried running `dotnet restore --runtime browser-wasm` as suggested by the error but that didn't help.
The correct thing to do was to pass `Release` (with upper case R) to `Configuration` parameter.

cc @safern
2020-08-13 22:19:23 -07:00
Austin Wiseanddanmosemsft 82ba676b70 Update using-dotnet-cli.md (#40504)
* Update using-dotnet-cli.md

Update the First Run section for .NET 5.

* more renames

* typo

Co-authored-by: danmosemsft <[email protected]>
2020-08-07 16:50:22 -07:00
Dan Moseley 87f0165599 Update visualstudio.md (#40047) 2020-07-28 14:33:36 -07:00
Stephen Toub 117c9d6e85 Fix a few more license headers (#38973)
* Fix a few more license headers

I missed a few directories outside of src.

* Update Directory.Build.props
2020-07-09 11:32:01 -04:00
Ivan Diaz Sanchez 8b67e34eb7 Added doc with instructions to run ASP.NET Benchmarks with crossgen2 (#38695)
* Added doc with instructions on running basic ASP.NET Benchmarks with crossgen2.

* Shortened clr+libs command in Asp.Net Benchmarks doc.
2020-07-02 16:05:39 -07:00
Aleksey Kliger (λgeek) 2bfc063880 [docs] Fix wasm testing example directories (#38624)
And use a testsuite that passes for the example
2020-07-01 12:04:16 -04:00
Maxim Lipnin 84c64c5801 Add initial doc about testing libraries on WebAssembly (#37478)
* Add initial doc about testing libraries on WebAssembly

* Address feedback

* Address feedback
2020-06-08 18:01:51 +02:00
+89 9e09fe3c26 Dev infra master merge1 (#37274)
* Build all managed coreclr tests on OSX in CI (#36253)

Remove concept of targetGeneric and targetSpecific

Add OSX corelcr managed tests builds to all pipes
Remove all other platform coreclr managed test build

Remove property `TestUnsupportedOutsideWindows`
Rename conditional `DisableProjectBuild` to `CLRTestTargetUnsupported`

Refactor tests to allow all managed tests to be built on OSX.

Split managed tests which based on target properties conditionally:
+ `<Compile Include/>`
+ `<DefineConstant/>`

This creates a separate test for each target configuration permutation.

Add `<CLRTestTargetUnsupported/>` conditions to select these at build and/or
run time

Append split tests with `_Target*` to identify intended test target

For tests which depend on target specific internal details od System.Private.Corlib,
expose a dummy implementation for unsupported targets.

Clean up

Remove <TraitTags/>
Remove <CLRTestNeedTarget/>
Remove managedOSXBuild
Remove managedTestBuildOsGroup
Remove managedTestBuildOsSubGroup

Use issues.target to disable expected failures

Some tests are configured to run on a targets with
specific charecteristics.

Use issues.targets to conditionally disable tests
not intended to run on all targets.

* Setup pr and batch runs for dev/infrsatructure (#36218) (#36299)

Co-authored-by: Jarret Shook <[email protected]>

* Add alias CoreClrTestBuildHost (#36256)

* Add alias CoreClrTestBuildHost

Intended to allow easy switching of test build host between OSX_x64 & Linux_x64
depending on availablility and reliability.

* Add missing issues.targets from #36253 (#36351)

* Add missing issues.targets from #36253

PR #36253 enabled building all tests on OSX. It was intended to include this list of
tests to disable on unsupported platforms. This was dropped as part of rebasing for
dev/infra branch.

Lack of CI on dev/infra allowed this to be missed.

* Revise issues.targets

* Add src/coreclr/tests/src/baseservices/typeequivalence/simple

* Remove #if Windows from DllImportPathTest

* Build scripts while copying native binaries (#36482)

* Build scripts while copying native binaries

Stop building test scripts during the managed build phase
Build after copying the native targets

Fixes issues relative to building scripts on OSX

* Fix superpmi script generation

* Cleanup issues.targets

* Keep 6 failing IJW tests

* Fix IJW when managed tests are built on OSX (#36711)

* Fix IJW when managed tests are built on OSX

- Refactor Interop.setting.targets to Directory.Build.{targets,props}
- Remove include Interop.setting.targets from interop projects rely on SDK including
    Directory.Build.* automatically
- Add new CopyInteropNativeRuntimeDependencies target for copying IJW dependencies
  * Add <Copy/> task
- Delete obsolete instruction in Interop/ReadMe.md

* Cleanup Readme.md

* Optional stress dependencies & don't populate CORE_ROOT twice (#36851)

Bruce noticed that we're downloading and installing stress
runtime dependencies several times during build. I have added a new
option to suppress this behavior in build-test and I fixed the
invocations of build-test based on Bruce's analysis. I have also
patched the build scripts to avoid populating CORE_ROOT in
"copynativeonly" mode.

Thanks

Tomas

Fixes: #36797

* Build test scripts whenever CopyNativeProjectBinaries builds (#37028)

* Fix pri0 test build.

* Clean pri1 test build (#37266)

* Clean pri1 test build

* Undo testing comment

* Make sure weakreferencetest does not run on unix

* Fixup WinRT proj

* Fix path

Co-authored-by: Steve MacLean <[email protected]>
Co-authored-by: Tomáš Rylek <[email protected]>
Co-authored-by: Santiago Fernandez Madero <[email protected]>
Co-authored-by: Alexander Köplinger <[email protected]>
Co-authored-by: dotnet-maestro[bot] <42748379+dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Andy Ayers <[email protected]>
Co-authored-by: Adeel Mujahid <[email protected]>
Co-authored-by: Ganbarukamo41 <[email protected]>
Co-authored-by: monojenkins <[email protected]>
Co-authored-by: thaystg <[email protected]>
Co-authored-by: Viktor Hofer <[email protected]>
Co-authored-by: Aaron Robinson <[email protected]>
Co-authored-by: Kevin Jones <[email protected]>
Co-authored-by: Jeremy Barton <[email protected]>
Co-authored-by: Egor Bogatov <[email protected]>
Co-authored-by: Simon Nattress <[email protected]>
Co-authored-by: Aleksey Kliger (λgeek) <[email protected]>
Co-authored-by: Krzysztof Wicher <[email protected]>
Co-authored-by: Kunal Pathak <[email protected]>
Co-authored-by: Carol Eidt <[email protected]>
Co-authored-by: Shimmy <[email protected]>
Co-authored-by: Stephen Toub <[email protected]>
Co-authored-by: Layomi Akinrinade <[email protected]>
Co-authored-by: Dan Moseley <[email protected]>
Co-authored-by: Eirik Tsarpalis <[email protected]>
Co-authored-by: Jeremy Koritzinsky <[email protected]>
Co-authored-by: Jose Perez Rodriguez <[email protected]>
Co-authored-by: Alexander Chermyanin <[email protected]>
Co-authored-by: Miha Zupan <[email protected]>
Co-authored-by: Sergey Andreenko <[email protected]>
Co-authored-by: Nikola Milosavljevic <[email protected]>
Co-authored-by: Steve Pfister <[email protected]>
Co-authored-by: David Wrighton <[email protected]>
Co-authored-by: buyaa-n <[email protected]>
Co-authored-by: Krzysztof Wicher <[email protected]>
Co-authored-by: Vladimir Sadov <[email protected]>
Co-authored-by: Leandro Pereira <[email protected]>
Co-authored-by: Swaroop Sridhar <[email protected]>
Co-authored-by: Marie Píchová <[email protected]>
Co-authored-by: Michal Strehovský <[email protected]>
Co-authored-by: Manish Godse <[email protected]>
Co-authored-by: Bruce Forstall <[email protected]>
Co-authored-by: Alexis Christoforides <[email protected]>
Co-authored-by: BrzVlad <[email protected]>
Co-authored-by: Alfred Myers <[email protected]>
Co-authored-by: Nick Craver <[email protected]>
Co-authored-by: Nathan Ricci <[email protected]>
Co-authored-by: Thays Grazia <[email protected]>
Co-authored-by: Yoh Deadfall <[email protected]>
Co-authored-by: Eric Erhardt <[email protected]>
Co-authored-by: Jo Shields <[email protected]>
Co-authored-by: Jan Vorlicek <[email protected]>
Co-authored-by: Anirudh Agnihotry <[email protected]>
Co-authored-by: Roman Marusyk <[email protected]>
Co-authored-by: Zoltan Varga <[email protected]>
Co-authored-by: Youssef Victor <[email protected]>
Co-authored-by: Ben Adams <[email protected]>
Co-authored-by: Marek Safar <[email protected]>
Co-authored-by: Anton Lapounov <[email protected]>
Co-authored-by: AraHaan <[email protected]>
Co-authored-by: Tom Deseyn <[email protected]>
Co-authored-by: Tomas Weinfurt <[email protected]>
Co-authored-by: Tomas Weinfurt <[email protected]>
Co-authored-by: David Cantu <[email protected]>
Co-authored-by: Sung Yoon Whang <[email protected]>
Co-authored-by: Levi Broderick <[email protected]>
Co-authored-by: vargaz <[email protected]>
Co-authored-by: David Mason <[email protected]>
Co-authored-by: UnityAlex <[email protected]>
Co-authored-by: Fan Yang <[email protected]>
Co-authored-by: Tanner Gooding <[email protected]>
Co-authored-by: Egor Chesakov <[email protected]>
Co-authored-by: radical <[email protected]>
Co-authored-by: Ivan Diaz Sanchez <[email protected]>
Co-authored-by: Gleb Balykov <[email protected]>
Co-authored-by: Honza Rameš <[email protected]>
Co-authored-by: Eric StJohn <[email protected]>
Co-authored-by: Ivan <[email protected]>
Co-authored-by: Ryan Lucia <[email protected]>
Co-authored-by: SRV <[email protected]>
Co-authored-by: Clinton Ingram <[email protected]>
Co-authored-by: Mikhail Pilin <[email protected]>
Co-authored-by: Jan Kotas <[email protected]>
Co-authored-by: w-flo <[email protected]>
Co-authored-by: Peter Sollich <[email protected]>
Co-authored-by: grendello <[email protected]>
Co-authored-by: Johan Lorensson <[email protected]>
Co-authored-by: Erhan Atesoglu <[email protected]>
Co-authored-by: Matt Mitchell <[email protected]>
Co-authored-by: Josh Schreuder <[email protected]>
Co-authored-by: Josh Schreuder <[email protected]>
Co-authored-by: Andrew Au <[email protected]>
Co-authored-by: Eugene Rozenfeld <[email protected]>
Co-authored-by: Vlad Brezae <[email protected]>
Co-authored-by: Kenneth Pouncey <[email protected]>
Co-authored-by: Kirill Frolov <[email protected]>
Co-authored-by: Tomas Weinfurt <[email protected]>
2020-06-04 08:43:40 -07:00
Egor Bogatov 00acdc1514 [mono] Use "dotnet publish" for Android sample with ILLink (#36593) 2020-05-16 16:15:56 +03:00
Egor Bogatov ec2209e736 [docs] How to run tests on iOS and Android (#36297) 2020-05-15 15:02:05 +03:00
Santiago Fernandez Madero df8e2d751e Update testing.md (#36286) 2020-05-12 12:49:05 -04:00
Viktor HoferandAlexander Köplinger 2cd041bbee Document F5 and Test Explorer prerequisites (#36117)
* Document F5 and Test Explorer prerequisites

* Update docs/workflow/testing/visualstudio.md

Co-authored-by: Alexander Köplinger <[email protected]>
2020-05-08 21:03:17 +02:00
Viktor Hofer 000046f6c8 Change netcoreapp5.0 to net5.0 (#35176)
* Change netcoreapp5.0 to net5.0

* Remove tfm downgrades

* Rename S.R.CS.Unsfae include folder
2020-05-06 13:53:21 +02:00
Adeel 2e0039ac6b Add note about building PAL tests in docs 2020-04-09 22:11:35 +03:00
Aaron Robinson 174f13637c Update documentation for CoreCLR testing. (#34674)
* Update documentation for CoreCLR testing.
2020-04-08 09:07:47 -07:00
Viktor Hofer 8e0147ecdf Redesign the subset feature (#34663)
* Redesign subset feature and remove subsetcategory

Implement proposal from https://github.com/dotnet/runtime/issues/34403.
Remove subsetcategory and allow all subsets to specified via the -subset
switch.
2020-04-08 03:09:31 +02:00
Viktor Hofer 42183b1b86 Enable restore for ref and src projects in libs (#33553)
- Use RestoreUseStaticGraphEvaluation which improves no-op restore by 10-15x down to 10-20 seconds.
- .builds msbuild files renamed to .proj as RestoreUseStaticGraphEvaluation throws for non .proj files without an env var set.
- Introducing subsets for libraries and mono and replacing -buildtests switch which was only working for libraries in favor of the subset switch -subset tests which works consistently.
- Fixing the Microsoft.DotNet.CodeAnalysis analyzer which wasn't running and adding missing exclusions.
- Separating restore and build phases in different parts in the repo (ie for installer.tasks) as generated props and targets need to be imported which requires a reevaluation in the build phase.
- Fix eng/docker/build-docker-sdk.ps1 by using the official build entrypoints (cc @alnikola)
- Remove a few depprojs in favor of project restore (faster restore :))
- Fix root code coverage measurement not working correctly
- Traversal support instead of dir.traversal.targets or manual build target defines.
- Introduce a root Build.proj entrypoint which is responsible for building and restoring the repository. This is necessary to enable the new NuGet fast restore which works best and fastest with a single entrypoint.
- Avoid binclashes in libraries and between libraries and installer (netstandard.depproj vs netstandard.csproj)
- Upgrading the SDK to 5.0 latest
- Code cleanup
2020-04-06 11:54:10 +02:00
Jan Kotas 59be94b698 Unifying duplicate msbuild properties in CoreCLR build (#34261)
- __TargetOS -> TargetOS
- __BuildType, BuildType -> Configuration
- __BuildArch, BuildArch -> TargetArchitecture
2020-03-30 10:06:24 -07:00
Jan Kotas 479067315a .NET Core to .NET branding changes (#33694)
Contributes to #33680
2020-03-28 07:00:19 -07:00
Karel Zikmund cee4eca178 Add how to run outer loop libraries tests (#32940)
* Add how to run outer loop libraries tests
2020-03-27 09:55:14 -07:00
Bruce Forstall a21da8f6d9 Move JIT documentation to new docs/design/coreclr/jit directory (#33321)
Reduce clutter in the shared directory, and make it easier to find
all the JIT-related documentation.
2020-03-10 08:53:57 -07:00
Anirudh AgnihotryandViktor Hofer fef9ca70f6 Replacing OSGroup with TargetOS for coreclr, libraries and installer (#32833)
* Remove OSGroup from coreclr and corefx

* remove from installer

* fixing coreclr tests

* Some documentation changes

Co-Authored-By: Viktor Hofer <[email protected]>

* moving buildos calculation to config.props

* BuildOS -> TargetOS

* remove osgroup suffix

* removing comment and correcting typo

* dotnet msbuild -> dotnet build at relevant places in docs

* moving more properties to configuration.props

* refactoring properties

* moving TargetArchitecture property to loveBuildd.Targets

* adding configuration.props to signing

* Fix installer build

* BuildOS -> Target os and removing slash

Co-authored-by: Viktor Hofer <[email protected]>
2020-03-05 07:51:06 -08: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
Dan Moseley 8497763bbf Fix another 58 URL's (#33003) 2020-02-28 18:54:32 -08:00
Marie PíchováandViktor Hofer 12f1f58ec0 Removed misleading doc and added -vs testing (#32618)
Co-authored-by: Viktor Hofer <[email protected]>
2020-02-21 22:18:37 +01:00
Anirudh Agnihotry 86a086377b updating docs and removing BuildConfiguration and ConfigurationGroup (#32062)
* build config and update docs

* remove configurationGroup and update docs

* addressing feedback

* viktor comments
2020-02-20 14:39:38 -08:00
Viktor Hofer 0896dd8204 Update testing with configuration system changes 2020-02-20 17:39:21 +01:00
Alexander Köplinger aac8f91cc5 Ensure ActiveIssue attribute is only used with issue links (#32535)
* Ensure ActiveIssue attribute is only used with issue links

The constructor that takes an `int` was removed in https://github.com/dotnet/arcade/pull/4831.

Update docs to recommend using issue links instead of numbers.

Fix two tests that were using ActiveIssue incorrectly.

* PR feedback
2020-02-19 08:58:17 -05:00
Steve Pfister 32ac6c5f23 Add additional info to the mono building and testing docs (#32339) 2020-02-15 17:48:57 -05:00
Ganbarukamo41 07c52fdfc1 Update windows-test-instructions.md (#31989)
Update old file path
2020-02-09 00:00:30 -05:00
Ben Adams 4adb320cb7 Highlight directory (#31625) 2020-02-01 22:01:50 -08:00
Andrew Au ac1af50ee7 Improve GC stress tests (#2166) 2020-01-29 16:16:59 -08:00
Santiago Fernandez Madero 0e1108c17f Merge remote-tracking branch 'dotnet/master' into RemoveNetcoreappNetfxBuildScripts 2020-01-23 09:57:10 -08: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 <[email protected]>
2020-01-22 21:20:13 +01:00
Roman Marusyk 4cb104ee49 Fix some links to coreclr repo (#1991) 2020-01-22 06:41:26 -08: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
Jeremy Koritzinsky 20c28038b7 Enable overriding CoreCLR and Libraries configurations in root… (#1826)
* Override the configuration of the CoreCLR and Libraries builds during the root build when CoreCLRConfiguration and LibrariesConfiguration are specified respectively.

* Add coreclrConfiguration and librariesConfiguration parameters to build scripts.

* Update docs.

* Make arguments lowercase on bash.

* Fix typos.
2020-01-17 14:34:04 -08:00
Santiago Fernandez Madero 6b101e01c3 Remove workarounds in build scripts for netcoreapp and netfx versionless 2020-01-16 15:21:43 -08:00
Bruce Forstall 247c5b96a2 Documentation refinements (#1738)
* Documentation refinements

* Fix a formatting issue

* Code review updates
2020-01-16 11:13:04 -08:00
Michal Strehovský 74ad73e1f0 Update the CoreCLR testing workflow doc (#1806) 2020-01-16 10:26:57 -08:00
9900dfb4b2 Organize some markdowns and fix links (#1159)
* Move files into hierarchy

* fix more links

* Fix botr and features links

* Remove bad apostrophe

* spelling

* Apply suggestions from code review

Co-Authored-By: Youssef Victor <[email protected]>

* Update docs/coding-guidelines/package-projects.md

Co-Authored-By: Jan Kotas <[email protected]>

Co-authored-by: Youssef Victor <[email protected]>
Co-authored-by: Jan Kotas <[email protected]>
2019-12-26 15:22:57 -08:00
Thomas Gassmann 856df22e92 Fix broken links in workflow docs (#659)
* Fix broken links in workflow docs

There were several broken links in the workflow documentation.

* Update paths for CoreCLR debugging in documentation
2019-12-08 12:22:34 +01:00
Günther Foidl fd9969e888 Updated viewing-jit-dumps.md (#289)
* corrected space in eng/build.sh

* Updated viewing-jit-dumps.md
2019-11-26 15:38:49 +01:00
Viktor Hofer a71a3249a9 Consolidate docs (#251)
* Consolidate sub-repo docs
2019-11-25 23:52:43 +01:00