summaryrefslogtreecommitdiff
path: root/tests/src/JIT/Directed
AgeCommit message (Collapse)AuthorFilesLines
2016-01-27Update license headersdotnet-bot123-248/+371
2016-01-11Merge pull request #2400 from pgavlin/FixDebugTypesPat Gavlin96-96/+100
Fix DebugType and Optimize values for JIT tests.
2016-01-07Fix a test bug where dllexport qualifier was missing.Hongtao Yu1-4/+11
2016-01-05Port more JIT tests.Pat Gavlin71-0/+107254
Most of these tests were blocked on unnecessary usage of SerializableAttribute and Environment.ExitCode.
2015-12-31Enable ilasm round trip testingKyungwoo Lee1-0/+1
This enables ilasm round-trip testing for Windows. In order to test il{d}asm on xPlatforms, I injected ilasm round trip before executing the test. This means this step is a part of the runtest not the buildtest -- unlike runtest, currently buildtest is only on Windows. 1. Test batch file is extended to run ildasm followed by ilasm. 2. BuildTest has now an optional flag "ilasmroundtrip" to enable the round-trip tests. Note under this flag, we run both the original binary and the round-trip binary respectively. 3. Test timeout is increased since the round-trip is part of runtime. 4. Did some clean-up on CLRTest.Execute.Batch.targets 5. Bail out the round-trip tests that are built against mscorlib instead of .Net Core. 6. Added /raweh to ildasm due to https://github.com/dotnet/coreclr/issues/2481 7. ilasmroundtrip.targets (~10 tests) are added to enable them by default in a regular test run. Tested with enabling the entire tests (>5K tests) with 'ilasmroundtrip' on, which should be on in a daily or weekly stress mode.
2015-12-28Using ilasm for test populationKyungwoo Lee41-81/+0
This enables the use of ilasm from CoreCLR build to populate il tests instead of using a stock ilasm on Windows desktop. Note currently we populate tests (even for xPlatforms) on Windows only. But when we migrate this test population on xPlatforms, this can be simply used as well. All permission related attributes are dropped which CoreCLR ignores anyhow. Or ilasm will fail to parse such attributes.
2015-12-23Merge pull request #2313 from richardlford/portilasm1211Richard L Ford133-0/+84839
Port more CoreClr and Desktop JIT Selfhost ILASM tests.
2015-12-22Port additional desktop tests to CoreClrRichard L Ford133-0/+84839
Add exclusions for tests that are failing but that we expect to be able to get working.
2015-12-20Cleanup warnings in native test projectsMike Danes1-0/+2
Most of the warnings (>10000) are generated by /Wall. It doesn't make much sense to use /Wall but since there's only a small number of warning types that cause issues I left /Wall in and disabled those particular warning types. A few other warnings were caused by actual code issues (signed/unsigned mismatch, pointer cast to int, unused variables) which I fixed.
2015-12-18Fix DebugType and Optimize values for JIT tests.Pat Gavlin96-96/+100
These values were incorrect given the behavior of the test build.
2015-12-16Merge pull request #2354 from pgavlin/ImportSimpleTestsPat Gavlin5-0/+1487
Import additional JIT tests.
2015-12-15Import additional JIT tests.Pat Gavlin5-0/+1487
These tests were not imported earlier due to missing APIs. In the case of all APIs besides TypedReference, the sources were adjusted to accommodate the differences on .Net Core. In the case of TypedReference, the tests now reference the local mscorlib.
2015-12-15Porting testsHongtao Yu6-0/+395
jit\directed\nullabletypes\value_d.csproj jit\directed\nullabletypes\value_do.csproj jit\directed\nullabletypes\value_r.csproj jit\directed\nullabletypes\value_ro.csproj jit\methodical\fp\apps\bouncingball_cs_d.csproj jit\methodical\fp\apps\bouncingball_cs_do.csproj jit\methodical\fp\apps\bouncingball_cs_r.csproj jit\methodical\fp\apps\bouncingball_cs_ro.csproj jit\regression\vs-ia64-jit\m00\b77951\b77951.csproj jit\methodical\stringintern\_XModuletest1-xmod.csproj jit\methodical\stringintern\_XModuletest2-xmod.csproj jit\methodical\stringintern\_XModuletest4-xmod.csproj Remove
2015-12-11Porting tests that have referencesHongtao Yu13-0/+787
jit\directed\perffix\primitivevt\callconv2_cs_d.csproj jit\directed\perffix\primitivevt\callconv2_cs_do.csproj jit\directed\perffix\primitivevt\callconv2_cs_r.csproj jit\directed\perffix\primitivevt\callconv2_cs_ro.csproj jit\methodical\cctor\xassem\xprecise1_cs_d.csproj jit\methodical\cctor\xassem\xprecise1_cs_do.csproj jit\methodical\cctor\xassem\xprecise1_cs_r.csproj jit\methodical\cctor\xassem\xprecise1_cs_ro.csproj jit\methodical\cctor\xassem\xprecise1b_cs_d.csproj jit\methodical\cctor\xassem\xprecise1b_cs_do.csproj jit\methodical\cctor\xassem\xprecise1b_cs_r.csproj jit\methodical\cctor\xassem\xprecise1b_cs_ro.csproj jit\methodical\cctor\xassem\xprecise2_cs_d.csproj jit\methodical\cctor\xassem\xprecise2_cs_do.csproj jit\methodical\cctor\xassem\xprecise2_cs_r.csproj jit\methodical\cctor\xassem\xprecise2_cs_ro.csproj jit\methodical\cctor\xassem\xprecise4_cs_d.csproj jit\methodical\cctor\xassem\xprecise4_cs_do.csproj jit\methodical\cctor\xassem\xprecise4_cs_r.csproj jit\methodical\cctor\xassem\xprecise4_cs_ro.csproj jit\regression\clr-x86-jit\v2.0-beta2\b423721\b423721.csproj Remove testing against Type.GetMethod(string) which is not in coreCLR. jit\jit64\eh\finallyexec\nestedTryRegionsWithSameOffset1.csproj jit\jit64\eh\finallyexec\nestedTryRegionsWithSameOffset1_o.csproj jit\jit64\eh\finallyexec\nestedTryRegionsWithSameOffset2.csproj jit\jit64\eh\finallyexec\nestedTryRegionsWithSameOffset2_o.csproj jit\jit64\eh\finallyexec\nestedTryRegionsWithSameOffset3.csproj jit\jit64\eh\finallyexec\nestedTryRegionsWithSameOffset3_o.csproj jit\jit64\eh\finallyexec\nonlocalgotoinatryblockinahandler.csproj jit\jit64\eh\leaves\nonlocalexitfromnestedcatch.csproj jit\methodical\boxing\xlang\_dbgsin_cs_cs.csproj jit\methodical\boxing\xlang\_odbgsin_cs_cs.csproj jit\methodical\boxing\xlang\_orelsin_cs_cs.csproj jit\methodical\boxing\xlang\_relsin_cs_cs.csproj jit\methodical\eh\basics\multihandler_d.csproj jit\methodical\eh\basics\multihandler_do.csproj jit\methodical\eh\basics\multihandler_r.csproj jit\methodical\eh\basics\multihandler_ro.csproj jit\methodical\eh\basics\throwincatch_d.csproj jit\methodical\eh\basics\throwincatch_do.csproj jit\methodical\eh\basics\throwincatch_r.csproj jit\methodical\eh\basics\throwincatch_ro.csproj jit\methodical\eh\basics\throwinclassconstructor_d.csproj jit\methodical\eh\basics\throwinclassconstructor_do.csproj jit\methodical\eh\basics\throwinclassconstructor_r.csproj jit\methodical\eh\basics\throwinclassconstructor_ro.csproj Porting jit\methodical\eh\basics Porting jit\methodical\eh\finallyexec Porting jit\methodical\eh\generics Porting jit\methodical\eh\interactions Porting jit\methodical\eh\leaves Porting jit\methodical\eh\rethrow Porting jit\methodical\eh\nested\general Porting jit\methodical\eh\nested\nonlocalexit Porting jit\methodical\eh\regress Porting more tests
2015-12-10Import missing JIT tests.Pat Gavlin369-618/+5952
These tests were thought to have been ported earlier.
2015-12-08Merge pull request #2259 from pgavlin/ImportSimpleTestsPat Gavlin5-0/+394
Import additional JIT tests.
2015-12-08Import additional JIT tests.Pat Gavlin5-0/+394
Most of these tests were missed in the first round because they rely on TypedReference.
2015-12-07Port more C# unit testsRichard L Ford33-0/+3556
The project files were generated automatically from a database and the source files scrubbed and formatted. In addition, some added tests are still failing. Issues were created for these and exclusions added, for windows and for non-windows.
2015-11-24Update auto-generated project.lock.jsonJan Kotas2-439/+2399
2015-11-11Add some additional cases to the struct ABI test.Pat Gavlin2-0/+281
These tests cover boundary cases for the SysV ABI.
2015-11-10Respond to review of gettypetypeofmatrix test.Richard L Ford1-4/+4
The automatic formatter missed putting "public" and "static" in a canonical order, so do that manually. Also remove a case of Hungarian notation.
2015-11-09Add gettypetypeofmatrix test.Richard L Ford3-0/+269
Ported the JIT/Directed/gettypetypeof/gettypetypeofmatrix.cs test from the desktop clr suite to coreclr.
2015-11-08Merge pull request #1925 from akoeplinger/remove-env-helperJan Kotas1-4/+0
Remove Env helper class in tests
2015-11-06Add some missing files.Pat Gavlin4-0/+699
The lack of these files causes the struct ABI tests to fail to build.
2015-11-05Add some targeted by-value struct passing tests.Pat Gavlin5-0/+1310
These tests target the SysV AMD64 ABI in particular, which relies on field types to decide how to pass by-value structs.
2015-11-02Remove Env helper class in testsAlexander Köplinger1-4/+0
It's not used in a lot of places and just makes life more complicated, because Utilities.IsWindows is hardcoded to true right now (which should be fixed separately). See https://github.com/dotnet/coreclr/pull/1907 for some details.
2015-10-18Managed Test Portdotnet-bot3-3/+1972
This is a collection of managed runtime tests from an internal legacy test tree.
2015-09-11Fix pow1 test to run on LinuxBruce Forstall1-8/+7
This tests queries PROCESSOR_ARCHITECTURE to see if it is running on ARM. This returns a null string on Linux. So, check for null on continue. If necessary, this could be adjusted later if we need to do something special for non-Windows .NET Core on ARM.
2015-09-03Add System.Console references and replace usages with [System.Console]Bruce Forstall126-578/+1213
2015-09-03Canonicalize appearance of empty mscorlib assembly references in .il testsBruce Forstall27-50/+28
2015-07-09Move CoreCLR to the modern build tools and dnxMatt Mitchell389-1010/+925
This changes moves coreclr onto DNX (same version as corefx). Theoretically, this should allow these tests to target the desktop CLR. All of the old package.config files are gone and replaced with corresponding project.json files. The up front restore behavior is retained. Tests are now buildable individually, though not runnable in a similar fashion.
2015-06-30Speed up package resotre of JIT Test buildMatt Ellis275-723/+1154
We spend a fair amount of time (six wall clock minutes on my machine) doing package restore for the JIT tests. This is because each project has its own packages.config file, so during the build we call nuget restore for each project. There are only four unique packages.config files for all these tests, so this change moves them to tests/src/JIT/config and updates the project files to consume them from there. This means during the build the `EnsureDependencies` target does not need to invoke nuget restore as often and the build is much faster as a result.
2015-06-24Refactor JIT test projects.Pat Gavlin469-2606/+17511
This change replaces the template projects used for the ported JIT tests with a single project file per test. This refactoring is intended to clarify exactly which tests from the legacy testbed have been ported and what their dependencies are; this should make later reasoning about these tests more straightforward. This change also disables a number of innocuous warnings in the ported tests for hygenic purposes.
2015-06-10Import the first batch of IL tests.Pat Gavlin248-0/+37660
This set of tests is comprised of IL tests that: - only reference APIs in .Net Core's System.Runtime, System.Runtime.Extensions, and System.Threading contracts - compile to a single executable, - and expect no command line arguments at runtime.
2015-05-21Import more JIT tests.Pat Gavlin12-8/+2795
This imports the remainder of the tests under JIT\Methodical that are able to target CoreCLR. This also contains build fixes for tests under JIT\Directed\coverage\oldtests that were mangled during a previous import.
2015-05-21Merge pull request #1028 from mmitche/fix-cmd-exit-codesPat Gavlin5-2795/+0
Fix cmd exit codes
2015-05-21Disable tests failing at runtime and remove tests failing to compile.Matt Mitchell5-2795/+0
See #1036, #1037 and #1038
2015-05-20Add simple JIT test for typed references.Andy Ayers4-0/+92
This compiles directly against mscorlib since TypedReference is not part of any contract assembly.
2015-05-19Import JIT tests.Pat Gavlin79-0/+8937
This brings over most of the tests from `JIT/Directed` that can target CoreCLR.
2015-04-22Add Directed/StructPromote test cases for JITBengu Li16-0/+627
Add Directed/StructPromote test cases for JIT. Related proj, config files added. Solution file update is delayed to later PRs for parallel working. Passed build, buildtest, runtest.
2015-04-21Add test cases in directory Directed/cmovBengu Li20-0/+268586
Add test cases in directory Directed/cmov. Logical operator tests where many of the operations emit cmov instruciton on x86\x64. Related proj, config, and sln files added and updated. Passed build, buildtest, runtest.
2015-04-20Add CSharp Base/Peer Constructor test casesBengu Li22-0/+859
Add CSharp Base/Peer Constructor test cases. Related proj, config, and sln files added and updated. Passed build, buildtest, runtest.
2015-03-08Adding app.config to get rid of the warning MSB3276Rama krishnan Raghupathy3-3/+31
2015-02-12Expand the availability of MSILC JIT to all testsBengu Li1-3/+0
2015-02-12Hook up initial JIT tests for MSILC JITBengu Li1-0/+3
2015-02-02Merge pull request #4 from ramarag/msic_test_cleanupRama krishnan Raghupathy1-6/+0
Changes to Miscellaneous test project and runtest
2015-01-30Changes to Miscellaneous test project and runtestRama krishnan Raghupathy1-6/+0
2015-01-30Update for copyright.dotnet-bot2-0/+8
[tfs-changeset: 1408109]
2015-01-30Initial commit to populate CoreCLR repo dotnet-bot5-0/+217
[tfs-changeset: 1407945]