Changes between Version 20 and Version 21 of WebKitGtkLayoutTests


Ignore:
Timestamp:
Dec 3, 2011 2:29:05 AM (12 years ago)
Author:
kov@webkit.org
Comment:

Document new jhbuild stuff

Legend:

Unmodified
Added
Removed
Modified
  • WebKitGtkLayoutTests

    v20 v21  
    33== Dependencies ==
    44
    5 '''ATENTION:''' we are currently with work underway to automate dependency instalation, so that we can more easily guarantee a standardized test environment, so that tests always pass regardless of the versions of fonts and libraries you have on your system, please bear with us
    6 
    7 What do you need to do right now: make sure jhbuild is installed on your $PATH, then run ./Tools/Scripts/update-webkitgtk-libs, after that you can safely use build-webkit and run-webkit-tests
    8 
    9 What we are currently working on: every call to jhbuild will be done to a wrapper script that will clone and install jhbuild to a directory inside WebKit's build directory automatically if it isn't there, and then install the dependencies using it
    10 
    11 You will need to install the following Debian packages to run the layout tests. For other distributions, you must install the equivalent packages.
     5You will need to install the following Debian packages to build WebKitGTK+ and run the layout tests. For other distributions, you must install the equivalent packages.
    126{{{
    137sudo apt-get install curl \
     
    1610                     libapache2-mod-php5 \
    1711                     libapache2-mod-bw \
    18                      ttf-liberation \
    19                      otf-stix \
     12                     libgpg-error-dev \
    2013                     libgstreamer-plugins-base0.10-0 \
    2114                     gstreamer0.10-plugins-base \
     
    2821GStreamer -core and -plugins-base >= 0.10.30 is required.
    2922
    30 Currently the tests require specific versions of some packages (this is for Debian):
    31 {{{
    32 apt-get install xfonts-100dpi=1:1.0.1 xfonts-75dpi=1:1.0.1  xfonts-base=1:1.0.1 xfonts-encodings=1:1.0.3-1 xfonts-scalable=1:1.0.1-1
    33 apt-get install ttf-dejavu-core=2.31-1 ttf-dejavu-extra=2.31-1 ttf-lyx=1.6.7-1
    34 apt-get install libfreetype6=2.4.2-2.1 libfreetype6-dev=2.4.2-2.1
    35 }}}
    36 
     23To make it easier to run the test and have coherent results we built jhbuild into our build process and test running script. The scripts will automatically fetch jhbuild from git, install it to a private location and use it to install some dependencies. Those are mostly dependencies on very recent versions of packages that can't be easily found in distributions or packages for which we require very specific versions. This very specific requirement is the only way to make sure that layouts and rendering are the same as in the buildbots, so you can get tests passing locally.
    3724
    3825== Running the Tests ==