1. 30 6月, 2021 1 次提交
    • E
      Remove some redundant / unused binplace directories (#54890) · f399076c
      Eric StJohn 提交于
      * Remove some redundant / unused binplace directories
      
      * Fix runtime pack path
      
      * Use OuputRid instead of PackageRID
      
      On linux-musl, OutputRID differs from PackageRID.
      
      * Add RuntimeOS to installer leg for musl
      
      So that we have consistent values of $(PackageRID) for installer and libraries
      
      * Move LibrariesConfiguration definition earlier in src/tests
      
      This property was being defined after a number of places where it was
      consumed resulting in quite a few inconsistent derived properties.
      f399076c
  2. 27 4月, 2021 1 次提交
  3. 29 12月, 2020 1 次提交
    • V
      Avoid deferred Arcade importing (#46397) · 75d5cc3d
      Viktor Hofer 提交于
      * General cleanup and mono import Arcade in root
      
      * More cleanup and coreclr import Arcade root
      
      * Import Arcade root from libraries
      
      * Set informationversion for corelib
      
      * BuildArchitecture cleanup
      
      * Fix property name
      
      * Fix default target invocation of runtime.proj
      
      * specify tfm correctly
      
      * Remove unnecessary TestStrongNameKeyId
      
      * Revert TestStrongNameKeyId removal
      
      * Fix entrypoint target by using M.B.NoTargets
      
      * Fix reference assembly paths
      
      * PR feedback
      
      * Set Platform correctly
      
      * PR feedback and more cleanup
      
      * Move BaselineMicrosoftNetCoreAppPackageVersion
      
      * Fix reference to CoreLib
      
      * Fix OS calculation
      
      * Fix targets importing
      
      * Remove *TargetOS
      
      * Add RuntimeConfiguration doc
      
      * Change conditions in root msbuild files
      
      * installer test fixes
      
      * Cleanup
      
      * More cleanup because of well defined entrypoint
      
      * Don't import D.B.* from installer tests at all
      
      * Rename fix
      
      * Include explicit reference to mscorlib in ilproj
      
      * Update eng/restore/docs.targets
      Co-authored-by: NJan Kotas <jkotas@microsoft.com>
      
      * Revert some installer test changes
      
      * Installer test fix again
      
      * Disable EOL tfm check for installer tests
      
      * Set platform later for installer
      Co-authored-by: NJan Kotas <jkotas@microsoft.com>
      75d5cc3d
  4. 11 12月, 2020 1 次提交
    • F
      Add test leg to run runtime tests on Android devices (#44560) · 6553a49e
      Fan Yang 提交于
      * Add test leg to run runtime tests on Android devices
      
      * Add a new variable to describe the host OS of test wrappers for runtime tests
      
      * Set win-x64 runtime for Android arm64
      
      * Add missing %
      
      * Use TestWrapperTargetsWindows when checking script targeting platform
      
      * Fix variable usage format on windows
      
      * Fix file path for windows
      
      * Make file path portable
      
      * Add debug info
      
      * Add debug info to output instead of testOutput
      
      * Add more debug info
      
      * Add debug info in batch file
      
      * Turn on echo for batch script
      
      * Add another missing % and some debug info
      
      * Fix test running command
      
      * Remove extra double quotes
      
      * Turn on verbose mode for xharness command and fix msbuild special characters
      
      * Choose batch or bash script based on var TestWrapperTargetsWindows, when building Android apps
      
      * Clean up
      
      * Enable all tests
      
      * Disable tests belonging to big work items
      
      * Disable more long running work items
      
      * Disable more long running tests
      
      * Disable more long running tests and shorten the timeout threshold
      
      * Increase timeout threshold
      
      * For debugging, print out logs when passing
      
      * Disable more tests to avoid long running tests
      
      * Add Android tests to staging pipeline and revert previous debugging hack
      6553a49e
  5. 20 11月, 2020 1 次提交
    • A
      Consolidate RID and native file naming in MSBuild scripts (#43804) · 75c0b990
      Adeel Mujahid 提交于
      * Consolidate RID and native file naming in MSBuild scripts
      * Use short variable names for native files naming convention, that are
        used by `framework.sharedfx.targets` in arcade, and cleanup
        redefinitions from crossgen2 and installer. e.g. `ExeSuffix` instead
        of `ApplicationFileExtension`, `LibSuffix` instead of
        `LibraryFileExtension` and so on.
      * Calculate `TargetArchitecture`, `NonPortableRuntimeOS` (for
        `PortableBuild`) and `PackageRID` values once for the entire
        livebuild, inside `eng/Configurations.props`. This implementation is
        a union of three varied implementations that are being deleted.
      * Import `names.props` once in `eng/Configurations.props` based on
        calculated `PackageRID` and cleanup imports of this file from various
        places.
      * Combine OS targets definition in MSBuild scripts.
      
      * Delete legacy tooling properties
      
      * Delete legacy tooling properties
      75c0b990
  6. 19 11月, 2020 1 次提交
    • A
      Fix illumos managed build (#44386) · cb3ecbba
      Adeel Mujahid 提交于
      * Fix illumos managed build
      * Fix CA1823 (unused private field) in `NetworkChange` partial for
        `UnknownUnix`.
      * Use official casing `illumos` in MSBuild property names (as done for
        iOS).
      * Fix Solaris version in test with SDK's PlatformDetection.
        * only major version is needed.
      
      * Implement Enviornment.WorkingSet for SunOS
      Difference between Linux and SunOS procfs is that files in latter
      contain binary data, so we need `read(2)` and cast into corresponding
      struct. Redeclaring system structs in managed code is not ideal, as
      they do change across the major versions of OS, which inevitably
      requires recompilation of binaries and replicating them in C# as is
      means additional/unnecessary maintenance of code.
      
      * Address CR feedback
      cb3ecbba
  7. 03 11月, 2020 1 次提交
    • A
      Changing Windows_NT -> Windows for enabling TargetPlatformMoniker feature of... · b37f10a5
      Anirudh Agnihotry 提交于
      Changing Windows_NT -> Windows for enabling TargetPlatformMoniker  feature of the sdk for platform specific tfms. (#43651)
      
      * eng change
      
      * coreclr change
      
      * libraries change
      
      * tests change
      
      * installer & mono change
      
      * py files changed
      
      * .md change
      
      * .yml change
      
      * remove redundant targetos property
      
      * Windows_NT -> windows after ninja change
      
      * fixing runtime build failure
      b37f10a5
  8. 08 10月, 2020 1 次提交
  9. 28 9月, 2020 1 次提交
    • T
      Move most of src/coreclr/tests under src/tests and related cleanups (#42386) · e2e43f44
      Tomáš Rylek 提交于
      * Move stress_dependencies, external and scripts under src/tests/Common;
      * Fix build scripts to download nuget packages under artifacts, not into the source tree;
      * Replace src/tests/Directory.Build.props with src/coreclr/tests/Directory.Build.props;
      * Inject src/coreclr/tests/Directory.Build.targets into src/tests/Directory.Build.targets.
      
      Thanks
      
      Tomas
      e2e43f44
  10. 18 9月, 2020 1 次提交
    • S
      Fix handling of repo analyzers and warnings-as-errors (#42272) · e0e1919a
      Stephen Toub 提交于
      * Fix handling of repo analyzers and warnings-as-errors
      
      When we brought in the new SDK, it enabled analyzers by default (which then used our custom ruleset), but a bunch of projects (in particular tests) weren't expecting that, such that we now have thousands of warnings in the repo. This opts-out those projects.
      
      It also enables warnings-as-errors at the root level of the repo, to hopefully avoid such warning storms in the future, and to also clean up the remaining that exist.  This includes a bunch of new obsoletion and platform compat warnings that are firing in the runtime tests.
      
      We may choose to run analyzers on additional projects in the future where it's currently disabled, but this gets us back to a state at least as good if not better than we were previously.
      
      * Fix analyzer warnings on Microsoft.NET.HostModel
      
      Fixes the warnings that were triggered by our rule set applying to this project.  All fixes were automated.
      
      * Fix analyzer warnings in additional projects
      
      * Remove several `<RunAnalyzers>false</RunAnalyzers>`
      
      * Try to opt-out remaining coreclr tests
      Co-authored-by: NDavid Mason <davmason@microsoft.com>
      e0e1919a
  11. 14 9月, 2020 1 次提交
    • T
      Remove the directory src/coreclr/tests/src (#42139) · 736b3042
      Tomáš Rylek 提交于
      Move CLRTest.*.targets under src/tests/Common;
      
      Consolidate Directory.Build.props in src/tests, src/tests/Common and src/coreclr/tests/src - src/tests is now the "master" version, src/tests/Common just points to it and src/coreclr/tests/src no longer exists;
      
      Move Directory.Build.targets from src/coreclr/tests/src to src/tests/Directory.Build.targets that was previously just importing the src/coreclr/tests/src version;
      
      Move the few remaining scripts under src/coreclr/tests/src to src/tests/Common (dirs.proj, nobuild.targets, runonly.targets, xunitconsolerunner.depproj).
      
      Thanks
      
      Tomas
      736b3042
  12. 08 7月, 2020 1 次提交
    • T
      July infra rollout: Move runtime tests out of the coreclr folder (#38058) · 54a09d24
      Tomáš Rylek 提交于
      * Mechanical move of tests from src/coreclr/tests/src to src/tests
      
      * Minimum changes to make CoreCLR tests build in the new location
      
      (*) Path changes in the test build scripts;
      (*) Modify runtime.yml filtering based on Nathan's and Santi's feedback;
      (*) Fix runtime pipeline filtering clauses per Santi's PR feedback;
      (*) Fix path to Coreclr.TestWrapper.csproj;
      (*) Pass unprocessed build args to test wrapper creation;
      (*) Fix missing $(TestRoot) on groups in Pri0 test build mode.
      
      Thanks
      
      Tomas
      54a09d24