Skip to content

Commit aee368c

Browse files
authored
Update TestingGuide.md (#206)
Hi! This PR contains a few small fixes to test suites paths in `TestingGuide.md` so that they can be run with latest llvm-project `main` branch.
1 parent 0029ecc commit aee368c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

website/content/getting_started/TestingGuide.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ cmake --build . --target check-mlir-integration
2727
### Run C++ unit tests:
2828

2929
```sh
30-
bin/llvm-lit -v tools/mlir/Unit
30+
bin/llvm-lit -v tools/mlir/test/Unit
3131
```
3232

3333
### Run `lit` tests in a specific directory
3434

3535
```sh
36-
bin/llvm-lit -v tools/mlir/test/Dialect/Arithmetic
36+
bin/llvm-lit -v tools/mlir/test/Dialect/Arith
3737
```
3838

3939
### Run a specific `lit` test file
@@ -109,18 +109,18 @@ Subsets of the testing tree can be invoked by passing a more specific path
109109
instead of `tools/mlir/test` above. Example:
110110

111111
```shell
112-
./bin/llvm-lit tools/mlir/test/Dialect/Arithmetic
112+
./bin/llvm-lit tools/mlir/test/Dialect/Arith
113113

114114
# Note that it is possible to test at the file granularity, but since these
115115
# files do not actually exist in the build directory, you need to know the
116116
# name.
117-
./bin/llvm-lit tools/mlir/test/Dialect/Arithmetic/ops.mlir
117+
./bin/llvm-lit tools/mlir/test/Dialect/Arith/ops.mlir
118118
```
119119

120120
Or for running all the C++ unit-tests:
121121

122122
```shell
123-
./bin/llvm-lit tools/mlir/Unit
123+
./bin/llvm-lit tools/mlir/test/Unit
124124
```
125125

126126
The C++ unit-tests can also be executed as individual binaries, which is

0 commit comments

Comments
 (0)