[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #15994 [Quality Assurance and Testing]: Running Tor Browser unit tests as part of our gitian-based build process
#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs