Skip to content

Commit 0ea5eeb

Browse files
committed
cmake: rename test target to clik_tests to avoid clash with Abseil 'check'
1 parent 652f994 commit 0ea5eeb

4 files changed

Lines changed: 8 additions & 8 deletions

File tree

clik/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ ComputeMux examples can optionally be built by passing additional options to CMa
4545
Examples included with clik can be used as a test suite for basic validation:
4646

4747
$ cd path/to/clik/build/clik-debug
48-
$ ninja check
48+
$ ninja clik_tests
4949
[100 %] [0:0:11/11] PASS matrix_multiply_tiled
5050

5151
Passed: 11 (100.0 %)

clik/test/CMakeLists.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@
1515
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
1616

1717
set(SCRIPT_PATH ${CMAKE_CURRENT_SOURCE_DIR}/run_tests.py)
18-
add_custom_target(check
18+
add_custom_target(clik_tests
1919
COMMAND ${Python3_EXECUTABLE} ${SCRIPT_PATH} -L lib -b bin --strict --timeout 00:01:00
2020
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
2121
USES_TERMINAL)
2222

23-
add_dependencies(check ClikExamples)
23+
add_dependencies(clik_tests ClikExamples)
2424
if(NOT CLIK_HAL_NAME STREQUAL "")
25-
add_dependencies(check hal_${CLIK_HAL_NAME})
26-
endif()
25+
add_dependencies(clik_tests hal_${CLIK_HAL_NAME})
26+
endif()

doc/modules/mux/targets/host/lit.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ $ llvm-lit host/test/lit/ --xunit-xml-output=lit_junit.xml
7676
-- Testing: 172 tests, 4 threads --
7777
```
7878

79-
A third way is by invoking the CMake `check` target.
79+
A third way is by invoking the CMake `clik_tests` target.
8080

8181
Sample usage:
8282

doc/overview/tutorials/creating-new-hal/runing-clik-tests.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ clik tests as a suite and obtain the number of passed and failed tests
2121

2222
.. code:: console
2323
24-
$ ninja check
24+
$ ninja clik_tests
2525
[100 %] [11:0:0/11] FAIL concatenate_dma
2626
******************** concatenate_dma FAIL in 0:00:00.006947 ********************
2727
Unable to create a clik device.
@@ -47,7 +47,7 @@ clik tests as a suite and obtain the number of passed and failed tests
4747
4848
As can be seen above, all clik tests are currently failing. This is to be
4949
expected when the RefSi HAL is still at the skeleton stage. Nevertheless, it is
50-
useful to run ``ninja check`` periodically while developing the HAL, to confirm
50+
useful to run ``ninja clik_tests`` periodically while developing the HAL, to confirm
5151
that a particular operation has been implemented correctly or that a new change
5252
to the source code has not caused any regression.
5353

0 commit comments

Comments
 (0)