On Fri, Aug 07, 2009 at 09:55:36AM +0800, HuiHuang wrote:
> >Did you run the regression tests on this patch? I get the following
> >errors:
>
> >At least one test FAILED, checking /Users/Hyrum/dev/svn-trunk2/tests.log
> >FAIL: merge_tests.py 40: conflict markers should match the file's eol
> >style
> >FAIL: special_tests.py 8: merge file into symlink
> >FAIL: trans_tests.py 2: update modified file with eol-style 'native'
> >FAIL: update_tests.py 27: conflict markers should match the file's
> >eol style
> >FAIL: update_tests.py 28: handle eol-style propchange during update
> Sorry for the failures.
>
> hmm...I want to know how do you run the tests?
On Linux, you can run 'make check'.
On windows, there is a script called win-tests.py. Run that script
to run all tests.
> Should I run the entire test everytime I make a new patch?
Yes! Please run *all* tests before submitting a patch.
> There are more than 70 tests and it would take a lot of time to
> run all tests.
Test failures often pop up in unexpected places. For example,
your last patch broke copy test 66 and because none of us tested
the copy tests before commit (I just ran the commit tests) this
wasn't noticed at first. So I, too, should have run the entire
test suite...
We are trying to keep the entire test suite running for everyone,
all the time. Because when you make a change and you see a test
failure, you have to go and figure out if your own change broke
the test of if some other change broke it. When too many tests keep
failing, it is very hard and time-consuming to verify your own changes
and the test suite becomes useless. We were in such a situation
sometimes and it really, really sucked.
The test suite also takes about an hour to run for me. But as long as
it is just my computer spending the time and not myself, I don't really
care. I can do something else while the tests are running, e.g. read
mail or put up the laundry or something.
Stefan
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2381243
Received on 2009-08-07 12:21:49 CEST