summaryrefslogtreecommitdiff
path: root/tests/src/JIT/Regression/Dev11
AgeCommit message (Collapse)AuthorFilesLines
2018-08-24Use runtest.py to run tests for all platforms (#19213)Jarret Shook1-0/+3
Change build-test.sh to always build the xunit wrappers. Before it would drop a token and check the existence of the token. Unify x64 linux/OSX/Windows excludes into one file, issues.targets. Includes different locations in the file which show where to put excludes. Remove all target specific aspects of issues.targets, all tests are excluded now via wildcard, this allows expanding to .cmd and .sh based on the built platform. Unify path separators to forward slash(/) in issues.targets to support both platforms Clean up issues.targets by removing long standing exclude tests, specifically tests that have been excluded due to missing features like rva_statics. Add DisableProjectBuild to tests which have been removed from issues.targets Conditionally add DisableProjectBuild to tests which have been marked as unsupported on unix. This is mostly a port of the unsupportedOnUnix.txt list. Instead of excluding the tests, unix will simply not build them. If tests are built on windows, they will be run but they will return pass, the test wrapper will check return instantly. All exclusions ported to issues.targets for linux targets. Expand runtest.py, this includes simple issues that made it past the original CR. In addition it adds more optional features to help with inner loop dev work such as: creating a repro folder under bin/repro/.. which sets up the env and calls the failing test. In addition a launch.json will now be created under bin/repro/.. which can be used to easily debug using vscode. More logging, such as printing failures, longest running tests ect. Initial excludes ported for arm64 windows Arm64 linux, armhf unix excludes and enables running runtest.sh for these targets. arm64 windows and arm32 windows excludes and enables running runtest.cmd on arm64 targets init-tools.sh changes to pull armhf and aarch64 dotnetcli init-tools.cmd changes to pull x86 packages for dotnetcli for arm64 windows runtest.cmd for almost all scenarios will call runtest.py runtest.sh for almsot all scenarios will call runtest.py Removes all logic for running tests using runtest.sh
2018-08-01build-test - fix ilasm warnings caused by missing/incorrect extern assembly ↵Jacek Blaszczynski1-12/+5
declarations (#19188) * build-test - fix ildasm warnings caused by missing or incorrect extern assembly declarations white space was fixed in all files which were edited (tabs -> spaces, no white space at the end of line) * Remove unnecessary assembly declaration metadata
2018-07-10Fix ShowLocallocAlignment test for x86Bruce Forstall1-3/+25
The required localloc alignment differs by platform. Teach the test what the per-platform alignment requirement is. Fixes #7163
2017-08-16Move less valuable tests to priority 1.Pat Gavlin36-191/+146
2017-07-13Delete testRuss Keldorph2-591/+0
2017-03-22Linker Testing: Use a central target for copying reflection roots.Swaroop Sridhar1-1/+1
Copy the test.refect.xml file (if one exists) as part of the AfterBuild job -- so that individual tests need not identify the CopyReflectionRoots explicitly as a default target.
2017-03-17Delete unused ReferenceLocalMscorlib property from test proj files (#10250)Jan Kotas44-176/+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-15Add support for testing via ILLINKSwaroop Sridhar2-1/+6
Add support for testing via ILLINK This commit has the following changes: 1) Setup the testing infrastructure to run the CoreCLR tests after linking through ILLinker `runtest.cmd /link <path-to-illink.exe>` 2) The linker is taken as an argument for runtest.cmd, typically the corebuild of https://github.com/mono/linker 3) Tests are run by linking the test binaries and all libraries except `System.Private.Corelib.dll` 4) For tests that use reflection, setup Reflection roots in source directories as `<test>.reflect.xml`
2017-03-13Pick up new CoreFX packages and abandon old oneswtgodbe31-118/+2
2017-02-21Fix jit test projects to specify debug type and optimization flagsAndy Ayers10-87/+79
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.
2016-08-25Changes made automatically by Visual StudioPetr Onderka9-36/+27
2016-08-23Cosmetic changes, removing unnceseary files and entries in project files.Rama Krishnan Raghupathy78-1085/+0
Unifying the way project referring mscorlib facade builds
2016-07-29Using full versions, update CoreFX dependencies to beta-24328-05.Davis Goodin1-8/+12
To fix tests, change dnxcore50 -> netcoreapp1.0 and add test_runtime.
2016-05-22Update tests to build against rc3-24117-00 (#5154)Jan Kotas1-6/+6
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 Keldorph15-27/+45
2016-04-19Suppress CS8002 for JIT test projectsRuss Keldorph2-0/+2
"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-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-5/+5
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-6/+6
2016-03-02Change all dependency versions to match what was actually restored in the ↵Davis Goodin1-6/+6
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 Goodin18-18/+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-1578/+0
2016-02-26Fix license header for test filesSean Gillespie1-0/+3
2016-02-17Port desktop tests that had referencesRichard L Ford6-2/+887
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 Ford2-0/+4
Dll project files need extra properties to avoid being run as tests.
2016-02-16Add libraries for tests that reference them.Richard L Ford6-0/+650
This change adds dynamic link libraries that are referenced by other tests.
2016-01-27Update license headersdotnet-bot24-51/+75
2016-01-11Merge pull request #2400 from pgavlin/FixDebugTypesPat Gavlin5-6/+6
Fix DebugType and Optimize values for JIT tests.
2015-12-22Port additional desktop tests to CoreClrRichard L Ford7-1/+287
Add exclusions for tests that are failing but that we expect to be able to get working.
2015-12-18Fix DebugType and Optimize values for JIT tests.Pat Gavlin5-6/+6
These values were incorrect given the behavior of the test build.
2015-12-11Porting tests that have referencesHongtao Yu5-0/+240
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 Gavlin62-36/+4409
These tests were thought to have been ported earlier.
2015-12-08Import additional JIT tests.Pat Gavlin3-0/+133
Most of these tests were missed in the first round because they rely on TypedReference.
2015-09-03More System.Console IL test cleanupBruce Forstall4-4/+25
2015-09-03Add System.Console references and replace usages with [System.Console]Bruce Forstall5-19/+48
2015-07-09Move CoreCLR to the modern build tools and dnxMatt Mitchell19-47/+36
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 Ellis23-120/+45
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 Gavlin35-653/+664
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 Gavlin30-0/+3090
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-06-03Add multiple smaller test directories under JIT/RegressionBengu Li45-0/+1343
Add all other test directories under JIT/Regression except for CLR-x86-JIT which is a big one. Related proj, config files added. AllTestProjects.sln is updated. Passed build, buildtest, runtest.