WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 107635
79404
test-webkitpy should run the scm_unittests by default
https://bugs.webkit.org/show_bug.cgi?id=79404
Summary
test-webkitpy should run the scm_unittests by default
Eric Seidel (no email)
Reported
2012-02-23 14:48:18 PST
test-webkitpy should run the scm_unittests by default First we need to fix them, and make them fast. :)
Attachments
Add attachment
proposed patch, testcase, etc.
Dirk Pranke
Comment 1
2012-02-23 14:56:48 PST
+1 :).
Tim 'mithro' Ansell
Comment 2
2013-01-20 20:35:00 PST
Well, they have been fixed now. They are still much slower than the majority of the tests, but do complete in under a minute. Probably makes sense to enable running of these tests by default on the EWS bots? What do you think?
Adam Barth
Comment 3
2013-01-20 23:18:11 PST
$ ./Tools/Scripts/test-webkitpy Ran 1642 tests in 5.693s What's the runtime with the scm tests?
Eric Seidel (no email)
Comment 4
2013-01-20 23:32:54 PST
I can't imagine that we're very far away from making them fast-er. I dont' know how much work Tim has already done on this. I do agree that leaving them off is bad. I've long meant to get back to fixing this bug....
Tim 'mithro' Ansell
Comment 5
2013-01-21 01:05:59 PST
$ time ./test-webkitpy Suppressing most webkitpy logging while running unit tests. Skipping tests in the following modules or packages because they are really, really, slow: webkitpy.common.checkout.scm.scm_unittest (
https://bugs.webkit.org/show_bug.cgi?id=31818
; use --all to include) Ran 1635 tests in 3.033s OK real 0m3.950s user 0m18.840s sys 0m2.130s $ time ./test-webkitpy --all Suppressing most webkitpy logging while running unit tests. Ran 1749 tests in 41.119s OK real 0m42.058s user 0m58.910s sys 0m29.420s $
Tim 'mithro' Ansell
Comment 6
2013-01-21 01:07:12 PST
My current thought is that they are too slow to run after every change, but fast enough that we should run them before committing the code?
Dirk Pranke
Comment 7
2013-01-21 12:20:34 PST
I assume they're completing in 40s because they're being run in parallel, right? I think it's bad that they're off by default. Certainly 40s is much worse than 5, but it's not so bad that we shouldn't run them by default. We should probably retitle most of them as integration tests (the ones that are actually calling out to git and svn) and then they'll fall under the -i flag (which we should enable by default as well, although I'm sure some of them fail now as well) and they can be skipped for people who just want the fast unit tests.
Adam Barth
Comment 8
2013-01-21 23:04:21 PST
Please don't increase the running time of test-webkitpy by a factor of 10. If we're going to run these tests by default, they'll need to be reworked so they're not massively slow.
Tim 'mithro' Ansell
Comment 9
2013-04-01 19:36:00 PDT
*** This bug has been marked as a duplicate of
bug 107635
***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug