Fix auto-downloaded regression test execution
authorSzilard Pall <pall.szilard@gmail.com>
Sun, 10 May 2015 23:03:02 +0000 (01:03 +0200)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Wed, 13 May 2015 11:15:51 +0000 (13:15 +0200)
commit9ed77a1b1191266c5d48f873a953de15f36c7bf8
treeb6433be55317c22b00ebb7cb0e84106e66f55a22
parent88fda4755eeaa360bde13b71ba094ad685720aca
Fix auto-downloaded regression test execution

The regressiontests directory within the tarball has been renamed
to contain a version suffix: regressiontests-BRANCH-COMMITID.tgz
However, the CMake code that sets up the tests and needs the path to the
location of the the regressiontests was not updated and tried to use an
incorrect, hardcoded directory name.

This change implements extracting the directory name from the tarball.

Change-Id: Ic597b69b7a375966e9747e55afcb9ef5921b2b22
tests/CMakeLists.txt