[webkit-dev] webkit test suite help

syed mehdi smmehadi at gmail.com
Wed Jan 16 21:36:28 PST 2008


I already tried executing "./WebKitTools/Scripts/run-webkit-tests --gtk" but
it gives usage info like:
root at tester-desktop:~/WebKit/html# WebKitTools/Scripts/run-webkit-tests
--gtk
Unknown option: gtk
Usage: run-webkit-tests [options] [testdir|testpath ...]
  -c|--configuration config       Set DumpRenderTree build configuration
  -g|--guard-malloc               Enable malloc guard
  --help                          Show this help message
  -h|--horizontal-sweep           Change repaint to sweep horizontally
instead of vertically (implies --repaint-tests)
  --[no-]http                     Run (or do not run) http tests (default:
run)
  -i|--ignore-tests               Comma-separated list of directories or
tests to ignore
  --[no-]launch-safari            Launch (or do not launch) Safari to
display test results (default: launch)
  -l|--leaks                      Enable leaks checking
  --[no-]new-test-results         Generate results for new tests
  -p|--pixel-tests                Enable pixel tests
  --platform                      Override the detected platform to use for
tests and results (default: gtk)
  --port                          Web server port to use with http tests
  -q|--quiet                      Less verbose output
  -r|--repaint-tests              Run repaint tests (implies --pixel-tests)
  --reset-results                 Reset ALL results (including pixel tests
if --pixel-tests is set)
  -o|--results-directory          Output results directory (default:
/tmp/layout-test-results)
  --root                          Path to root tools build
  -1|--singly                     Isolate each test case run (implies
--verbose)  --skipped=[default|ignore|only] Specifies how to treat the
Skipped file
                                     default: Tests/directories listed in
the Skipped file are not tested
                                     ignore:  The Skipped file is ignored
                                     only:    Only those tests/directories
listed in the Skipped file will be run
  --slowest                       Report the 10 slowest tests
  --strict                        Do a comparison with the output on Mac (Qt
only)
  --[no-]strip-editing-callbacks  Remove editing callbacks from expected
results  --svg                           Run only SVG tests (implies
--pixel-tests)
  -t|--threaded                   Run a concurrent JavaScript thead with
each test
  --valgrind                      Run DumpRenderTree inside valgrind
(Qt/Linux only)
  -v|--verbose                    More verbose output (overrides --quiet)
root at tester-desktop:~/WebKit/html#


i will check with the developement team for the revision related problem
that you have mentioned (like the script file doesn't have lots of your
changes in it).
Regards
Syed

On Jan 17, 2008 10:59 AM, Mark Rowe <mrowe at apple.com> wrote:

>
> On 17/01/2008, at 16:15, syed mehdi wrote:
>
> > first i am cd ing the directory where webkit is present, than i
> > execute WebKitTools/Scripts/run-webkit-tests on terminal.
> > i made a few changes in run-webkit-tests and made the default value
> > of $platform as "gtk", also where we are pushing the parameters to
> > build dumptree i made the default push as: push(@args, "--gtk");
>
> Why did you need to modify run-webkit-tests?  As mentioned in my reply
> to your initial email, you can run the tests for Gtk with:
>
> ./WebKitTools/Scripts/run-webkit-tests --gtk
>
> Simply setting $platform inside the run-webkit-tests script will not
> affect any code paths that check isGtk(), of which there are many in
> the scripts run-webkit-tests depends on.
>
> Also, the version of run-webkit-tests you provided does not look to be
> based on r29215 like you stated.  It contains code that was removed in
> r27197 and looks to omit many of my changes from r28748, which was the
> initial version of run-webkit-tests in which Gtk would pass any tests.
>
> - Mark
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.webkit.org/pipermail/webkit-dev/attachments/20080117/236b3491/attachment.html


More information about the webkit-dev mailing list