fancy_testing 554 B

123456789101112
  1. o Build features:
  2. - Tor now builds each source file in two modes: a mode that avoids
  3. exposing identifiers needlessly, and another mode that exposes
  4. more identifiers for testing. This lets the compiler do better at
  5. optimizing the production code, while enabling us to take more
  6. radical measures to let the unit tests test things.
  7. - The production builds no longer include functions used only
  8. in the unit tests; all functions exposed from a module for
  9. unit-testing only are now static in production builds.