Log instructions for bypassing test dependency checks
If not all test programs are installed, instructions on how to bypass them are logged. This allows testing without installing all of the packages.
This commit is contained in:
parent
816e45ccb9
commit
cb67d4cee3
@ -109,10 +109,10 @@ add_test_executable_notest(sysbench_example.cpp sysbench_example replication)
|
||||
|
||||
find_program(HAVE_MYSQLTEST mysqltest)
|
||||
if (NOT HAVE_MYSQLTEST)
|
||||
message(FATAL_ERROR "Could not find mysqltest.")
|
||||
message(FATAL_ERROR "Could not find mysqltest. Add -DHAVE_MYSQLTEST=Y to CMake invocation ignore this.")
|
||||
endif()
|
||||
|
||||
find_program(HAVE_PHP php)
|
||||
if (NOT HAVE_PHP)
|
||||
message(FATAL_ERROR "Could not find php.")
|
||||
message(FATAL_ERROR "Could not find php. Add -DHAVE_PHP=Y to CMake invocation ignore this.")
|
||||
endif()
|
||||
|
Loading…
x
Reference in New Issue
Block a user