Tests: Add RunCMake.CommandLine make_directory test checks

This commit is contained in:
John Freeman
2019-05-31 16:35:41 -05:00
committed by Brad King
parent 3eb16de327
commit 013bee698e
2 changed files with 9 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
if(NOT IS_DIRECTORY ${out}/parent/child)
set(RunCMake_TEST_FAILED "child directory was not created")
endif()

View File

@@ -0,0 +1,6 @@
if(NOT IS_DIRECTORY ${out}/d1)
set(RunCMake_TEST_FAILED "directory d1 was not created")
endif()
if(NOT IS_DIRECTORY ${out}/d2)
set(RunCMake_TEST_FAILED "directory d2 was not created")
endif()