Skip to content

Commit f7530ff

Browse files
authored
Fixes paths (#45392)
1 parent 6802e61 commit f7530ff

File tree

12 files changed

+18
-21
lines changed

12 files changed

+18
-21
lines changed

docs/design/coreclr/jit/JitOptimizerPlanningGuide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ due to a few well-known issues:
3434
optimization change when it is eventually merged. Source/library/runtime
3535
changes are in play for TechEmpower and Benchmarks Game both.
3636

37-
Compiler micro-benchmarks (like those in our [test tree](https://github.com/dotnet/runtime/tree/master/src/coreclr/tests/src/JIT/Performance/CodeQuality))
37+
Compiler micro-benchmarks (like those in our [test tree](https://github.com/dotnet/runtime/tree/master/src/tests/JIT/Performance/CodeQuality))
3838
don't share these issues, and adding them as optimizations are implemented is
3939
critical for validation and regression prevention; however, micro-benchmarks
4040
often aren't as representative of real-world code, and therefore not as

docs/design/coreclr/jit/porting-ryujit.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ There are several steps to follow to port the JIT (some of which can be be done
5858
way, only very limited JIT functionality need to work, as the "base" JIT takes care of most functions.
5959
* Implement the basic instruction encodings. Test them using a method like `CodeGen::genArm64EmitterUnitTests()`.
6060
* Implement the bare minimum to get the compiler building and generating code for very simple operations, like addition.
61-
* Focus on the CodeGenBringUpTests (src\coreclr\tests\src\JIT\CodeGenBringUpTests), starting with the simple ones.
61+
* Focus on the CodeGenBringUpTests (src\tests\JIT\CodeGenBringUpTests), starting with the simple ones.
6262
These are designed such that for a test `XXX.cs`, there is a single interesting function named `XXX` to compile
6363
(that is, the name of the source file is the same as the name of the interesting function. This was done to make
6464
the scripts to invoke these tests very simple.). Set `COMPlus_AltJit=XXX` so the new JIT only attempts to

docs/design/coreclr/jit/ryujit-overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ bit vectors.
131131
### Example of Post-Import IR
132132

133133
For this snippet of code (extracted from
134-
[tests/src/JIT/CodeGenBringUpTests/DblRoots.cs](https://github.com/dotnet/runtime/blob/master/src/coreclr/tests/src/JIT/CodeGenBringUpTests/DblRoots.cs)), with `COMPlus_TieredCompilation=0` and using the DblRoots_ro.csproj project to compile it:
134+
[src/tests/JIT/CodeGenBringUpTests/DblRoots.cs](https://github.com/dotnet/runtime/blob/master/src/tests/JIT/CodeGenBringUpTests/DblRoots.cs)), with `COMPlus_TieredCompilation=0` and using the DblRoots_ro.csproj project to compile it:
135135

136136
r1 = (-b + Math.Sqrt(b*b - 4*a*c))/(2*a);
137137

docs/design/features/hw-intrinsics.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ This is an area of the JIT that could use some redesign and refactoring (https:/
118118

119119
## Testing
120120

121-
The tests for the hardware intrinsics reside in the coreclr/tests/src/JIT/HardwareIntrinsics directory.
121+
The tests for the hardware intrinsics reside in the src/tests/JIT/HardwareIntrinsics directory.
122122

123-
Many of the tests are generated programmatically from templates. See `coreclr\tests\src\JIT\HardwareIntrinsics\General\Shared\GenerateTests.csx`. We would like to see most, if not all, of the remaining tests converted to use this mechanism.
123+
Many of the tests are generated programmatically from templates. See `src\tests\JIT\HardwareIntrinsics\General\Shared\GenerateTests.csx`. We would like to see most, if not all, of the remaining tests converted to use this mechanism.
124124

docs/workflow/testing/coreclr/gc-stress-run-readme.md

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,13 @@ This is a pretty crude implementation. Feel free to improve it!
1414

1515
It has 3 parts:
1616

17-
- The stress framework is built from `<REPO_ROOT>\src\coreclr\tests\src\GC\Stress\Framework`
17+
- The stress framework is built from `<REPO_ROOT>\src\tests\GC\Stress\Framework`
1818

19-
- The tests are built from `<REPO_ROOT>\src\coreclr\tests\src\GC\Stress\Tests`
19+
- The tests are built from `<REPO_ROOT>\src\tests\GC\Stress\Tests`
2020

21-
- The config is at `<REPO_ROOT>\src\coreclr\tests\src\GC\Stress\testmix_gc.config`, this will be copied to the output folder of Framework
21+
- The config is at `<REPO_ROOT>\src\tests\GC\Stress\testmix_gc.config`, this will be copied to the output folder of Framework
2222

23-
The easiest way to build the Framework+Tests is by building all tests - `<REPO_ROOT>\src\coreclr\build_test[.bat|.sh]`
24-
25-
Sometimes there is a need (after initial build) to rebuild Framework+Tests. For example when modifying the Framework to add a new scenario or when investigating a failure.
26-
In such case it is possible to go directly into the the Framework directory and build manually- Ex: `dotnet build -c:debug`.
23+
The easiest way to build the Framework+Tests is by running `dotnet msbuild` from `<REPO_ROOT>` on `src\tests\GC\Stress\Framework\ReliabilityFramework.csproj`.
2724

2825
# Running stress
2926

docs/workflow/testing/coreclr/test-configuration.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,13 @@ Therefore the managed portion of each test **must not contain**:
5151
* `<GCStressIncompatible>true</GCStressIncompatible>`
5252
* Exclude test from JIT stress runs runs by adding the following to the csproj:
5353
* `<JitOptimizationSensitive>true</JitOptimizationSensitive>`
54-
* Add NuGet references by updating the following [test project](https://github.com/dotnet/runtime/blob/master/src/coreclr/tests/src/Common/test_dependencies/test_dependencies.csproj).
54+
* Add NuGet references by updating the following [test project](https://github.com/dotnet/runtime/blob/master/src/tests/Common/test_dependencies/test_dependencies.csproj).
5555
* Get access to System.Private.CoreLib types and methods that are not exposed via public surface by adding the following to the csproj:
5656
* `<ReferenceSystemPrivateCoreLib>true</ReferenceSystemPrivateCoreLib>`
5757
* Any System.Private.CoreLib types and methods used by tests must be available for building on all platforms.
5858
This means there must be enough implementation for the C# compiler to find the referenced types and methods. Unsupported target platforms
5959
should simply `throw new PlatformNotSupportedException()` in its dummy method implementations.
60-
* Update exclusion list at [tests/issues.targets](https://github.com/dotnet/runtime/blob/master/src/coreclr/tests/issues.targets) if the test fails due to active bug.
60+
* Update exclusion list at [tests/issues.targets](https://github.com/dotnet/runtime/blob/master/src/tests/issues.targets) if the test fails due to active bug.
6161
6262
### Creating a C# test project
6363

docs/workflow/testing/coreclr/testing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Note: CoreCLR must be built prior to building an individual test. See the first
3333
* It is possible to explicitly run only the native test build with `build.sh/cmd skipmanaged`
3434
* Managed Test: Invoke `dotnet build` on the project directly. `dotnet` can be the `dotnet.sh` or `dotnet.cmd` script in the repo root.
3535
```
36-
<runtime-repo-root>/dotnet.sh build <runtime-repo-root>/src/coreclr/tests/src/JIT/CodegenBringupTests/Array1_d.csproj /p:Configuration=Release
36+
<runtime-repo-root>/dotnet.sh build <runtime-repo-root>/src/tests/JIT/CodegenBringupTests/Array1_d.csproj /p:Configuration=Release
3737
```
3838

3939
## Additional Documents

src/coreclr/scripts/superpmi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ Example commands to create a collection (on Linux, by running the tests):
109109

110110
```
111111
# First, build the product, possibly the tests, and create a Core_Root directory.
112-
/Users/jashoo/runtime/src/coreclr/scripts/superpmi.py collect bash "/Users/jashoo/runtime/src/coreclr/tests/runtest.sh x64 checked"
112+
/Users/jashoo/runtime/src/coreclr/scripts/superpmi.py collect bash "/Users/jashoo/runtime/src/tests/runtest.sh x64 checked"
113113
```
114114

115115
The above command collects over all of the managed code called by the

src/coreclr/src/ToolBox/superpmi/readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ there is the `superpmi-shim-collector` binary (`.dll` or `.so` or `.dylib`).
5353

5454
To harness collection, there is a .NET Core C# program that is built as
5555
part of the coreclr tests build called superpmicollect.exe
56-
(source: src/coreclr/tests/src/JIT/superpmi in https://github.com/dotnet/runtime repository).
56+
(source: src/tests/JIT/superpmi in https://github.com/dotnet/runtime repository).
5757
This tool also functions as a SuperPMI collection and playback unit test.
5858

5959
The superpmicollect tool is also being moved to the jitutils repository

src/coreclr/src/tools/ILVerify/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ The code is split into three projects:
4242

4343
To test the ILVerification library we have small methods checked in as .il files testing specific verification scenarios. These tests live under [src/ILVerification/tests/ILTests](../ILVerification/tests/ILTests). Tests are grouped into .il files based on functionalities they test. There is no strict policy here, the goal is to have a few dozen .il files instead of thousands containing each only a single method.
4444

45-
The test project itself is under [src/coreclr/tests/src/ilverify](../../../tests/src/ilverify)
45+
The test project itself is under [src/tests/ilverify](../../../tests/ilverify)
4646

4747
Method names in the .il files must follow the following naming convention:
4848

src/tests/Interop/ReadMe.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Testing P/Invoke has two aspects:
5151

5252
### Marshal API
5353

54-
The Marshal API surface area testing is traditionally done via unit testing and far better suited in the [library test folder](https://github.com/dotnet/runtime/tree/master/src/libraries/System.Runtime.InteropServices/tests). Cases where testing the API surface area requires native tests assets will be performed in the [coreclr test folder](https://github.com/dotnet/runtime/tree/master/src/coreclr/tests/src/Interop) repo.
54+
The Marshal API surface area testing is traditionally done via unit testing and far better suited in the [library test folder](https://github.com/dotnet/runtime/tree/master/src/libraries/System.Runtime.InteropServices/tests). Cases where testing the API surface area requires native tests assets will be performed in the [coreclr test folder](https://github.com/dotnet/runtime/tree/master/src/tests/Interop) repo.
5555

5656
### NativeLibrary
5757

@@ -60,7 +60,7 @@ This series has unit tests corresponding to `System.Runtime.NativeLibrary` APIs
6060
## Common Task steps
6161

6262
### Adding new native project
63-
1) Update `coreclr/tests/src/Interop/CMakeLists.txt` to include new test asset directory.
63+
1) Update `src/tests/Interop/CMakeLists.txt` to include new test asset directory.
6464
1) Verify project builds by running `build-tests.cmd`/`build-tests.sh` from repo root.
6565

6666
### Adding new managed project

src/tests/run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -927,7 +927,7 @@ def run_tests(args,
927927
per_test_timeout = 20*60*1000
928928

929929
# Set __TestTimeout environment variable, which is the per-test timeout in milliseconds.
930-
# This is read by the test wrapper invoker, in src\coreclr\tests\src\Common\Coreclr.TestWrapper\CoreclrTestWrapperLib.cs.
930+
# This is read by the test wrapper invoker, in src\tests\Common\Coreclr.TestWrapper\CoreclrTestWrapperLib.cs.
931931
print("Setting __TestTimeout=%s" % str(per_test_timeout))
932932
os.environ["__TestTimeout"] = str(per_test_timeout)
933933

0 commit comments

Comments
 (0)