Age | Commit message (Collapse) | Author | Files | Lines |
|
Especially with the builds of the tests, the diag logging significantly reduces TP in the build and seems to reduce parallelism a bit too. Change this to normal.
|
|
|
|
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.
|
|
ObjectDisposedException handled in test wrapper.
|
|
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.
|
|
Add all remaining JIT/Regression test cases for JIT
|
|
This change is comprised of two parts:
- A new property in dir.targets, ProjectLanguage, that allows test
projects to specify the language in which they are written. If unset,
this property is inferred from the extension, defaulting to C# if all
else fails. The only lanugages currently supported are C# and IL, but
it should be easy to support others (e.g. Visual Basic) if necessary.
- A copy of IL.targets from Microsoft.DotNet.BuildTools. This should be
removed once CoreCLR has been moved to a version of the build tools
package that contains IL.targets; this work is tracked by
https://github.com/dotnet/coreclr/issues/1122.
This work is necessary to support a large number of JIT tests that are
written in IL and have yet to be ported.
|
|
Add all remaining JIT/Regression test cases for JIT. All under CLR-x86-JIT.
Related proj, config files added. AllTestProjects.sln update delayed for a
batch adding. Passed build, buildtest, runtest.
|
|
Add JIT/Regression/CLR-x86-JIT/V1-M09 test cases for JIT. Related proj, config files added.
AllTestProjects.sln update delayed for a batch adding. Passed build, buildtest, runtest.
|
|
Process output and error event handlers are being called after a
timeout has expired but the process has not exited.
* ObjectDisposedException is handled around AutoResetEvent.Set() method
calls in CoreclrTestWrapperLib class.
Fix #1039
|
|
Add multiple smaller test directories under JIT/Regression
|
|
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.
|
|
|
|
isinst if IsInstanceOfInterface() sets the exception out param.
Correct behavior: If false is returned when IsInstanceOfInterface() called as part of a castclass then the usual InvalidCastException
will be thrown unless an alternate exception is assigned to the castError output parameter.
This parameter is ignored on successful casts or during the evaluation of an isinst (which returns null rather than throwing on error).
|
|
Add all Regression\VS-ia64-JIT projects to AllTestProjects.sln.
|
|
|
|
Import JIT tests.
|
|
This imports the remainder of the tests under JIT/jit64 that are able
to target CoreCLR.
|
|
Add Regression/VS-ia64-JIT test cases for JIT. Related proj, config files added.
AllTestProjects.sln update delayed for a batch adding. Passed build, buildtest, runtest.
|
|
Add all remaining JIT/Generics test cases for JIT. Related proj, config,
and sln files added and updated. Passed build, buildtest, runtest.
|
|
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
|
|
The use of goto :eof in numerous places in the build and test scripts is problematic. If preceded by an echo or other command, it will overwrite the exit code and the script may return incorrectly. This was happening for buildtest, masking a recent ycompilation error in one of the tests.
Change all of the goto :eof's to exit /b.
|
|
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 Methodical/NaN test cases for JIT. Related proj, config,
and sln files added and updated. Passed build, buildtest, runtest.
Also added Generic/Exceptions, Methodical/MDArray/DataTypes,
Directed/StructPromote tests to AllTestProject.sln.
|
|
This modifies the `build.cmd`, `build.sh`, and `buildtest.cmd` to only
remove previous output (binaries, intermediates, and logs) for the
selected configuration when the `clean` argument is specified.
This also modifies `runtest.cmd` to output log files in the same format
as `build.cmd`, `build.sh`, and `buildtest.cmd` do currently.
|
|
This test exercises the JIT's ability to probe the stack on windows for dynamic allocation. It uses multiple threads and a two-stage allocation pattern to try and hit various boundary cases.
|
|
Enable building linuxmscorlib / osxmscorlib with VS2015
|
|
Add Generic/Exceptions test cases for JIT
|
|
Add MultiDimensional Array test cases for JIT
|
|
Add Generic/Exceptions 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 MultiDimensional Array test cases for JIT. Related proj, config files
added. Solution file update is delayed to later PRs for parallel working.
Passed build, buildtest, runtest.
|
|
|
|
Trying to do "build linuxmscorlib vs2015" was resulting in an error due to the script trying to read %_msbuildexe% when _msbuildexe hadn't been defined. When that was addressed, mscorlib was then also failing to compile due to the csc compiler not understanding a flag that was being set in the response file based on UseRoslynCompiler not being set. This commit addresses both issues.
|
|
Previous it was required to have VS2013 but now VS2015 can also be used. The default is still 2013 though.
On a machine with both version installed it is possible to force VS2013/VS2015 with a parameter.
Note: Still some work has to be done to make compilation successfull on VS2015.
|
|
Existing runtest.cmd and runtest.proj does not support excluding
individual tests from running thus a JIT testing that wants to
do so has to hard delete the built tests which caused a bunch
of potential issue and developer inconvinience. This change
implements a solution that developer can specify excluded tests
through a msbuild .targets file with ItemGroup ExcludeList.
Existing runtest builds XunitWrapper.dll for each top level test
directory and run the tests at the granularity of XunitWrapper.dll
level. The implmentaiton controls how many test cases are included
when XunitWrapper.dll is built. No more hard deletion. Passed
tests with and without exclusion.
|
|
Add Directed/StructPromote test cases for JIT
|
|
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 Generics/Fields test cases for JIT. Related proj, config, and sln files
added and updated. Passed build, buildtest, runtest.
|
|
Add inlining optimizaiton test cases for JIT. Related proj, config, and sln files
added and updated. Passed build, buildtest, runtest.
|
|
Add test cases in directory JIT/Generics/Arrays. Related proj, config, and sln files
added and updated. 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.
|
|
Add JIT CSE (common sub-expression elimination) optimization tests.
Related proj, config, and sln files added and updated. Passed build,
buildtest, runtest. Code went through Microsoft internal process
to meet open-source requirements.
|
|
Selected working JIT GC test cases from old test bed before ToF
for porting into CoreCLR.
Related proj, config, and sln files added and updated. Passed
build, buildtest, runtest.
Cleaned up the source code. Updated comments to remove internal
information such as reference to internal bug numbers etc, removed
some not useful comment. Code is re-formatted for consistent style.
Copyright added. Scrub tool SSS ran. Pragma warning about parenthesis
ignored.
|
|
Conflicts:
build.cmd
|
|
non-zero code
|