]> git.ipfire.org Git - thirdparty/libvirt.git/commit
tests: Add VIR_TEST_REGENERATE_OUTPUT
authorCole Robinson <crobinso@redhat.com>
Thu, 23 Apr 2015 18:02:57 +0000 (14:02 -0400)
committerCole Robinson <crobinso@redhat.com>
Thu, 23 Apr 2015 21:08:48 +0000 (17:08 -0400)
commitedb27a7048fa6de2c71dd5005cbed9c922c75b72
tree7a3a859161863bf97d569c12fad5f232c4b1d61b
parentca32929908bbc94116493ad8915e7cd7ae0f57d5
tests: Add VIR_TEST_REGENERATE_OUTPUT

If this enviroment variable is set, the virTestCompareToFile helper
will overwrite the file content we are comparing against, if the
file doesn't exist or it doesn't match the expected input.

This is useful when adding new test cases, or making changes that
generate a lot of output churn.
HACKING
docs/hacking.html.in
tests/testutils.c