Changeset 34342 in webkit


Ignore:
Timestamp:
Jun 3, 2008 8:56:01 AM (16 years ago)
Author:
ap@webkit.org
Message:

Rubber-stamped by Mark Rowe.

Roll out r31215 - with Mac OS X 10.5.3, there is no need to pause update daemon any more.

  • sunspider:
Location:
trunk/SunSpider
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/SunSpider/ChangeLog

    r33979 r34342  
     12008-06-03  Alexey Proskuryakov  <ap@webkit.org>
     2
     3        Rubber-stamped by Mark Rowe.
     4
     5        Roll out r31215 - with Mac OS X 10.5.3, there is no need to pause update daemon any more.
     6
     7        * sunspider:
     8
    192008-04-15  Maciej Stachowiak  <mjs@apple.com>
    210
  • trunk/SunSpider/sunspider

    r33979 r34342  
    182182}
    183183
    184 sub isDarwin()
    185 {
    186     return ($^O eq "darwin");
    187 }
    188 
    189 my $updateSuspended = 0;
    190 
    191 sub suspendUpdate()
    192 {
    193     print "Suspending update daemon...\n";
    194     $SIG{INT} = sub { resumeUpdate(); exit; };
    195     $updateSuspended = !(system "sudo -p 'Please provide your password for sudo: ' killall -STOP update");
    196     if (!$updateSuspended) {
    197         print "Could not suspend update.\n";
    198     }
    199 }
    200 
    201 sub resumeUpdate()
    202 {
    203     if ($updateSuspended) {
    204         print "Resuming update daemon...\n";
    205         system "sudo killall -CONT update";
    206     }
    207     $SIG{INT} = 'DEFAULT';
    208 }
    209 
    210 
    211184loadTestsList();
    212185if ($testsPattern) {
     
    216189}
    217190die "No tests to run"  unless scalar(@tests);
    218 
    219 suspendUpdate() if isDarwin(); # workaround for <rdar://problem/5811127>
    220 
    221191print STDERR "Running SunSpider once for warmup, then " . ($runShark ? "under Shark" : "$testRuns time" . ($testRuns == 1 ? "" : "s")) . "\n";
    222192writePrefixFile();
     
    240210print "]\n";
    241211
    242 resumeUpdate() if isDarwin(); # workaround for <rdar://problem/5811127>
    243 
    244212my $output = "var output = [\n" . join(",\n", @results) . "\n];\n";
    245213dumpToFile($output, $resultsFile);
Note: See TracChangeset for help on using the changeset viewer.