This is an old revision of the document!


Test Suite Build System

The CSS2.1 Test Suite's final format is generated from the XHTML 1.1 source files with a set of Python scripts. These can be found in the tools/ directory of the test suite repository.

Build Requirements

  • Python 2.6 or 2.7 (2.6 preferred for OS X 10.6, 2.7 preferred for OS X 10.7) (note ucs4 support is required, on OSX, use 'port install python26 +ucs4' or 'port install python27 +ucs4' to install)
  • The Template-Python module (Note that the SVN command on that page is incorrect; it should be svn co svn://svn.tt2.org/tt/Template-Python/trunk Template-Python)
  • A patched copy of the Python html5lib module
  • Perl 5
  • Mercurial (for building as well as cloning)
  • A full clone of the test repository

Build Instructions

  • To build all tests, run the tools/pub-css21.pl script from the root of your test repository checkout.
  • To build only approved tests, run the tools/build-css21.py script from the root of your test repository checkout.
  • In both cases, the built test suite will be in dist/.

Write Access

If you want to hack the w3ctestlib, you'll need to request write access from Peter Linss peter.linss@hp.com.

The w3ctestlib/ folder is a subrepo. To write to it, add to tools/w3ctestlib/.hg/hgrc the following:

[paths]
default-push = https://hg.csswg.org/dev/w3ctestlib

and make sure you commit and push first inside w3ctestlib (to update the subrepo), then above it in the test repository (to update the test repository's versioned link to the subrepo).

 
test/css2.1/harness.1372477666.txt.gz · Last modified: 2014/12/09 15:48 (external edit)
Recent changes RSS feed Valid XHTML 1.0 Valid CSS Driven by DokuWiki