Clean up after gmxcpp
authorMark Abraham <mark.j.abraham@gmail.com>
Wed, 15 Jan 2014 17:02:33 +0000 (18:02 +0100)
committerDavid van der Spoel <davidvanderspoel@gmail.com>
Sun, 19 Jan 2014 08:45:22 +0000 (09:45 +0100)
commit1e0e75c810450bbb3d91a41a1fde9e421e4209a8
treefecd1c31001d5938e074703c88ea3be6c8aba285
parentb05bb33e98de23f7dc982c890a7baa60376cd77b
Clean up after gmxcpp

Using grompp in integration tests with potentially multiple different
calls to gmx_grompp per executable requires that we start from a clean
state every time we do such a call. Old code was re-using -I paths,
and both -D and #defines, which was breaking some tests I am working
on.

Also added some other done_* calls on the general theory of trying not
to be evil.

Change-Id: I6016bc1786c8ecc9303eeee2ad4a83975117ca5f
src/gromacs/gmxpreprocess/gmxcpp.c
src/gromacs/gmxpreprocess/gmxcpp.h
src/gromacs/gmxpreprocess/topio.c
src/programs/gmx/grompp.c