Files
CMake/Tests/RunCMake/ctest_build/SubdirTarget-check.cmake
Brad King e485dca1e8 Tests: Move CTest.BuildCommand.ProjectInSubdir into RunCMake.ctest_build
The former duplicates code that is now part of the infrastructure in the
latter.  The latter can also explicitly verify the results.
2022-02-04 08:34:27 -05:00

5 lines
206 B
CMake

set(expected_file "${RunCMake_TEST_BINARY_DIR}/subdir/target_in_subdir.out")
if(NOT EXISTS "${expected_file}")
set(RunCMake_TEST_FAILED "Expected build output file not found:\n ${expected_file}")
endif()