summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/FPHSA
Commit message (Collapse)AuthorAgeFilesLines
* FPHSA: detect package name mismatchesBen Boeckel2020-01-148-0/+55
| | | | | | | The `FPHSA_NAME_MISMATCHED` variable may be set if this is intentional (but should be cleared after the call to not affect other FPHSA calls). It may also be passed via the `NAME_MISMATCHED` option for new-signature FPHSA calls.
* FPHSA: add capability to specify message explaining reason of failureMarc Chevrier2019-09-2713-0/+70
| | | | Fixes: #19660
* FPHSA: fix typo in commentYves Frederix2017-09-141-2/+2
|
* FPHSA: Add (failing) unit test when checking EXACT on full version numberYves Frederix2017-09-141-2/+2
| | | | | This test detects a regression introduced by commit aec27c152e (FPHSA: use more localized _FOUND_VERSION instead of VERSION, 2017-09-05).
* FPHSA: Add (failing) unit test in case a cache variable VERSION is presentYves Frederix2017-09-054-1/+15
|
* FPHSA: add (failing) unit test for found version being equal to 0.Yves Frederix2017-09-053-0/+9
|
* RunCMake: Expect empty output by default.Stephen Kelly2014-12-311-0/+2
| | | | | | | | | | | Expect tests to specify stderr content if it is present. Fix the CMP0019 test, which has only been testing the WARN status until now. Specify in the CommandLine and FPHSA tests that content is at least one character. Set policies in the Language and CheckModules tests, which have empty test output, modulo unrelated policies on some platforms.
* FPHSA: fix when requested or found version is exactly 0Rolf Eike Beer2014-10-074-0/+8
| | | | | Until now it was checked with "if(VAR)", which will be false in case "0" is the content of the variable.
* FPHSA: when EXACT version match is requested only compare the components givenRolf Eike Beer2014-10-0721-0/+45
| | | | | | | | | Given that you have a foobar that identifies itself as 1.2.3 from now on a find_package(foobar 1.2 EXACT) will succeed, as 1.2.3 will now be considered as being 1.2. Until now this was only the case for version 1.2.0.
* Cygwin: Avoid legacy warnings in RunCMake.* testsBrad King2013-08-131-1/+1
| | | | | | Set the minimum required version of CMake high enough to avoid the warning for CMAKE_LEGACY_CYGWIN_WIN32. The warning appears on stderr and breaks the expected output matching.
* FPHSA: Convert FOUND_VAR failure test to RunCMakeBrad King2013-02-226-0/+23
Move the Tests/FPHSA_InvalidFOUND_VAR test case over to a new RunCMake.FPHSA test with a BadFoundVar case. The RunCMake tests are built to cover failure cases easily and robustly.