Skip to content

Commit cd9b9d0

Browse files
authored
Merge branch 'main' into more-unit-tests-util
2 parents 9f4fc09 + bced9df commit cd9b9d0

File tree

7 files changed

+20
-20
lines changed

7 files changed

+20
-20
lines changed

tests/CMakeLists.txt

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,35 +18,35 @@ endif()
1818
################################################################################
1919

2020
add_executable (
21-
Test_core_usage
22-
core_usage.cpp
21+
Test_usage_example_core
22+
usage_example_core.cpp
2323
)
2424

2525
target_link_libraries(
26-
Test_core_usage
26+
Test_usage_example_core
2727
PUBLIC
2828
${RAWTOACES_CORE_LIB}
2929
OpenImageIO::OpenImageIO
3030
)
3131

32-
setup_test_coverage(Test_core_usage)
33-
add_test ( NAME Test_core_usage COMMAND Test_core_usage )
32+
setup_test_coverage(Test_usage_example_core)
33+
add_test ( NAME Test_usage_example_core COMMAND Test_usage_example_core )
3434

3535
################################################################################
3636
add_executable (
37-
Test_util_usage
38-
util_usage.cpp
37+
Test_usage_example_util
38+
usage_example_util.cpp
3939
)
4040

4141
target_link_libraries(
42-
Test_util_usage
42+
Test_usage_example_util
4343
PUBLIC
4444
${RAWTOACES_UTIL_LIB}
4545
OpenImageIO::OpenImageIO
4646
)
4747

48-
setup_test_coverage(Test_util_usage)
49-
add_test ( NAME Test_util_usage COMMAND Test_util_usage )
48+
setup_test_coverage(Test_usage_example_util)
49+
add_test ( NAME Test_usage_example_util COMMAND Test_usage_example_util )
5050

5151
################################################################################
5252
add_executable (

tests/config_tests/core/CMakeLists.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,20 @@ cmake_minimum_required(VERSION 3.10)
44

55
enable_testing()
66

7-
add_executable( test_core
8-
core_test.cpp
7+
add_executable( test_installed_core
8+
test_installed_core.cpp
99
)
1010

1111
target_link_libraries(
12-
test_core
12+
test_installed_core
1313
PUBLIC
1414
rawtoaces_core
1515
OpenImageIO::OpenImageIO
1616
)
1717

1818
# Enable coverage for this test if coverage is enabled
1919
if( ENABLE_COVERAGE AND COVERAGE_SUPPORTED )
20-
setup_coverage_flags(test_core)
20+
setup_coverage_flags(test_installed_core)
2121
endif()
2222

23-
add_test ( NAME test_core COMMAND test_core )
23+
add_test ( NAME test_installed_core COMMAND test_installed_core )

tests/config_tests/util/CMakeLists.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,20 @@ cmake_minimum_required(VERSION 3.10)
44

55
enable_testing()
66

7-
add_executable( test_util
8-
util_test.cpp
7+
add_executable( test_installed_util
8+
test_installed_util.cpp
99
)
1010

1111
target_link_libraries(
12-
test_util
12+
test_installed_util
1313
PUBLIC
1414
rawtoaces_util
1515
OpenImageIO::OpenImageIO
1616
)
1717

1818
# Enable coverage for this test if coverage is enabled
1919
if( ENABLE_COVERAGE AND COVERAGE_SUPPORTED )
20-
setup_coverage_flags(test_util)
20+
setup_coverage_flags(test_installed_util)
2121
endif()
2222

23-
add_test ( NAME test_util COMMAND test_util )
23+
add_test ( NAME test_installed_util COMMAND test_installed_util )
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)