Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
Fix DebugType and Optimize values for JIT tests.
|
|
|
|
Most of these tests were blocked on unnecessary usage
of SerializableAttribute and Environment.ExitCode.
|
|
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.
|
|
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.
|
|
Port more CoreClr and Desktop JIT Selfhost ILASM tests.
|
|
Add exclusions for tests that are failing but that
we expect to be able to get working.
|
|
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.
|
|
These values were incorrect given the behavior of the test build.
|
|
Import additional JIT tests.
|
|
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.
|
|
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
|
|
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
|
|
These tests were thought to have been ported earlier.
|
|
Import additional JIT tests.
|
|
Most of these tests were missed in the first round because they rely on
TypedReference.
|
|
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.
|
|
|
|
These tests cover boundary cases for the SysV ABI.
|
|
The automatic formatter missed putting "public" and
"static" in a canonical order, so do that manually.
Also remove a case of Hungarian notation.
|
|
Ported the JIT/Directed/gettypetypeof/gettypetypeofmatrix.cs
test from the desktop clr suite to coreclr.
|
|
Remove Env helper class in tests
|
|
The lack of these files causes the struct ABI tests to fail to build.
|
|
These tests target the SysV AMD64 ABI in particular, which relies on
field types to decide how to pass by-value structs.
|
|
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.
|
|
This is a collection of managed runtime tests from an internal legacy test tree.
|
|
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.
|
|
|
|
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
Fix cmd exit codes
|
|
See #1036, #1037 and #1038
|
|
This compiles directly against mscorlib since TypedReference is not part of any contract assembly.
|
|
This brings over most of the tests from `JIT/Directed` that can
target CoreCLR.
|
|
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.
|
|
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.
|
|
Add CSharp Base/Peer Constructor test cases. Related proj, config,
and sln files added and updated. Passed build, buildtest, runtest.
|
|
|
|
|
|
|
|
Changes to Miscellaneous test project and runtest
|
|
|
|
[tfs-changeset: 1408109]
|
|
[tfs-changeset: 1407945]
|