Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Runtime Tests

This folder is the CoreCLR / runtime test tree. Tests here exercise the runtime itself (JIT, GC, EE, interop, threading, tracing, …) rather than the managed libraries — for those, see src/libraries/<Name>/tests/.

Tests are driven by src/tests/build.sh and src/tests/run.sh, not by dotnet test. The wrong tool will silently report "0 test projects" or fail to find a testhost.

Building and running

For up-front baseline build requirements (mandatory under CCA, probe-and-fall-back under CLI), see .github/copilot-instructions.md.

Run src/tests/build.sh -h for the full flag list. A few commonly-missed flags:

Flag Description
-Test <path> Build one project
-Tree <path> Build a subtree recursively
-priority1 (-Priority 1 on Windows) Required for tests with <CLRTestPriority>1</CLRTestPriority>; without it the build silently reports "0 test projects"
-GenerateLayoutOnly Generate Core_Root only (required before running individual tests with corerun)

Many subdirectories under src/tests/ have their own README.md with area-specific authoring and run guidance — read them before making changes.