diff options
author | Brad King <brad.king@kitware.com> | 2023-02-24 20:00:32 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2023-02-24 20:00:32 (GMT) |
commit | 3cd34eb279df8419dd849360cc3b2f1133d3f281 (patch) | |
tree | 0bf97b1fe55051ac673159de45f450520d9457b1 /Tests/RunCMake/ArtifactOutputDirs/check.cmake | |
parent | 35ca2d524befc71b840808cce4e0a773ef722b71 (diff) | |
download | CMake-3cd34eb279df8419dd849360cc3b2f1133d3f281.zip CMake-3cd34eb279df8419dd849360cc3b2f1133d3f281.tar.gz CMake-3cd34eb279df8419dd849360cc3b2f1133d3f281.tar.bz2 |
Tests: Rename RunCMake.{ArtifactOutputDirs => TargetArtifacts}
Generalize the name so we can add other kinds of artifact checks.
Diffstat (limited to 'Tests/RunCMake/ArtifactOutputDirs/check.cmake')
-rw-r--r-- | Tests/RunCMake/ArtifactOutputDirs/check.cmake | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/Tests/RunCMake/ArtifactOutputDirs/check.cmake b/Tests/RunCMake/ArtifactOutputDirs/check.cmake deleted file mode 100644 index ca37eba..0000000 --- a/Tests/RunCMake/ArtifactOutputDirs/check.cmake +++ /dev/null @@ -1,21 +0,0 @@ -set(expected ${artifact_path}/rtbin/${exe_name}) -if(NOT EXISTS "${expected}") - message(SEND_ERROR "executable artifact not created in the expected path:\n ${expected}") -endif() - -set(expected ${artifact_path}/staticlib/${static_name}) -if(NOT EXISTS "${expected}") - message(SEND_ERROR "static artifact not created in the expected path:\n ${expected}") -endif() - -if(expect_dll) - set(expected ${artifact_path}/rtlib/${shared_name}) - if(NOT EXISTS "${expected}") - message(SEND_ERROR "dll artifact not created in the expected path:\n ${expected}") - endif() -else() - set(expected ${artifact_path}/sharedlib/${shared_name}) - if(NOT EXISTS "${expected}") - message(SEND_ERROR "shared artifact not created in the expected path:\n ${expected}") - endif() -endif() |