#702: Tests should use IO::out_fileinfo = "none" -------------------------+-------------------------------------------------- Reporter: hinder | Owner: Type: enhancement | Status: new Priority: minor | Milestone: Component: Other | Version: Keywords: | -------------------------+-------------------------------------------------- The Cactus User Guide (http://einsteintoolkit.org/documentation/UsersGuide/UsersGuidech9.html#x13-1...) recommends that test output files should always be the same, and hence use IO::out_fileinfo = "none". I would like to implement this for the tests in the ET, as it makes comparing test output using standard (non-Cactus testsuite mechanism) diff tools possible.
#702: Tests should use IO::out_fileinfo = "none" --------------------------+------------------------------------------------- Reporter: hinder | Owner: Type: enhancement | Status: new Priority: minor | Milestone: Component: Other | Version: Resolution: | Keywords: --------------------------+-------------------------------------------------
Comment (by eschnett):
Please go ahead. Ideally, you would generate the new test case output by removing lines from the old output, but that may be too much to ask for.
#702: Tests should use IO::out_fileinfo = "none" --------------------------+------------------------------------------------- Reporter: hinder | Owner: Type: enhancement | Status: review Priority: minor | Milestone: Component: Other | Version: Resolution: | Keywords: --------------------------+------------------------------------------------- Changes (by knarf):
* status: new => review
#702: Tests should use IO::out_fileinfo = "none" --------------------------+------------------------------------------------- Reporter: hinder | Owner: Type: enhancement | Status: reviewed_ok Priority: minor | Milestone: Component: Other | Version: Resolution: | Keywords: --------------------------+------------------------------------------------- Changes (by knarf):
* status: review => reviewed_ok
#702: Tests should use IO::out_fileinfo = "none" --------------------------+------------------------------------------------- Reporter: hinder | Owner: Type: enhancement | Status: reviewed_ok Priority: minor | Milestone: Component: Other | Version: Resolution: | Keywords: --------------------------+-------------------------------------------------
Comment (by hinder):
Replying to [comment:1 eschnett]:
Please go ahead. Ideally, you would generate the new test case output by
removing lines from the old output, but that may be too much to ask for.
Since the changes should be invisible to the Cactus test mechanism, it should be enough to rerun the tests with the new output, verify that they still pass, then commit the new data. We can then use version-control tools to examine the diff, which should consist only of these header lines.
#702: Tests should use IO::out_fileinfo = "none" --------------------------+------------------------------------------------- Reporter: hinder | Owner: Type: enhancement | Status: reviewed_ok Priority: minor | Milestone: Component: Other | Version: Resolution: | Keywords: --------------------------+-------------------------------------------------
Comment (by rhaas):
Has this been taken care of already?
#702: Tests should use IO::out_fileinfo = "none" --------------------------+------------------------------------------------- Reporter: hinder | Owner: Type: enhancement | Status: reviewed_ok Priority: minor | Milestone: Component: Other | Version: Resolution: | Keywords: --------------------------+-------------------------------------------------
Comment (by rhaas):
Replying to [comment:4 hinder]:
Replying to [comment:1 eschnett]:
Please go ahead. Ideally, you would generate the new test case output
by removing lines from the old output, but that may be too much to ask for.
Since the changes should be invisible to the Cactus test mechanism, it
should be enough to rerun the tests with the new output, verify that they still pass, then commit the new data. We can then use version-control tools to examine the diff, which should consist only of these header lines.
I would actually be very surprised if the differences were only the header lines. Some of those test files were generated years ago with a compiler and options that are no longer in use. I would very much expect that regenerating the data would change the data in the files (this already happens when comparing intel and gcc compiler results).
#702: Tests should use IO::out_fileinfo = "none" --------------------------+------------------------------------------------- Reporter: hinder | Owner: Type: enhancement | Status: closed Priority: minor | Milestone: Component: Other | Version: Resolution: fixed | Keywords: --------------------------+------------------------------------------------- Changes (by rhaas):
* status: reviewed_ok => closed * resolution: => fixed
Comment:
Applied in git hash:
b38107f392a1 of CactusExamples ec2db396097d of CactusNumerical de1f30b60874 of EinsteinEvolve 8e3226456e90 of EinsteinInitialData 7481f264b995 of PITTNullCode
#702: Tests should use IO::out_fileinfo = "none" --------------------------+------------------------------------------------- Reporter: hinder | Owner: Type: enhancement | Status: closed Priority: minor | Milestone: Component: Other | Version: Resolution: fixed | Keywords: --------------------------+-------------------------------------------------
Comment (by knarf):
Replying to [comment:6 rhaas]:
Replying to [comment:4 hinder]:
Replying to [comment:1 eschnett]:
Please go ahead. Ideally, you would generate the new test case
output by removing lines from the old output, but that may be too much to ask for.
Since the changes should be invisible to the Cactus test mechanism, it
should be enough to rerun the tests with the new output, verify that they still pass, then commit the new data. We can then use version-control tools to examine the diff, which should consist only of these header lines.
I would actually be very surprised if the differences were only the
header lines. Some of those test files were generated years ago with a compiler and options that are no longer in use. I would very much expect that regenerating the data would change the data in the files (this already happens when comparing intel and gcc compiler results).
Are we here talking about tests that haven't run in a while? All the ones that are regularly run should still pass after this change, shouldn't they? They should be tested, using current compilers, all the time, and except the ioinfo, none of the generated data should change _by this source change alone_.
#702: Tests should use IO::out_fileinfo = "none" --------------------------+------------------------------------------------- Reporter: hinder | Owner: Type: enhancement | Status: closed Priority: minor | Milestone: Component: Other | Version: Resolution: fixed | Keywords: --------------------------+-------------------------------------------------
Comment (by hinder):
The newly-generated output may be different to that which is currently stored as reference data. It should agree within the tolerances, but it will likely look different.
#702: Tests should use IO::out_fileinfo = "none" --------------------------+------------------------------------------------- Reporter: hinder | Owner: Type: enhancement | Status: closed Priority: minor | Milestone: Component: Other | Version: Resolution: fixed | Keywords: --------------------------+-------------------------------------------------
Comment (by knarf):
Yes, that is true. It even likely would look different on different machines, or using different compilers or compiler options. And this could even lead to new test suite failures, on some machines.
trac@lists.einsteintoolkit.org