Fix and simplify version matching for running tests
authorMark Abraham <mark.j.abraham@gmail.com>
Fri, 11 Apr 2014 12:11:00 +0000 (14:11 +0200)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Wed, 16 Apr 2014 05:36:40 +0000 (07:36 +0200)
commit0e06005af8eb09ca1e9b235bb1e02bb02f62418e
tree7e8dda030f002ee6cb0427de388a7f9d4ceb2615
parent7aceb5b73fd458945be8c650230b82047301e7a6
Fix and simplify version matching for running tests

The version strings that might need bumping for releases and branch
forks are now all maintained in one place, and are always
defined. Correct behaviour follows from whether the "-dev" tag is
present in PROJECT_VERSION.

When this patch is merged with master branch, preserve the bump
to PROJECT_VERSION that is already in master branch, and change
release-5-0 to master branch for REGRESSIONTEST_BRANCH.

Change-Id: I4a5579f00e487273f8e08bad5613ecceac7bf682
CMakeLists.txt
tests/CMakeLists.txt