Add testing utility for in-place modification of input files
authorKevin Boyd <kevin.boyd@uconn.edu>
Sun, 4 Nov 2018 16:52:19 +0000 (11:52 -0500)
committerKevin Boyd <kevin.boyd@uconn.edu>
Sun, 11 Nov 2018 15:36:15 +0000 (10:36 -0500)
commit0f79f04febbb41289b95891f83271cdab8667cdb
treec50fb4a26a345114329fbfcf1c5264efcc685360
parent0a016ffb0edd7acd16922f6081d9cc8d8e4f0f16
Add testing utility for in-place modification of input files

Adds setModifiableInput and setInputAndOutputFile as options to
the command line testing utility. This is useful for tools such as
gmx solvate and gmx genion which when given "-p topol.top", modify
the topology in place.

refs #2731

Change-Id: Ibdd0462ea7bcfd6f05ee7b7f96618c0fd6457d80
src/gromacs/gmxpreprocess/tests/solvate.cpp
src/testutils/cmdlinetest.cpp
src/testutils/cmdlinetest.h