Changeset 90449 in webkit
- Timestamp:
- Jul 6, 2011, 4:03:56 AM (15 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
Scripts/run-webkit-tests (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r90448 r90449 1 2011-07-06 Eric Seidel <eric@webkit.org> 2 3 Unreviewed.. 4 5 * Scripts/run-webkit-tests: 6 (useNewRunWebKitTests): 7 - Fix the pass-thru of --gtk and --qt for old-run-webkit-tests, 8 it was previously broken by the existence of isGtk/isQt checks which 9 removed the --gtk/--qt args from @ARGV. 10 1 11 2011-07-06 Eric Seidel <eric@webkit.org> 2 12 -
trunk/Tools/Scripts/run-webkit-tests
r90447 r90449 56 56 } 57 57 58 # We could use isWebKit2() instead of our own custom usingWebKit2(), but then 59 # we'd have to be careful to add -2 or --webkit-test-runner back into @ARGV below. 58 60 sub usingWebKit2() 59 61 { … … 66 68 sub useNewRunWebKitTests() 67 69 { 68 # Change this check to control which platforms use 69 # new-run-webkit-tests by default. 70 # Change this check to control which platforms use new-run-webkit-tests by default. 70 71 # Example: return runningOnBuildBot() && isLeopard(); 71 72 # would enable new-run-webkit-tests on only the leopard buildbots. 73 74 # Note: We use a whitelist here to avoid calling isPORT() for ports 75 # for which we haven't explicitly added support. Calling isPORT() 76 # will remove the --PORT argument from @ARGV, causing us to fail to pass it to the test harness. 77 72 78 # NRWT Windows support still needs work: https://bugs.webkit.org/show_bug.cgi?id=38756 73 return ( !isAnyWindows() and !usingWebKit2());79 return ((isLeopard() or isSnowLeopard() or isQt() or isGtk()) and !usingWebKit2()); 74 80 } 75 81 … … 86 92 87 93 # FIXME: We need a cleaner way to do --platform handling. 88 # One problem is that webkitdirs.pm strips --qt and --gtk from @ARGV when we call isQt/isGtk. 89 # But new-run-webkit-tests wouldn't understand --qt/--gtk if we passed it to it anyway: 94 # webkitdirs.pm strips --qt and --gtk from @ARGV when we call isQt/isGtk. 95 # Unfortunately new-run-webkit-tests wouldn't understand --qt/--gtk if we passed it to it anyway, 96 # so we have to convert it to --platform=PORT equivalents. 90 97 # https://bugs.webkit.org/show_bug.cgi?id=63970 91 98 if (isQt()) { 92 99 push(@ARGV, "--platform=qt"); 100 } elsif (isGtk()) { 101 push(@ARGV, "--platform=gtk"); 93 102 } 94 if (isGtk()) { 95 push(@ARGV, "--platform=gtk"); 103 } else { 104 # We have to add back any --PORT arguments which may have been removed by isPort() checks above. 105 if (isQt()) { 106 push(@ARGV, "--qt"); 107 } elsif (isGtk()) { 108 push(@ARGV, "--gtk"); 96 109 } 97 110 }
Note:
See TracChangeset
for help on using the changeset viewer.