Changeset 60652 in webkit
- Timestamp:
- Jun 3, 2010 9:22:06 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r60648 r60652 1 2010-06-03 Fumitoshi Ukai <ukai@chromium.org> 2 3 Reviewed by Alexey Proskuryakov. 4 5 old-run-webkit-tests should use ensure-valid-python to check if it can run the websockets tests 6 https://bugs.webkit.org/show_bug.cgi?id=39058 7 8 * platform/mac-tiger/Skipped: 9 - remove websocket/tests from skipped list. 10 1 11 2010-06-03 Peter Kasting <pkasting@google.com> 2 12 -
trunk/LayoutTests/platform/mac-tiger/Skipped
r60573 r60652 176 176 webarchive/test-link-rel-icon.html 177 177 178 # Python 2.5 is required to run websocket tests179 websocket/tests180 181 178 # IndexedDB is not yet enabled. 182 179 storage/indexeddb -
trunk/WebKitTools/ChangeLog
r60635 r60652 1 2010-06-03 Fumitoshi Ukai <ukai@chromium.org> 2 3 Reviewed by Alexey Proskuryakov. 4 5 old-run-webkit-tests should use ensure-valid-python to check if it can run the websockets tests 6 https://bugs.webkit.org/show_bug.cgi?id=39058 7 8 * Scripts/ensure-valid-python: 9 - Perl 5.8 doesn't have File::Temp->newdir(). Use File::Temp->tempdir() instead. 10 - Add --check-only and --help option. 11 - --check-only option only checks python version and don't try to install Python 2.5. 12 - Set executable bit. 13 * Scripts/old-run-webkit-tests: 14 - Check if it can run the websocket tests by calling ensure-valid-python --check-only. 15 1 16 2010-05-14 Ojan Vafai <ojan@chromium.org> 2 17 -
trunk/WebKitTools/Scripts/ensure-valid-python
-
Property
svn:executable
set to
*
r59538 r60652 32 32 use File::Temp qw(tempdir); 33 33 use FindBin; 34 use Getopt::Long; 34 35 35 36 use lib $FindBin::Bin; … … 42 43 43 44 # We could use a consistent download location, like the source or build directory. 44 my $tempDirectory = File::Temp-> newdir();45 my $tempDirectory = File::Temp->tempdir("WebKitPythonXXXX"); 45 46 my $downloadDirectory = $tempDirectory; 46 47 my $mountPoint = File::Spec->join($tempDirectory, "mount"); … … 118 119 sub main() 119 120 { 121 my $checkOnly = 0; 122 my $showHelp = 0; 123 my $getOptionsResult = GetOptions( 124 'check-only!' => \$checkOnly, 125 'help|h' => \$showHelp, 126 ); 127 if (!$getOptionsResult || $showHelp) { 128 print STDERR <<HELP; 129 Usage: $0 [options] 130 --check-only Check python version only. 131 -h|--help Show this help message. 132 HELP 133 return 1; 134 } 120 135 # Congrats, your Python is fine. 121 136 return 0 if checkPythonVersion(); 122 137 138 return 1 if $checkOnly; 139 123 140 if (!isTiger()) { 124 print "Your Python version is insuf icient to run WebKit's Python code. Please update.\n";141 print "Your Python version is insufficient to run WebKit's Python code. Please update.\n"; 125 142 print "See http://trac.webkit.org/wiki/PythonGuidelines for more info.\n"; 126 143 return 1; -
Property
svn:executable
set to
-
trunk/WebKitTools/Scripts/old-run-webkit-tests
r60586 r60652 77 77 sub buildPlatformResultHierarchy(); 78 78 sub buildPlatformTestHierarchy(@); 79 sub checkPythonVersion(); 79 80 sub closeCygpaths(); 80 81 sub closeDumpTool(); … … 150 151 my $stripEditingCallbacks = isCygwin(); 151 152 my $testHTTP = 1; 153 my $testWebSocket = 1; 152 154 my $testMedia = 1; 153 155 my $tmpDir = "/tmp"; … … 223 225 print "WARNING: Your platform is not recognized. Any platform-specific results will be generated in platform/undefined.\n"; 224 226 $platform = "undefined"; 227 } 228 229 if (!checkPythonVersion()) { 230 print "WARNING: Your platform does not have Python 2.5+, which is required to run websocket server, so disabling websocket/tests.\n"; 231 $testWebSocket = 0; 225 232 } 226 233 … … 458 465 $ignoredDirectories{'websocket'} = 1; 459 466 } 467 if (!$testWebSocket) { 468 $ignoredDirectories{'websocket'} = 1; 469 } 460 470 461 471 if (!$testMedia) { … … 1427 1437 } 1428 1438 1439 sub checkPythonVersion() 1440 { 1441 system "WebKitTools/Scripts/ensure-valid-python", "--check-only"; 1442 return exitStatus($?) == 0; 1443 } 1444 1429 1445 sub openWebSocketServerIfNeeded() 1430 1446 {
Note: See TracChangeset
for help on using the changeset viewer.