summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)AuthorFilesLines
2018-11-06Disable running ILAsm round-trip build on COM Tests (#20822)Jeremy Koritzinsky5-15/+33
* Disable running ILAsm round-trip build on COM (requires ilasm resource embedding support). * ILAsmTestKind -> IlrtTestKind
2018-11-06Improve performance of Memory<T>.Span property getter (#20386)Levi Broderick1-0/+8
- We can use our knowledge of object representation in the runtime to speed up type checks. - We leave the ref T and the length deconstructed until the very end, optimizing register usage. - The Length property getter is once again just a simple field accessor with no bitwise logic.
2018-11-06Merge pull request #20633 from BruceForstall/FixSPCheckBruce Forstall3-4/+4
Fix SP check for x64/x86, remove for arm32/arm64
2018-11-06fix corefx folder (#20828)Sergey Andreenko1-0/+1
2018-11-05Fix calling convention for 3 p/invoke test casesBruce Forstall3-4/+4
2018-11-05Add support for BSWAP intrinsic (#18398)Levi Broderick3-0/+206
With this change, the JIT will recognize a call to BinaryPrimitives.ReverseEndianness and will emit a bswap instruction. This logic is currently only hooked up for x86 and x64; ARM still uses fallback logic. If the JIT can't emit a bswap instruction (for example, trying to emit a 64-bit bswap in a 32-bit process), it will fall back to a software implementation, so the APIs will work across all architectures.
2018-11-05Merge pull request #20736 from briansull/issue_18672Brian Sullivan2-0/+108
Fix ValueNumber constant propagation with nested structs
2018-11-05Fix constant propagation with nested structsBrian Sullivan2-0/+108
Fixes #18672 Test case is here: JIT/Regression/JitBlue/GitHub_18672/GitHub_18672.cs
2018-11-03Merge pull request #20780 from dotnet/dev/unix_test_workflowBruce Forstall1-2/+1
PMI asm diffs changes
2018-11-03Update BuildTools, CoreClr, CoreFx, CoreSetup, IbcData, PgoData to ↵dotnet-maestro-bot1-0/+14
preview1-03402-01, preview-27102-02, preview.18552.1, preview-27102-03, master-20181102-0044, master-20181102-0041, respectively (master) (#20745) * Update BuildTools, CoreClr, CoreFx, CoreSetup, IbcData, PgoData to preview1-03402-01, preview-27102-02, preview.18552.1, preview-27102-03, master-20181102-0044, master-20181102-0041, respectively * Disabled outdated test
2018-11-02Do PMI diffs on frameworks and benchmarksBruce Forstall1-2/+1
2018-11-01Fix the test. (#20701)Sergey Andreenko1-1/+0
As https://docs.microsoft.com/en-us/dotnet/api/system.runtime.interopservices.gchandle.free?view=netframework-4.7.2 says "The caller must ensure that for a given handle, Free is called only once.". So delete the second call to `Free()`. I believe it changes the desired behaviour for this test but it was added before 2010 (via source depo) and there are no comments about the regression that it was able to repro, so it is not worth to investigate that.
2018-11-01Merge pull request #20750 from BruceForstall/ReduceExpectedTestCountBruce Forstall1-4/+4
Fix expected Pri-1 test count
2018-11-01Disable outdated CoreFX tests (#20749)Jan Kotas1-0/+57
2018-11-01Fix expected Pri-1 test countBruce Forstall1-4/+4
https://github.com/dotnet/coreclr/pull/20693 reduced the number of Pri-1 tests significantly, which caused this error to appear on some Pri-1 builds, e.g., Ubuntu x64 Checked builds.
2018-11-01Update PMI asm diffs in the CI (#20743)Bruce Forstall1-206/+206
* Respond to PMI asm diffs code review feedback Add some try/finally code to improve robustness. Remove direct invocation of run.cmd. Also, simplify the generated asm directory hierarchy. * Improve PMI script error code Only return non-zero if there is a fatal error. For non-fatal error, such as the existence of asm diffs, return zero. This will allow subsequent "build" steps in netci.groovy to run, namely, the archiving of the asm directory. Later, determine a better way figure out how to deal with the existence of asm diffs. * Update dotnet SDK download links
2018-10-31Add PInvoke/Structures testsJiang Zeng (Pactera Technologies Inc)20-6/+9173
Fix compile warnings Fix compile warnings Fix compile warnings Remove duplicate tests. Move ReversePinvoke tests under StructMarshalling. Clean up some compile errors. More string cleanup. More string fixes Clean up consts and typedefs. Fix typo. Change TP_slen return type to match xplatform.h Fix printf specifiers. Don't define wcslen in xplatform if it's been macro redefined (to platformdefines.h's TP_slen) Fix build breaks. Remove extension from DllImport so it will correctly resolve xplat. Fix printf specifiers again... Fix Windows x86 calling convention mismatch. Fix HRESULT size off-Windows
2018-10-31Add PInvoke/NativeCallManagedComVisible tests (#19328)Zeng Jiang10-1/+3509
* Add PInvoke/NativeCallManagedComVisible tests * Update to current infrastructure and disable off-Windows * Fix incorrect S_OK value and made the native side actually return an HRESULT in hr.
2018-10-31Merge pull request #20683 from CarolEidt/FixDD710234Carol Eidt2-0/+179
Arm32: Handle live-out double reg in resolution
2018-10-31Re-Enable Windows tests with JitOptSensitive flag (#20697)Jarret Shook1-4/+16
* Re-Enable windows with JitOptSensitive flag The check in batch targets would keep us from running jitOptimiztionSensitiveTests with COMPlus_TieredCompilation=0. * Address pr feedback
2018-10-31Work around XUnit FileLoadException issues (#20644)Egor Chesakov1-0/+54
In order to mitigate System.IO.FileLoadException we built our own xunit.console.dll with ConcurrentDictionary used for DependencyContextAssemblyCache.managedAssemblyCache instead of Dictionary and use this instead of the one pulled from NuGet.
2018-10-31Arm32: Handle live-out double reg in resolutionCarol Eidt2-0/+179
When handling critical edges, live-in and live-out reg masks must contain both halves of double regs.
2018-10-31Merge pull request #20638 from fiigii/movetestCarol Eidt51-1113/+4292
Move SSE/SSE2/AVX Load* intrinsic tests to the template framework
2018-10-30Delete redundant framework API tests (#20693)Jan Kotas1157-115387/+0
This is the last batch of deleting tests that are obviously redundant. The remaining framework API tests in CoreCLR can be dealt with as needed if it ever becomes a problem. Fixes #12782
2018-10-30Add support for large number of argumets in CCW call on Arm64 (#20670)David Wrighton6-0/+108
* Fix CCW with large numbers of arguments on arm64 - Correctly align the stack in COMToCLRDispatchHelper - Add tests for naturally 16 byte aligned stack growth, and non-aligned growth * New many arguments COM test * Add support for the IL stub ETW diagnostic event
2018-10-30Fix `JitStressRegs=0x1` issue with `RefTypeUpperVectorSaveDef`. (#20623)Sergey Andreenko2-0/+97
* Add a repro test. * Fix the issue. * Add comments
2018-10-30JIT: Fix call flag propagation for GenTreeArrElem (#20660)Andy Ayers2-0/+64
Closes #20651. Also fix up some "near miss" cases for GenTreeField and GenTreeBoundsCheck, where we get lucky and the importer currently splits trees with temps so the currently ignored child nodes have no interesting side effects. Revise GenTreeField a bit to pull more of the initialization work into the constructor. Add a missing R2R field propagation for field nodes in GtClone (evidently also never hit in practice).
2018-10-30Add the execution policy when running powershell in size on disk benchmarks ↵Michelle McDaniel1-2/+2
(#20680) Since moving to the helix queue, we have been failing because the execution policy on the vms is not set to unrestricted. To get around this, we need to explicitly pass -ExecutionPolicy Bypass.
2018-10-30Disable failing on Windows/ARM Interop/COM tests (#20675)Egor Chesakov1-0/+16
* Interop/COM/NETClients/Primitives/NETClientPrimitives * Interop/COM/NativeClients/Primitives * Interop/COM/NETClients/IDispatch/NETClientIDispatch * Interop/COM/NETClients/Aggregation/NETClientAggregation
2018-10-29JIT: streamline temp usage for returns (#20640)Andy Ayers4-0/+162
If the jit decides it needs a return spill temp, and the return value has already been spilled to a single-def temp, re-use the existing for the return temp rather than creating a new one. In conjunction with #20553 this allows late devirtualization for calls where the object in the virtual call is the result of an inline that provides a better type, and the objected formerly reached the call via one or more intermediate temps. Closes #15873.
2018-10-29Remove outdated GC perf test framework (#20673)Sung Yoon Whang16-4376/+0
2018-10-27Delete redundant CoreMangLib decimal tests (#20649)Jan Kotas4-56/+0
Fixes failing test obsoleted by #20638 and contributes to #12782 Delete redundant CoreMangLib decimal tests …
2018-10-26Merge pull request #20621 from AaronRobinsonMSFT/block_tests_WindowsNanoAaron Robinson6-10/+28
Add a run time check for Windows.Nano to all COM related tests.
2018-10-26Move SSE/SSE2/AVX Load* intrinsic tests to the template frameworkFei Peng51-1113/+4292
2018-10-26New Decimal.Remainder implementation (#20305)Pent Ploompuu1-0/+12
* New Decimal.Remainder implementation * Update CoreFX.issues.json
2018-10-26Implement interface dispatch to COM for ARM64 (#20618)David Wrighton1-3/+0
* Implement interface dispatch to COM for ARM64 - Implement missing stub (GenericComPlusCallStub) * Re-enable IDispatch test for Arm64 (Fix issue #20580 )
2018-10-26Merge pull request #20579 from fiigii/broadcastCarol Eidt61-715/+7658
Implement AVX2.BroadcastScalarToVector128/256
2018-10-25Merge pull request #20611 from BruceForstall/DisableB152292Bruce Forstall1-0/+3
Disable b152292 for arm32 also
2018-10-25Add a runtime check for Windows.Nano to all COM related tests.Aaron Robinson6-10/+28
2018-10-25Merge pull request #20527 from BruceForstall/FixPspSymMoveBruce Forstall4-0/+210
Stop attempting to move PSPSym during localloc for arm32/arm64
2018-10-25Stop attempting to move PSPSym during localloc for arm32/arm64Bruce Forstall4-0/+210
For arm64, this was creating a data corruption possibility, as the calculations were done wrong. In neither case was it necessary, as in the main function we always access the PSPSym FP-relative, so when writing back the PSPSym, we were always writing to exactly the same slot; nothing was actually moving. I can't recall or figure out why we were moving it in the first place, or what might have changed. Added a new variant of the localloc eh tests that has outgoing arguments, to exercise the case where we need to re-establish the outgoing argument space after the localloc.
2018-10-25Disable b152292 for arm32 alsoBruce Forstall1-0/+3
2018-10-25Add support for tests to detect Windows Nano at runtime.Aaron Robinson1-10/+163
2018-10-25Add test cases for AVX2.BroadcastScalarToVector128/256 and move ↵Fei Peng61-715/+7658
Avx.Broadcast* tests to the template
2018-10-25Disable IDispatch test on Windows.NanoAaron Robinson1-6/+3
2018-10-25Disable ExecuteInDefaultAppDomain test on *nixSteve MacLean3-0/+26
2018-10-25ExecInDefAppDom add InjectCode testSteve MacLean4-0/+50
2018-10-25Add test for ICLRRuntimeHost::ExecuteInDefaultAppDomainSteve MacLean5-0/+199
2018-10-25Avoid comparing capacity in StringBuilder.Equals (#20567)Petr Onderka1-0/+14
* Avoid comparing capacity in StringBuilder.Equals * Disabled corefx StringBuilder test
2018-10-24Exclude IDispatch test for Windows Arm64 (#20584)Andy Ayers1-0/+3
Disable for now while failures are investigated. See #20580.