From aee368c104ee68471d45cef6ff000b6a99203c62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Sok=C3=B3=C5=82?= <8431159+mtsokol@users.noreply.github.com> Date: Wed, 16 Oct 2024 01:12:20 +0200 Subject: [PATCH] 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. --- website/content/getting_started/TestingGuide.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/website/content/getting_started/TestingGuide.md b/website/content/getting_started/TestingGuide.md index 8bac5557344f98..c61239b68fdc05 100644 --- a/website/content/getting_started/TestingGuide.md +++ b/website/content/getting_started/TestingGuide.md @@ -27,13 +27,13 @@ cmake --build . --target check-mlir-integration ### Run C++ unit tests: ```sh -bin/llvm-lit -v tools/mlir/Unit +bin/llvm-lit -v tools/mlir/test/Unit ``` ### Run `lit` tests in a specific directory ```sh -bin/llvm-lit -v tools/mlir/test/Dialect/Arithmetic +bin/llvm-lit -v tools/mlir/test/Dialect/Arith ``` ### Run a specific `lit` test file @@ -109,18 +109,18 @@ Subsets of the testing tree can be invoked by passing a more specific path instead of `tools/mlir/test` above. Example: ```shell -./bin/llvm-lit tools/mlir/test/Dialect/Arithmetic +./bin/llvm-lit tools/mlir/test/Dialect/Arith # Note that it is possible to test at the file granularity, but since these # files do not actually exist in the build directory, you need to know the # name. -./bin/llvm-lit tools/mlir/test/Dialect/Arithmetic/ops.mlir +./bin/llvm-lit tools/mlir/test/Dialect/Arith/ops.mlir ``` Or for running all the C++ unit-tests: ```shell -./bin/llvm-lit tools/mlir/Unit +./bin/llvm-lit tools/mlir/test/Unit ``` The C++ unit-tests can also be executed as individual binaries, which is