[tor-bugs] #15994 [Quality Assurance and Testing]: Running Tor Browser unit tests as part of our gitian-based build process

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon May 11 17:42:06 UTC 2015


#15994: Running Tor Browser unit tests as part of our gitian-based build process
-----------------------------------------------+-------------------
     Reporter:  boklm                          |      Owner:  boklm
         Type:  task                           |     Status:  new
     Priority:  normal                         |  Milestone:
    Component:  Quality Assurance and Testing  |    Version:
   Resolution:                                 |   Keywords:
Actual Points:                                 |  Parent ID:
       Points:                                 |
-----------------------------------------------+-------------------

Comment (by boklm):

 The branch bug15994-v0.1 in my user repository contains a script to run
 the unit tests:
 https://gitweb.torproject.org/user/boklm/tor-browser-
 bundle.git/commit/?h=bug15994-v0.1

 This script:

 - starts an Xorg server with a dummy driver and a window manager
 - uses git to find the tests that Tor Browser commits add or modify
 - run all modified/added unit tests and save logs
 - stops the Xorg server

 What remains to be done:

 - remove --disable-tests from .mozconfig
 - add the packages used by the script and calls to the script in the linux
 gitian descriptor
 - add instructions to copy the tests logs archive to the build directory,
 and update gitian/hash-bundles.sh to not include them in sha256sums.txt
 - compare the build time with and without running the tests to see if
 that's acceptable

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/15994#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list