diff options
author | David Cole <david.cole@kitware.com> | 2012-03-20 20:18:02 (GMT) |
---|---|---|
committer | David Cole <david.cole@kitware.com> | 2012-03-20 20:18:02 (GMT) |
commit | a5ee62851973713e15147d046d7d0d4abcfdd078 (patch) | |
tree | 4fe60c95eaa3669edf95f9dac8a0d23137ed2a6e /Tests/ExternalOBJ | |
parent | d69c2c582584efaa34aa6e2ffc5eb80bacef1324 (diff) | |
download | CMake-a5ee62851973713e15147d046d7d0d4abcfdd078.zip CMake-a5ee62851973713e15147d046d7d0d4abcfdd078.tar.gz CMake-a5ee62851973713e15147d046d7d0d4abcfdd078.tar.bz2 |
Tests: Relax restrictions on version variable contents
Our only expectation of version number variables should be that
they begin with a decimal digit for VERSION_LESS, VERSION_EQUAL
and VERSION_GREATER comparison purposes. If people put extra
blah blah after a version number like "1.2.3 (this is some super
special extra information about our funky proprietary build of
the official 1.2.3 release)" then we should be ok with that.
So: now we have the following expectations for version number
variable content for the purposes of the AllFindModules test:
- it should start with a decimal digit (match "^[0-9]")
- it should not be empty
- it should not be VERSION_EQUAL 0
- it should not be NOT VERSION_GREATER 0
Diffstat (limited to 'Tests/ExternalOBJ')
0 files changed, 0 insertions, 0 deletions