Fix -deffnm -multi[dir]
authorTeemu Murtola <teemu.murtola@gmail.com>
Thu, 9 Jul 2015 14:21:15 +0000 (17:21 +0300)
committerTeemu Murtola <teemu.murtola@gmail.com>
Thu, 9 Jul 2015 14:21:15 +0000 (17:21 +0300)
commit10a5f4c1192f1b5e7aa59ed4962f7e2d7d5d4c24
tree42490ee12edc3ced928cef4e1bd3db6d01803283
parent90e5c7b64e42dba60be8119a0b1d2e5356673854
Fix -deffnm -multi[dir]

Make -deffnm work even when all other functionality in
FileNameOptionManager is disabled (which happens with -multi and
-multidir).  Add a test for the broken case.

Fixes #1769.

Change-Id: I0f729eaa1ab6e9a4a25d1d121cbfe5b5b2673e4b
src/gromacs/options/filenameoptionmanager.cpp
src/gromacs/options/tests/filenameoptionmanager.cpp