mirror of
https://github.com/reactos/CMake.git
synced 2024-11-28 14:01:21 +00:00
FPHSA: Add (failing) unit test when checking EXACT on full version number
This test detects a regression introduced by commit aec27c152e
(FPHSA:
use more localized _FOUND_VERSION instead of VERSION, 2017-09-05).
This commit is contained in:
parent
420874bfaa
commit
549366cbfc
@ -11,11 +11,11 @@ run_cmake(any_version_find_0)
|
||||
|
||||
# Find a package with more customary version number, without requestion a specific version and in
|
||||
# the presence of a cache variable VERSION.
|
||||
set(RunCMake_TEST_OPTIONS "-DCMAKE_MODULE_PATH=${CMAKE_CURRENT_LIST_DIR}" "-DPseudoNoVersionVar_VERSION=1.2.3.4.5_SHOULD_BE_IGNORED" "-DVERSION=BAD_VERSION")
|
||||
set(RunCMake_TEST_OPTIONS "-DCMAKE_MODULE_PATH=${CMAKE_CURRENT_LIST_DIR}" "-DPseudoNoVersionVar_VERSION=1.2.3.4_SHOULD_BE_IGNORED" "-DVERSION=BAD_VERSION")
|
||||
run_cmake(any_version_VERSION_cache_variable)
|
||||
|
||||
# Find a package with a more customary version number, without requestion a specific version.
|
||||
set(RunCMake_TEST_OPTIONS "-DCMAKE_MODULE_PATH=${CMAKE_CURRENT_LIST_DIR}" "-DPseudo_VERSION=1.2.3.4.5")
|
||||
set(RunCMake_TEST_OPTIONS "-DCMAKE_MODULE_PATH=${CMAKE_CURRENT_LIST_DIR}" "-DPseudo_VERSION=1.2.3.4")
|
||||
run_cmake(any_version)
|
||||
|
||||
# test EXACT mode with every subcomponent
|
||||
|
Loading…
Reference in New Issue
Block a user