[phc-internals] Expected test results
Paul Biggar
paul.biggar at gmail.com
Sun Oct 10 23:08:03 IST 2010
Hi folks,
I've been cleaning up some of the bitrotten code recently, and needed
to keep track of it. So I added a few small changes which allow us to
tell whether we broke a test, or whether it was broken already.
test/expected_results/ contains what we expect to happen when we run
the tests. After tests run, the test driver now diffs the results
against the expected results, and says whether or not it differs. This
is very coarse, but it kinda works. The disadvantage is that we must
run the full set of tests to have something to compare.
After making a change which fixes some tests, you can run
misc/copy_expected to copy the latest results over test/expected/*,
which should be committed along with the fix.
Let me know if this is helpful, and please submit any tweaks you find useful.
Thanks,
Paul
--
Paul Biggar
paul.biggar at gmail.com
More information about the phc-internals
mailing list