Skip to content

Commit 1c8b389

Browse files
committed
Add more info about unit tests.
1 parent 48418b9 commit 1c8b389

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docs/development.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,10 @@ Torch-MLIR has two types of tests:
313313

314314
2. Compiler and Python API unit tests. These use LLVM's `lit` testing framework.
315315
For example, these might involve using `torch-mlir-opt` to run a pass and
316-
check the output with `FileCheck`.
316+
check the output with `FileCheck`. These tests usually live in the `test/`
317+
directory with a parallel file naming scheme to the `lib/*` structure.
318+
More details about this kind of test is available in the upstream
319+
[LLVM Testing Guide](https://llvm.org/docs/TestingGuide.html#regression-test-structure).
317320

318321

319322
## Running execution (end-to-end) tests:

0 commit comments

Comments
 (0)