Add --ref-data update-changed
authorTeemu Murtola <teemu.murtola@gmail.com>
Fri, 7 Aug 2015 13:04:15 +0000 (16:04 +0300)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Sat, 3 Oct 2015 10:55:47 +0000 (12:55 +0200)
commit4e63175d6ad658a570c47489dac7c91dde90f9d7
tree99f9947255c17f814a71e88a84e4406629b70ff3
parent94b4e27ce336b58785af791437e0f6e07675a250
Add --ref-data update-changed

Add an option to update only those reference data entries that fail the
test.  This makes it somewhat easier to maintain tests with
floating-point reference data (as long as those floating-point values
themselves do not change), since it is possible to update other parts of
the test data without a double-precision build.

User-/developer-facing documentation will be added separately together
with more comprehensive documentation of the reference data framework
later.

Change-Id: Id03346358b91c5859e8ad5614f4ff4c4691e8594
src/testutils/refdata-checkers.h
src/testutils/refdata-impl.h
src/testutils/refdata-xml.cpp
src/testutils/refdata.cpp
src/testutils/refdata.h
src/testutils/tests/refdata_tests.cpp