Add helper to reuse generated TPR files in testing
authorPaul Bauer <paul.bauer.q@gmail.com>
Tue, 17 Sep 2019 15:33:13 +0000 (17:33 +0200)
committerMagnus Lundborg <magnus.lundborg@scilifelab.se>
Fri, 11 Oct 2019 11:23:30 +0000 (13:23 +0200)
commitcef36d09e64b3f5e3a0248722d8da8d7f1cc584d
tree194078b1d3a6c65d32f554f945775c20fc44f23e
parent9858f605b3a78d33bcb8021f2fa0fb1bef6b6e18
Add helper to reuse generated TPR files in testing

Used static class members in GoogleTest and provided option in
testfilemanager to allow file path specification before test case is
started.

This should speed up some of the test cases that have been slow due to
repeated calls to grompp.

Change-Id: I50e29d04550d78f2324e3665e903d45515464298
src/gromacs/tools/tests/dump.cpp
src/gromacs/tools/tests/report_methods.cpp
src/testutils/CMakeLists.txt
src/testutils/testfilemanager.cpp
src/testutils/tprfilegenerator.cpp [new file with mode: 0644]
src/testutils/tprfilegenerator.h [new file with mode: 0644]