mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-13 22:49:20 +00:00
ctests: run URL tests at beginning
The URL tests can take a long time to complete. By running them at
the beginning, time can be saved when running the ctests in
parallel.
This saves around 10 minutes for me.
(cherry picked from commit c9817a4fb5
)
This commit is contained in:
parent
94b2cb288d
commit
5137bfa94b
@ -1041,15 +1041,17 @@ if(LYX_INSTALL)
|
|||||||
endif()
|
endif()
|
||||||
include(../Install)
|
include(../Install)
|
||||||
|
|
||||||
|
# By running the URL tests first, time can be saved when running the ctests in
|
||||||
|
# parallel since the URL tests take a long time to run (e.g. 10 minutes).
|
||||||
|
if(LYX_ENABLE_URLTESTS)
|
||||||
|
add_subdirectory(development/checkurls "${TOP_BINARY_DIR}/checkurls")
|
||||||
|
endif()
|
||||||
add_subdirectory(src "${TOP_BINARY_DIR}/src")
|
add_subdirectory(src "${TOP_BINARY_DIR}/src")
|
||||||
add_subdirectory(lib/lyx2lyx "${TOP_BINARY_DIR}/lyx2lyx")
|
add_subdirectory(lib/lyx2lyx "${TOP_BINARY_DIR}/lyx2lyx")
|
||||||
add_subdirectory(lib/scripts "${TOP_BINARY_DIR}/scripts")
|
add_subdirectory(lib/scripts "${TOP_BINARY_DIR}/scripts")
|
||||||
add_subdirectory(lib/examples "${TOP_BINARY_DIR}/lib/examples")
|
add_subdirectory(lib/examples "${TOP_BINARY_DIR}/lib/examples")
|
||||||
add_subdirectory(sourcedoc "${TOP_BINARY_DIR}/sourcedoc")
|
add_subdirectory(sourcedoc "${TOP_BINARY_DIR}/sourcedoc")
|
||||||
add_subdirectory(development/autotests "${TOP_BINARY_DIR}/autotests")
|
add_subdirectory(development/autotests "${TOP_BINARY_DIR}/autotests")
|
||||||
if(LYX_ENABLE_URLTESTS)
|
|
||||||
add_subdirectory(development/checkurls "${TOP_BINARY_DIR}/checkurls")
|
|
||||||
endif()
|
|
||||||
|
|
||||||
message(STATUS)
|
message(STATUS)
|
||||||
message(STATUS "Build params, switch LYX_* options by -DLYX_*=ON or OFF, LYX_* combos by -DLYX_*=value:")
|
message(STATUS "Build params, switch LYX_* options by -DLYX_*=ON or OFF, LYX_* combos by -DLYX_*=value:")
|
||||||
|
Loading…
Reference in New Issue
Block a user