Skip to content

Commit 8dad951

Browse files
Add test target to the default build target (#117)
Signed-off-by: zichguan-amd <zichuan.guan@amd.com> Co-authored-by: zichguan-amd <zichuan.guan@amd.com>
1 parent 41cd5d6 commit 8dad951

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ foreach(target_id ${GPU_LIST})
6464
generate_hsaco(${target_id} ${TEST_DIR}/${TEST_NAME}/${TEST_NAME}.cl ${target_id}_${TEST_NAME}.hsaco)
6565
endforeach(target_id)
6666
# add_custom_target(test DEPENDS ${HSACO_TARGET_LIST})
67-
add_custom_target(mytest DEPENDS ${TARGET_NAME} ${HSACO_TARGET_LIST})
67+
add_custom_target(mytest ALL DEPENDS ${TARGET_NAME} ${HSACO_TARGET_LIST})
6868

6969
## Deploying test run scripts
7070
execute_process ( COMMAND sh -xc "cp --remove-destination ${TEST_DIR}/da_16b.py ${TEST_BINARY_DIR}" )

0 commit comments

Comments
 (0)