mirror of
https://github.com/etlegacy/Update-Installer.git
synced 2025-02-08 23:01:51 +00:00
Add updater_ prefix to test target names
This avoids a conflict with CMake targets that happen to have the same name in Mendeley's main CMake project. MD-19678 #time 10m
This commit is contained in:
parent
d25cfb8583
commit
83b2697b52
1 changed files with 2 additions and 2 deletions
|
@ -31,7 +31,7 @@ endforeach()
|
|||
|
||||
# Add unit test binaries
|
||||
macro(ADD_UPDATER_TEST CLASS)
|
||||
set(TEST_TARGET ${CLASS})
|
||||
set(TEST_TARGET updater_${CLASS})
|
||||
add_executable(${TEST_TARGET} ${CLASS}.cpp)
|
||||
target_link_libraries(${TEST_TARGET} updatershared)
|
||||
add_test(${TEST_TARGET} ${TEST_TARGET})
|
||||
|
@ -47,5 +47,5 @@ add_updater_test(TestFileUtils)
|
|||
# Add updater that that performs a complete update install
|
||||
# and checks the result
|
||||
find_program(RUBY_BIN ruby)
|
||||
add_test(TestUpdateInstall ${RUBY_BIN} test-update.rb)
|
||||
add_test(updater_TestUpdateInstall ${RUBY_BIN} test-update.rb)
|
||||
|
||||
|
|
Loading…
Reference in a new issue