Tests: Rename RunCMake.{ArtifactOutputDirs => TargetArtifacts}

Generalize the name so we can add other kinds of artifact checks.
This commit is contained in:
Brad King
2023-02-24 15:00:32 -05:00
parent 35ca2d524b
commit 3cd34eb279
7 changed files with 2 additions and 3 deletions

View File

@@ -270,8 +270,6 @@ if(want_NoQt_test)
add_RunCMake_test(AutogenNoQt TEST_DIR Autogen)
endif()
add_RunCMake_test(ArtifactOutputDirs)
if(NOT DEFINED CMake_TEST_BuildDepends_GNU_AS
AND (CMAKE_C_COMPILER_ID STREQUAL "GNU" OR CMAKE_C_COMPILER_ID STREQUAL "LCC")
AND CMAKE_GENERATOR MATCHES "^Ninja"
@@ -396,6 +394,7 @@ if(UNIX AND CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG AND CMAKE_EXECUTABLE_FORMAT STRE
endif()
add_RunCMake_test(ScriptMode)
add_RunCMake_test(Swift -DCMAKE_Swift_COMPILER=${CMAKE_Swift_COMPILER} -DCMAKE_SYSTEM_NAME=${CMAKE_SYSTEM_NAME})
add_RunCMake_test(TargetArtifacts)
add_RunCMake_test(TargetObjects)
add_RunCMake_test(TargetProperties)
add_RunCMake_test(ToolchainFile)

View File

@@ -16,4 +16,4 @@ function(run_cmake_and_verify_after_build case)
unset(RunCMake_TEST_BINARY_DIR)
endfunction()
run_cmake_and_verify_after_build(ArtifactOutputDirs)
run_cmake_and_verify_after_build(OutputDirs)