build-and-test
Installation
SKILL.md
Building & Testing in dotnet/runtime
Shell Conventions
Commands below are written for bash. On Windows, use the .cmd entrypoints and PowerShell equivalents:
| bash | Windows (PowerShell) |
|---|---|
./build.sh <args> |
.\build.cmd <args> |
src/tests/build.sh <args> |
src\tests\build.cmd <args> |
src/tests/run.sh <args> |
src\tests\run.cmd <args> |
export FOO=<value> |
$env:FOO = '<value>' |
$CORE_ROOT/corerun <Test>.dll |
& "$env:CORE_ROOT\corerun.exe" <Test>.dll |
find <dir> -name '<pattern>' |
Get-ChildItem <dir> -Recurse -Filter '<pattern>' |
tail -20 <log> |
Get-Content <log> -Tail 20 |
grep '<pattern>' <log> |
Select-String -Path <log> -Pattern '<pattern>' |
Some arguments also differ in casing: -priority1 on bash is -Priority 1 on Windows.