X-Git-Url: https://git.webkit.org/?p=WebKit-https.git;a=blobdiff_plain;f=WebKitTools%2FScripts%2Frun-webkit-tests;h=bbccd120fa3ddd52f95b53812264b64d2ca0da25;hp=1d624053adb3945a282da55b4e1a3dda7ebd4f30;hb=96184177e109514dc83c573833d4878ad1bc60d5;hpb=c6d24899cc0d843eebf485fc124906dbe4a898aa diff --git a/WebKitTools/Scripts/run-webkit-tests b/WebKitTools/Scripts/run-webkit-tests index 1d624053adb3..bbccd120fa3d 100755 --- a/WebKitTools/Scripts/run-webkit-tests +++ b/WebKitTools/Scripts/run-webkit-tests @@ -3,6 +3,7 @@ # Copyright (C) 2005, 2006, 2007 Apple Inc. All rights reserved. # Copyright (C) 2006 Alexey Proskuryakov (ap@nypop.com) # Copyright (C) 2007 Matt Lilek (pewtermoose@gmail.com) +# Copyright (C) 2007 Eric Seidel # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions @@ -249,23 +250,13 @@ $productDir .= "/bin" if (isQt()); chdirWebKit(); if(!defined($root)){ - my $buildResult; - if (isCygwin()) { - $buildResult = buildVisualStudioProject("WebKitTools/DumpRenderTree/DumpRenderTree.sln"); - } else { - # Push the parameters to build-dumprendertree as an array - my @args; - push(@args, $configuration); - - if (isQt()) { - push(@args, "--qt"); - } elsif (isGtk()) { - push(@args, "--gtk"); - } - - $buildResult = system "WebKitTools/Scripts/build-dumprendertree", @args; - } + # Push the parameters to build-dumprendertree as an array + my @args; + push(@args, "--" . $configuration); + push(@args, "--qt") if isQt(); + push(@args, "--gtk") if isGtk(); + my $buildResult = system "WebKitTools/Scripts/build-dumprendertree", @args; if ($buildResult) { print STDERR "Compiling DumpRenderTree failed!\n"; exit WEXITSTATUS($buildResult);