This change enables device runs on CI by building each test app on the helix instance it was deployed to. In past attempts, we looked at enhancing what takes place on the build machine via build tricks, compressing / cleaning up files early, etc and we could not overcome the need for excessively long timeouts and far more disk space.
The change also adopts the patterns established in the wasm test build, giving us the opportunity to support different scenario runs as well as workloads testing in the future.
Update slngen tooling to latest stable version and solution files since
a lot changed since the last time they were updated:
- NET7 (removal of older TFMs)
- Source Generators
* added tests for parsing decimal/double/half/single with . at different positions
* adjusted string length for testing . at or after max digit count for single/half
* Fix test cases with decimal separators to work in localized runs
Co-authored-by: Jeff Handley <[email protected]>
* Implement IAsyncEnumerable<T>.ToBlockingEnumerable
* address feedback
* update test assertion
* Add UnsupportedOSPlatform annotation to internal helper class
* restrict tests to platforms that support threading
* User correct NumberStyle when parsing double and float
IParseable<float> and IParseable<double> would fail when parsing
a decimal point number due to incorrect NumberStyles parameter.
E.g. IParseable<double>.TryParse would fail as opposed to
IParseable<double>.Parse because the former explicitly states to use
NumberStyles.Integer
* Adding tests covering parse for float/double/half
* Delete MSBuild_pid-37116_6904092b1c9a481da960c9e28eba2a27.failure.txt
Co-authored-by: Tanner Gooding <[email protected]>
* [Libraries] Fix TimeZoneInfoTests IsIanaIdTest for iOS/MacCatalyst/tvOS
* [Libraries] Fix IsIanaIdTest to assert throw for iOS/MacCatalyst/tvOS
* Readd new line
* [Mobile][Libraries] System.Runtime.Tests TimeZoneInfoTests remove mobile from iana conversion support
* [libraries] System.Runtime.Tests revert IsIanaIdTest iOS tvOS special casing
* Remove active issue added in recently merged PR
Co-authored-by: Mitchell Hwang <[email protected]>
With the newest udpate of slngen, the order of elements (configuration, folders, etc.) is in sync with how Visual Studio arranges them.
Also the order is now deterministic.
Based on that, updating all solution files to have the correct ordering of elements. This change also unblocks adding CI protection for
making sure that solution files are up-to-date in regards to their dependencies as slngen is now generating the files deterministically.
* [MacCatalyst][Libraries] Reenable MacCatalyst x64 crashing test suites
* [MacCatalyst][Libraries] Reenable MacCatalyst arm64 crashing test suites
* Temporarily enable MacCatalyst arm64 lane
* Readd consistently crashing suites to iOS tvOS MacCatalyst skips
* Address crashes and PNSE failures on iOS MacCatalyst
* Temporarily bump timeout for tvOS
* fix typo
* Skip more crashed suites
* Undo temporary changes and Add ActiveIssue
* Skip more crashing suites
* Skip iOS.Simulator.Aot.Test flake on MacCatalyst CI
* Add a couple crashing suites
* Remove sample skip in tests.proj as it doesnt do anything
* Add another flakey crashed test for MacCatalyst
* Skip System.Xml.Xsl.XslCompiledTransformApi on MacCatalyst
* Temporarily remove test suite skips and enable arm64 lanes and bump lane timeout to evaluate crashes
* Reenable a test that was fixed
* Update Microsoft.DotNet.Helix.Sdk
Fixes an issue with mismatched dotnet SDK versions we're hitting in runtime-staging on mobile platforms (see https://github.com/dotnet/arcade/pull/7788)
* [iOS] Skip ValidAccessLevelCombinations ReadWriteExecute for iOSSimulator arm64
* Skip failing test suites
* Extend trampoline bump to iOS tvOS MacCatalyst
* Fixup typo
* Fix MonoAOTCompiler typo
* Bump trampolines for osxlike lanes
* Add active issues for failing tests
* Remove ActiveIssue that was fixed
* Add IsIanaIdTest skip
* Bump trampolines even higher
* Address feedback
* Fix typo
* Undo runtime-staging temporary changes and cleanup test skips
* Fix path typo
* Skip iOS sample
* Add new activeIssue and skip flakey Android test crash
* Skip functional tests crashing with exit code 0
Co-authored-by: Mitchell Hwang <[email protected]>
Co-authored-by: Alexander Köplinger <[email protected]>
We currently pass all of our interpolated string handlers to their destination methods by ref, with the exception of those for Debug. I think it makes sense to centralize on the pattern of always passing by ref: it doesn’t negatively impact the user experience, these are typically larger structs and so by ref helps (though it doesn’t matter for Debug), making it a ref makes it even less attractive to try to call directly / makes it look even more special, and most importantly, it gives us the opportunity to more safely clean up at the end of the operation. This changes the Debug.Assert/Write{Line}If overloads we added in Preview 7 to pass the handler’s by ref.
This also then updates the Debug.Write{Line}If methods to create the StringBuilder used via StringBuilderCache, just in case these are used in a scenario where true is frequently passed.
* [libraries][iOS][tvOS] Fix case of assembly in ActivatorTests
* Address test case change feedback
* Remove other activeissue
* Fix spacing
Co-authored-by: Mitchell Hwang <[email protected]>
* Remove old fwlink from Obsolete messages and make message improvements
* Thorough review and update of Obsolete messages
* Cleanup
* Make messages about unsupported APIs more consistent
* Update RequiresUnreferencedCodeAttribute messages to be consistent between ref and src
* Cleanup
* Cleanup
* Use 'not supported' instead of 'no longer supported'
* Omit unnecessary error:false from Obsolete attributes. Fix message typo.
* Remove old comment
* PR feedback
This PR annotates every API doc'd as having different
behavior in single-file publishing with RequiresAssemblyFiles.
Some APIs might be special-cased by the analyzer to produce
special messages, but RAF is useful for visual inspection
of the APIs. Module.Name and .FullyQualifiedName were also
unannotated.
* Copy ILLink.LinkAttributes from mono to shared.
* Update ILLink.LinkAttributes that are now shared between mono and coreclr
- Move IntrinsicAttribute to mono only
- Introduce feature switches for NullabilityInfoContext and AggressiveAttributeTrimming
- Minor other cleanup
* Respect the NullabilityInfoContext.IsSupported feature switch in NullabilityInfoContext.
* Document new feature switches
* Add trimming tests for NullabilityInfoContextSupport
* Move NonVersionableAttribute to mono-only
* Fix Linq tests now that the ExtensionAttribute isn't being trimmed all the time on mono WASM
It's to clean up the respective CI staging lanes.
The related issues:
[iOS/tvOS/MacCatalyst] Test failures in System.Diagnostics.Tracing.Tests #56073
[libraries][iOSSimulator] ImageTests.FromFile_NullFileName_ThrowsArgumentNullException fails #56048
JitInfoIsPopulated failed with after is not greater than before #55712
[MacCatalyst] Test failures in System.Tests.OperatingSystemTests #56084
[MacCatalyst] App crash in System.Text.Json.SourceGeneration.Tests #56085
* Disable array support for the COM variant wrapper classes when built-in COM is disabled.
Fixes#55600
* Fix config call.
* Fix one more location of wrapper class usage.
* Fix method name.
* Add trimming test.
* Fix AV in IsArrayOfWrappers
* Fix trimming test
* Apply suggestions from code review
Co-authored-by: Eric Erhardt <[email protected]>
* Set Trim=true
Co-authored-by: Elinor Fung <[email protected]>
Co-authored-by: Eric Erhardt <[email protected]>
* Add a System.Runtime.Experimental package so users can still use the generic math preview
This reverts commit f6eb259db6.
* Simplify S.R.Experimental so it only produces a ref and its build version is 100 higher
* Ensure a nuget package is being produced and resolve PR feedback
* Update src/libraries/System.Runtime.Experimental/Directory.Build.props
* Add a reference to System.Runtime.Experimental so mono can build
* Disable System.Runtime.Experimental.Tests on WASM AOT