1. 21 Aug, 2018 3 commits
  2. 17 Jul, 2018 2 commits
  3. 16 Jul, 2018 1 commit
  4. 11 Jul, 2018 1 commit
  5. 05 Jul, 2018 1 commit
  6. 01 Jul, 2018 1 commit
  7. 27 Jun, 2018 2 commits
  8. 21 Jun, 2018 4 commits
  9. 20 Jun, 2018 2 commits
    • Nick Mathewson's avatar
      Add a leak suppression for backtrace_alloc · d110f9c9
      Nick Mathewson authored
      This appears to be an internal rust thing: I don't know why it's
      leaking.  We should investigate further.
      d110f9c9
    • Nick Mathewson's avatar
      Simplify AM_CPPFLAGS include setup · 257b2807
      Nick Mathewson authored
      We had accumulated a bunch of cruft here.  Now let's only include
      src and src/ext.  (exception: src/trunnel is autogenerated code, and
      need to include src/trunnel.)
      
      This commit will break the build hard.  The next commit will fix it.
      257b2807
  10. 19 Jun, 2018 1 commit
    • Nick Mathewson's avatar
      Use a rust build script to set linker options correctly for tests. · bd9ebb37
      Nick Mathewson authored
      We need this trick because some of our Rust tests depend on our C
      code, which in turn depend on other native libraries, which thereby
      pulls a whole mess of our build system into "cargo test".
      
      To solve this, we add a build script (build.rs) to set most of the
      options that we want based on the contents of config.rust.  Some
      options can't be set, and need to go to the linker directly: we use
      a linker replacement (link_rust.sh) for these.  Both config.rust and
      link_rust.sh are generated by autoconf for us.
      
      This patch on its own should enough to make the crypto test build,
      but not necessarily enough to make it pass.
      bd9ebb37
  11. 18 Jun, 2018 2 commits
  12. 13 Jun, 2018 1 commit
  13. 02 Jun, 2018 1 commit
  14. 07 May, 2018 1 commit
    • Nick Mathewson's avatar
      Add unit test for ..get_start_of_next_voting_interval(). · d14c245a
      Nick Mathewson authored
      This functionality was covered only accidentally by our voting-test
      code, and as such wasn't actually tested at all.  The tests that
      called it made its coverage nondeterministic, depending on what time
      of day you ran the tests.
      
      Closes ticket 26014.
      d14c245a
  15. 03 May, 2018 1 commit
  16. 26 Apr, 2018 1 commit
  17. 23 Apr, 2018 1 commit
  18. 13 Apr, 2018 1 commit
    • Nick Mathewson's avatar
      Add a new token-bucket backend abstraction, with tests · c376200f
      Nick Mathewson authored
      This differs from our previous token bucket abstraction in a few
      ways:
      
        1) It is an abstraction, and not a collection of fields.
        2) It is meant to be used with monotonic timestamps, which should
           produce better results than calling gettimeofday over and over.
      c376200f
  19. 09 Apr, 2018 1 commit
  20. 24 Mar, 2018 1 commit
    • Nick Mathewson's avatar
      Basic unit tests for relay_crypto.c · 7db4d0c5
      Nick Mathewson authored
      These tests handle incoming and outgoing cells on a three-hop
      circuit, and make sure that the crypto works end-to-end.  They don't
      yet test spec conformance, leaky-pipe, or various error cases.
      7db4d0c5
  21. 23 Mar, 2018 1 commit
  22. 15 Mar, 2018 1 commit
  23. 08 Feb, 2018 2 commits
  24. 30 Jan, 2018 1 commit
  25. 07 Dec, 2017 1 commit
    • Mike Perry's avatar
      Add tests for circuitstats.c · 050bb679
      Mike Perry authored
      These tests primarily test the relaxed and measured behavior of
      circuitstats.c, to make sure we did not break it with #23100 or #23114.
      050bb679
  26. 06 Dec, 2017 1 commit
  27. 02 Nov, 2017 2 commits
  28. 27 Oct, 2017 1 commit
  29. 24 Oct, 2017 1 commit