File tree Expand file tree Collapse file tree
overview/tutorials/creating-new-hal Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ ComputeMux examples can optionally be built by passing additional options to CMa
4545Examples 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 %)
Original file line number Diff line number Diff line change 1515# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
1616
1717set (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 )
2424if (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 ()
Original file line number Diff line number Diff 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
8181Sample usage:
8282
Original file line number Diff line number Diff 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
4949expected 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
5151that a particular operation has been implemented correctly or that a new change
5252to the source code has not caused any regression.
5353
You can’t perform that action at this time.
0 commit comments