CMake: use bf_io_ prefix for IO tests

This simplifies running built-in IO tests with:

  ctest -R bf_io_

Also use "bf_io_" prefix for the libraries since it was already used
by some and it's a useful hint the libraries are used for IO.
This commit is contained in:
Campbell Barton
2023-09-23 20:22:19 +10:00
parent 652aab0b31
commit d2c271ec84
11 changed files with 26 additions and 26 deletions

View File

@@ -39,7 +39,7 @@ endif()
# GENERAL PYTHON CORRECTNESS TESTS
macro(COLLADA_TEST module test_name blend_file)
add_test(
NAME collada_${module}_${test_name}
NAME bf_io_collada_${module}_${test_name}
COMMAND "$<TARGET_FILE:blender>" ${TEST_BLENDER_EXE_PARAMS} ${TEST_SRC_DIR}/collada/${module}/${blend_file}
--python ${CMAKE_CURRENT_LIST_DIR}/${module}/test_${module}_${test_name}.py --
--testdir ${TEST_SRC_DIR}/collada/${module}