More control over file backups
commit3890a483c9d60ea822e53b5cc1508cfa1cd931b0
authorTeemu Murtola <teemu.murtola@gmail.com>
Fri, 10 Oct 2014 04:03:54 +0000 (10 07:03 +0300)
committerTeemu Murtola <teemu.murtola@gmail.com>
Thu, 27 Nov 2014 15:50:43 +0000 (27 16:50 +0100)
tree92d8081dcd38109bfc67c00251e25038e727df6b
parentaf190c27803d089ad4356dde12308e596feb7754
More control over file backups

Add a gmx_set_max_backup_count() to specify how many backups should be
made, instead of just relying on the environment variable.  Make the
default to be no backups: now tests and FAHCORE do not need special
treatment.  Instead, make the command-line initialization specify the
maximum backup count, and add a command-line option that also allows
disabling backups as an alternative to the environment variable.

This also allows removing a valgrind suppression for memory leaks from
the test code.

Change-Id: Ib512eb2a491691c76404aacbf93b67087a1afe41
cmake/legacy_and_external.supp
src/gromacs/commandline/cmdlinemodulemanager-impl.h
src/gromacs/commandline/cmdlinemodulemanager.cpp
src/gromacs/utility/futil.cpp
src/gromacs/utility/futil.h
src/testutils/integrationtests.cpp
src/testutils/integrationtests.h