2013-06-06 20:56:05 +02:00
|
|
|
o Build features:
|
|
|
|
|
|
|
|
- Tor now builds each source file in two modes: a mode that avoids
|
|
|
|
exposing identifiers needlessly, and another mode that exposes
|
|
|
|
more identifiers for testing. This lets the compiler do better at
|
|
|
|
optimizing the production code, while enabling us to take more
|
|
|
|
radical measures to let the unit tests test things.
|
|
|
|
|
2013-06-06 23:58:28 +02:00
|
|
|
- The production builds no longer include functions used only
|
|
|
|
in the unit tests; all functions exposed from a module for
|
|
|
|
unit-testing only are now static in production builds.
|
2013-06-06 20:56:05 +02:00
|
|
|
|
2013-07-09 18:37:11 +02:00
|
|
|
- Add an --enable-coverage configuration option to make the unit
|
|
|
|
tests (and a new src/or/tor-cov target) to build with gcov test
|
|
|
|
coverage support.
|
|
|
|
|
2013-07-10 21:03:01 +02:00
|
|
|
o Testing:
|
|
|
|
|
|
|
|
- We now have rudimentary function mocking support that our unit
|
|
|
|
tests can use to test functions in isolation. Function mocking
|
|
|
|
lets the tests temporarily replace a function's dependencies with
|
|
|
|
stub functions, so that the tests can check the function without
|
|
|
|
invoking the other functions it calls.
|
|
|
|
|
2013-07-10 21:07:32 +02:00
|
|
|
- Add more unit tests for the <circid,channel>->circuit map, and
|
|
|
|
the destroy-cell-tracking code to fix bug 7912.
|
2013-07-10 21:03:01 +02:00
|
|
|
|