Properly mark tests_dir as a dependency of test_prep

Allows for running a subset of tests immediately after build system config.
This commit is contained in:
ridiculousfish 2019-07-21 11:21:50 -07:00
parent 1f854ec284
commit 97c4794424

View File

@ -62,7 +62,7 @@ ADD_CUSTOM_TARGET(test_prep
COMMAND ${CMAKE_COMMAND} -E remove_directory ${TEST_DIR}/temp
COMMAND ${CMAKE_COMMAND} -E make_directory
${TEST_DIR}/data ${TEST_DIR}/home ${TEST_DIR}/temp
DEPENDS tests_buildroot_target
DEPENDS tests_buildroot_target tests_dir
USES_TERMINAL)
# Define our individual tests.