Changeset 98801 in webkit
- Timestamp:
- Oct 29, 2011 1:21:28 AM (13 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r98785 r98801 1 2011-10-29 Sheriff Bot <webkit.review.bot@gmail.com> 2 3 Unreviewed, rolling out r98780. 4 http://trac.webkit.org/changeset/98780 5 https://bugs.webkit.org/show_bug.cgi?id=71173 6 7 Broke Qt bots (Requested by rniwa on #webkit). 8 9 * Scripts/run-webkit-tests: 10 (useNewRunWebKitTests): 11 1 12 2011-10-28 Rafael Weinstein <rafaelw@chromium.org> 2 13 -
trunk/Tools/Scripts/run-webkit-tests
r98780 r98801 58 58 sub useNewRunWebKitTests() 59 59 { 60 # Change this check to control which platforms use new-run-webkit-tests by default. 61 # Example: return runningOnBuildBot() && isLeopard(); 62 # would enable new-run-webkit-tests on only the leopard buildbots. 63 64 # Note: We use a whitelist here to avoid calling isPORT() for ports 65 # for which we haven't explicitly added support. Calling isPORT() 66 # will remove the --PORT argument from @ARGV, causing us to fail to pass it to the test harness. 67 60 68 # NRWT Windows support still needs work: https://bugs.webkit.org/show_bug.cgi?id=38756 61 return 0 if isWindows() or isCygwin();62 # NRWT does not support qt-arm: https://bugs.webkit.org/show_bug.cgi?id=6408663 return 0 if isQt() and isArm();64 # All other platforms should use NRWT by default.65 return 1;66 }67 69 68 sub platformIsReadyForParallelTesting() 69 { 70 # NRWT is able to run the tests in parallel, ORWT was not. 71 # When we run the tests in parallel, tests which (incorrectly) 72 # interact with each other can start failing. 73 # To reduce the failure burden during the transition individual 74 # platforms can opt-in to parallel test execution by default. 70 # NRWT doesn't support qt-arm and qt-4.8 platforms now: https://bugs.webkit.org/show_bug.cgi?id=64071 and https://bugs.webkit.org/show_bug.cgi?id=64086 71 if (isQt()) { 72 return (!isARM()); 73 } 75 74 76 # Platforms interested in dog-fooding faster test runs on their bots 77 # should add themselves to this blacklist, e.g.: 78 # return isGtk() or isQt(); 79 # This will likely require skipping tests or marking tests as flaky in test_expectations.txt 80 return 0; 75 return (isLeopard() or isSnowLeopard() or isLion() or isGtk()); 81 76 } 82 77 … … 86 81 $harnessName = "new-run-webkit-tests"; 87 82 88 if (!grep(/--child-processes/, @ARGV) and !platformIsReadyForParallelTesting()) {83 if (!grep(/--child-processes/, @ARGV)) { 89 84 push(@ARGV, "--child-processes=1"); 90 85 print "Running new-run-webkit-tests with one child process.\n"; … … 97 92 } 98 93 94 # FIXME: We need a cleaner way to do --platform handling. 99 95 # webkitdirs.pm strips --qt and --gtk from @ARGV when we call isQt/isGtk. 100 96 # We have to add back any --PORT arguments which may have been removed by isPort() checks above.
Note: See TracChangeset
for help on using the changeset viewer.