User:Standard8/Running RefTest

From MozillaWiki
Jump to: navigation, search

Note: assume packages are OS dependent.

  • On a build with --enable-tests (or at least not --disable-tests) run
 make package-tests
  • Package found in objdir/mozilla/dist. Unpackage in convenient directory.
  • Check reftest/reftest/install.rdf has the correct gecko versions for the app you're running.
  • In test directory run
 python reftest/runreftest.py --appname=/full/path/to/thunderbird reftest/tests/layout/reftests/reftest.list
  • Wait.
  • For crash tests run
 python reftest/runreftest.py --appname=/full/patch/to/thunderbird reftest/tests/testing/crashtest/crashtests.list