mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-28 06:49:43 +00:00
Add a special regfile for filetools test on windows
This commit is contained in:
parent
ee0c031d2d
commit
19418730dd
@ -37,6 +37,9 @@ foreach(_src ${check_PROGRAMS})
|
||||
sources(${_src} ${_src}.cpp dummy_functions.cpp boost.cpp)
|
||||
string(REPLACE "check_" "" _srcx ${_src})
|
||||
set(src_data_file "${TOP_SRC_DIR}/src/support/tests/regfiles/${_srcx}")
|
||||
if (MSVC AND EXISTS "${src_data_file}.MSVC")
|
||||
set(src_data_file "${src_data_file}.MSVC")
|
||||
endif()
|
||||
set(created_data_file "${CMAKE_CURRENT_BINARY_DIR}/regfiles/${_src}_data")
|
||||
add_test(NAME support/${_srcx}
|
||||
COMMAND ${CMAKE_COMMAND} -DCommand=$<TARGET_FILE:${_src}>
|
||||
|
3
src/support/tests/regfiles/filetools.MSVC
Normal file
3
src/support/tests/regfiles/filetools.MSVC
Normal file
@ -0,0 +1,3 @@
|
||||
C:/bar
|
||||
C:/foo/bar
|
||||
C:/foo/bar
|
Loading…
Reference in New Issue
Block a user