summaryrefslogtreecommitdiff
path: root/tests/src/JIT/jit64
AgeCommit message (Collapse)AuthorFilesLines
2017-08-16Move less valuable tests to priority 1.Pat Gavlin790-4542/+3409
2017-05-29Make linux test build workedRoman Artemev1-1/+1
2017-05-22Revert "Fixed tests build on Linux"Russ Keldorph1-1/+1
2017-05-19Test build fixes for LinuxRoman Artemev1-1/+1
2017-04-19[x86/Linux] Corretly pop args after unmanaged function call (#11007)Jonghyun Park1-148/+157
* [x86/Linux] Corretly pop args after unmanaged function call * Fix x86/Windows build error
2017-03-17Delete unused ReferenceLocalMscorlib property from test proj files (#10250)Jan Kotas915-3660/+0
Deleted a few other irrelevant properties as well while I was on it. Fixes #7711
2017-03-16Hide types which are now public in corefx (#10142)Rahul Kumar1-1/+1
2017-03-13Pick up new CoreFX packages and abandon old oneswtgodbe806-3131/+111
2017-02-22Fix projects that specified DebugType incorrectlyAndy Ayers48-416/+320
Make conditional DebugType properties uncondtional. Fix debug type and optimize settings for _d and _do suffixed tests. Remove conditional DebugType propery if there is also an unconditonal property.
2017-02-21Fix jit test projects to specify debug type and optimization flagsAndy Ayers145-1269/+1178
This partially addresses the issues raised in #4124 and #4724 by explicitly and unconditionally setting DebugType and Optimize flags for various test project files. The projects that were fixed are those that did not specify any debug flag settings at all. The fix is to set DebugType to PdbOnly and to set Optimization to true, unless the test has an _r or _rel suffix, in which case Optimization is set false. This impacts 1497 projects, skipping over 311 projects flagged as needing fixes. The projects that remain are the CodeGenBringUp set (for which we plan to clone projects to test the various flag combinations), projects that specify flags but do so in ways where the effective flag settings may vary from DBG to RET, projects that specify the flags redundantly, or projects where the flags are not consistent with the "test case name suffix" rules. The edits were done by a tool using linq-to-xml and so some incidental reformatting has happened.
2017-01-12Mark a small number of tests heap-verify-incompatible.Pat Gavlin2-2/+10
These tests simply take too long to execute when run with heap verification.
2017-01-09Default gcAllowVeryLargeObjects to true (#8853)mikedn1-1/+1
* Default gcAllowVeryLargeObjects to true * Update tests for gcAllowVeryLargeObjects These 2 tests appear to rely on gcAllowVeryLargeObjects being false in that they expect an exception to be thrown when allocating a very large array. Increase the number of array elements so that an OutOfMemoryException is always thown no matter what value gcAllowVeryLargeObjects has. 81*98*58*36*74*4 is 4906065024 which is larger than 2^32, the theoretical array length limit.
2017-01-06Disable hugeexpr1 test under JitStress modesRuss Keldorph1-1/+3
This test runs out of memory on x86 when its huge expressions combine with STRESS_CLONE_EXPR. In this case, the "OptimizationSensitive" label isn't ideal, but the meaning is what we need: don't run this under JitStress modes. This is disabled at build time for x86, which means that if x64-built tests are run on other architectures, e.g. ARM or ARM64, this change won't take effect.
2016-10-20Add comments describing why these tests are disabled.Pat Gavlin1-0/+2
2016-10-20Mark tests GCStress-incompatible for x86.Pat Gavlin1-1/+2
These tests time out when GC stress is enabled on x86. Fixes #7692 and #7695.
2016-10-10Remove AllowPartiallyTrustedCallers from a test (#7555)Michal Strehovský1-6/+1
Partial trust is not part of .NET Core.
2016-08-25Changes made automatically by Visual StudioPetr Onderka211-898/+724
2016-08-23Cosmetic changes, removing unnceseary files and entries in project files.Rama Krishnan Raghupathy1007-6074/+0
Unifying the way project referring mscorlib facade builds
2016-07-29Using full versions, update CoreFX dependencies to beta-24328-05.Davis Goodin1-7/+11
To fix tests, change dnxcore50 -> netcoreapp1.0 and add test_runtime.
2016-06-29Disable tests that timeout under gcstressjashoo4-0/+4
After increasing the timeout time for gcstress, these tests continue to fail due to timeouts. To get the gcstress legs green and keep them within a manageable amount of time they will be disabled.
2016-05-22Update tests to build against rc3-24117-00 (#5154)Jan Kotas1-5/+5
2016-05-19Fix case-sensitive issue on Linux (#5086)Jiyoung Giuliana Yun8-8/+8
Fix #5035 The file paths should be case-sensitive on Linux. Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
2016-05-16Rename some IL tests whose names conflicted with C# testsRuss Keldorph1-0/+0
For catchrettoinnertry, we appeared to have some redundant test projects. I removed the redundant ones and cleaned up the remaining. Fixes #3379
2016-05-14Change referenced common.dll assembly to lower-caseBruce Forstall1-2/+2
Also, change ILPart.dll to lower-case. Fixes a bunch of tests that were failing on Ubuntu. Re-enable those. Fixes #3235.
2016-05-09Update license header in most .il files.Russ Keldorph144-252/+432
2016-05-08Fix some tests where the only problem was incorrect retvalRuss Keldorph2-42/+1
The following tests return values other than 100 on success. Modify the harness to expect the values that they return: ``` JIT\jit64\regress\vsw\102754\test1\test1.cmd JIT\Regression\CLR-x86-JIT\V1-M09\b16102\b16102\b16102.cmd ``` The following test is identical to `test1` in the same directory. Delete it. ``` JIT\jit64\regress\vsw\102754\test2\test2.cmd ``` `rem_r4` returns a non-Unix-compatible 0xAAAA (>255). Change it to the standard 100. ``` JIT\IL_Conformance\Old\Conformance_Base\rem_r4\rem_r4.cmd ``` The following were using the non-functional Environment.ExitCode. Switched to Environment.Exit(Environment.ExitCode): ``` JIT\Methodical\switch\switch1\switch1.cmd JIT\Methodical\switch\switch10\switch10.cmd JIT\Methodical\switch\switch11\switch11.cmd JIT\Methodical\switch\switch2\switch2.cmd JIT\Methodical\switch\switch3\switch3.cmd JIT\Methodical\switch\switch4\switch4.cmd JIT\Methodical\switch\switch5\switch5.cmd JIT\Methodical\switch\switch6\switch6.cmd JIT\Methodical\switch\switch7\switch7.cmd JIT\Methodical\switch\switch8\switch8.cmd JIT\Methodical\switch\switch9\switch9.cmd JIT\Methodical\tailcall\_il_dbgrecurse_ep_void\_il_dbgrecurse_ep_void.cmd JIT\Methodical\tailcall\_il_dbgtest_void\_il_dbgtest_void.cmd JIT\Methodical\tailcall\_il_relrecurse_ep_void\_il_relrecurse_ep_void.cmd JIT\Methodical\tailcall\_il_reltest_void\_il_reltest_void.cmd JIT\Regression\CLR-x86-JIT\V1-M12-Beta2\b65423\b65423\b65423.cmd JIT\Regression\CLR-x86-JIT\V1.2-M01\b08046\b08046\b08046.cmd ``` Note that `b08046.cmd` is left disabled because it is still failing.
2016-05-03Inliner: initial version of SizePolicyAndy Ayers1-2/+6
Add a new inline policy that tries to inline as much as possible without increasing method size. Fix one test that had an expected inline that doesn't happen under the SizePolicy, by marking a method with AggressiveInline.
2016-04-29Specify the signedness of 'char' in HFA testcases (#4680)Jonghyun Park2-29/+29
In C#, sbyte always represents 8-bit signed interger. However, the signedness of char in C is undefined, and the default signedness of char in ARM is unsigned. The native code for HFA test does not specify the signedness of char, and thus the native code assumes that it is unsigned, but the managed code assumes that it is signed, which leads to unittest failure in ARM. This commit specifies the signedness of 'char' in order to fix #4639.
2016-04-19Suppress CS8002 for JIT test projectsRuss Keldorph18-0/+18
"Referenced assembly 'Foo, ...' does not have a strong name." Happens when a .csproj has a ProjectReference for a .ilproj. It's not particularly interesting to give these test assemblies strong names, so I'm just suppressing the warning. Fixes #4232 Fixes #4233 Fixes #4234 Fixes #4235 Fixes #4236 Fixes #4237
2016-04-14Updating BuildToolsJose Perez Rodriguez1-0/+9
2016-04-08Remove usage of ApplicationException in testsMichal Strehovský1-2/+2
ApplicationException is not in the .NET Core profile. Most of these tests only use it to crash the test with an unhandled exception and it doesn't matter what exception type it is.
2016-04-07Merge pull request #4155 from MichalStrehovsky/debuggableAttributeMichal Strehovský1-2/+0
Remove mscorlib 1.x strong references from tests
2016-04-07Remove mscorlib 1.x strong references from testsMichal Strehovský1-2/+0
Referencing mscorlib 1.x forces ILASM to emit a reference to the legacy DebuggableAttribute constructor (the one that takes bools). That constructor is not in the .NET Core profile and not all core base class libraries will have it. See src/ilasm/asmman.cpp#L389.
2016-04-06Delete junk attributes in testsMichal Strehovský4-4/+0
There is no such thing as `Microsoft.VisualBasic.Globals$StandardModuleAttribute` and `System.Security.SecurityRulesAttribute` in mscorlib. Presence of these unresolvable references just trips up static compilers.
2016-03-14Delete bad testsJan Kotas3-234/+0
These tests depend on Thread.Abort and reflection emit APIs that are not part of supported .NET Core surface
2016-03-12Add test mode exclusionsRuss Keldorph1-1/+4
Add the ability to exclude individual tests that are incompatible with certain test modes. If a test is incompatible with or too slow under GCStress, add <GCStressIncompatible>true</GCStressIncompatible> as a property to the test's project file. If a test requires optimization or is sensitive to precise optimization patterns, use <JitOptimizationSensitive>true</JitOptimizationSensitive>
2016-03-10Add System.Threading.Thread to tests to restore missing types.Davis Goodin1-2/+2
Upgrade System.Runtime dependency for JIT tests to get GCHandle. Change system.runtime 4.0.20 to 4.1.0 rc2 dependency to try to copy the runtimes to CORE_ROOT. Fix new project.json files. Fix hardcoded Microsoft.DotNet.xunit.performance version. Upgrade System.Runtime.InteropServices to prerelease level to avoid type conflicts with System.Runtime.
2016-03-10Update dependencies on packages that don't exist.Davis Goodin1-4/+4
First checks to see if a stable version of that dependency was restored, and if not, found the stable.minor.patch version with the prerelease spec of the dependency.
2016-03-10Update all versions to validate.Davis Goodin1-5/+5
2016-03-02Change all dependency versions to match what was actually restored in the ↵Davis Goodin1-5/+5
checked-in lockfiles. Used a tool to look at lockfiles: when a dependency did not have a corresponding downloaded package, found the latest version that was downloaded and changed the project.json to match. This fixes any packages that don't exist (such as some beta-23302) and floating dependencies (*).
2016-03-02Remove RestorePackages = true from all test csproj's.Davis Goodin463-463/+0
Restore is performed once as a batch. csproj's share project.jsons, so restoring for each one was a race to update the lockfile.
2016-03-02Use tooling to add Platforms dependencies and imports where necessary.Davis Goodin1-0/+1
2016-03-02Remove all lockfiles from source control.Davis Goodin1-1321/+0
2016-02-17Port desktop tests that had referencesRichard L Ford60-0/+3445
This change ports desktop tests that had references to dlls. It also fixes some of the dll project files. In addition there are some additional tests that were not previously ported (but that do not reference dlls). There are 4 tests that are excluded because of issue #3216.
2016-02-16Make dll project files build-only.Richard L Ford1-0/+2
Dll project files need extra properties to avoid being run as tests.
2016-02-16Add libraries for tests that reference them.Richard L Ford3-0/+96
This change adds dynamic link libraries that are referenced by other tests.
2016-02-12Fix hfa_interop to omit ".dll" from DLLNameRichard L Ford1-1/+1
For interoperability cross platform, the DLL name given to the DllImport attribute should not include the suffix since dynamic link libraries use a different suffix on different systems.
2016-02-12Restore original dll names, use Define constants.Richard L Ford109-5343/+2014
This changes set has no functional change, rather it cleans up some aspects of a previous port. When the hfa dlls were originally ported it was not known that C# #defines could be used in the tests, so source files that use #if were expanded to multiple source files with the preprocessing being done manually. This changes goes back to using the original files with appropriate define constants in the project files. In addition, when these dlls were ported abbreviated names were used. This change restores the dll names to the originals.
2016-02-10Fix warnings in test buildRuss Keldorph1-1/+1
``` warning : Layout specified for auto-layout class C:\git\coreclr\tests\src\JIT\Directed\PREFIX\unaligned\1\add.ilproj C:\git\coreclr\tests\src\JIT\Directed\PREFIX\volatile\1\add.ilproj warning : Non-nested class has nested visibility (0x00000102), changed to non-nested (0x00000101) C:\git\coreclr\tests\src\JIT\jit64\regress\vsw\153682\test.ilproj warning : Reference to undeclared extern assembly '<assembly>'. Attempting autodetect C:\git\coreclr\tests\src\JIT\Methodical\explicit\misc\_il_dbgrefarg_box_f8.ilproj (System.Console) C:\git\coreclr\tests\src\JIT\Methodical\explicit\misc\_il_relrefarg_box_f8.ilproj (System.Console) C:\git\coreclr\tests\src\JIT\Methodical\tailcall_v4\hijacking.ilproj (mscorlib, System.Threading, System.Threading.Thread) warning : Undefined implementation in ExportedType '<type>' -- ExportType not emitted C:\git\coreclr\tests\src\JIT\Regression\CLR-x86-JIT\V1-M09.5-PDC\b32879\b32879.ilproj (HiDad, _vbProject) C:\git\coreclr\tests\src\JIT\Regression\CLR-x86-JIT\V1-M12-Beta2\b65423\b65423.ilproj (b1904) warning C4311: 'type cast': pointer truncation from 'void *' to 'unsigned int' (+redundant C4302) C:\git\coreclr\bin\Native\src\JIT\Directed\pinning\object-pin\mirror.vcxproj ```
2016-02-01Fix build breaks in Linux ARM buildJan Kotas6-6/+6
- Delete redundant WAITORTIMERCALLBACK declarations. These redundant declarations were needed for very old versions of Windows SDK that are no longer supported. - Remove unnecessary __cdecl modifiers - Add default case to switch statement