diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-12-03 13:22:23 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-12-03 13:22:23 -0500 |
commit | 92af8e511394685f7a39224ec1f73ce79fcf2c42 (patch) | |
tree | d593804f2f558a9d01c8c6e687b6c0a7162b4b10 /src/test/include.am | |
parent | 417a324a8577b0c61185c9d06eb72fbc483d984b (diff) | |
download | tor-92af8e511394685f7a39224ec1f73ce79fcf2c42.tar.gz tor-92af8e511394685f7a39224ec1f73ce79fcf2c42.zip |
Add a framework for testing set_routerstatus_from_routerinfo().
Additionally, use it to test that is_staledesc is set correctly.
Eventually we'll want to test all the other flags, but I'm aiming
for only adding coverage on the changed code here.
Diffstat (limited to 'src/test/include.am')
-rw-r--r-- | src/test/include.am | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/include.am b/src/test/include.am index e5eae56e25..d0f71fa666 100644 --- a/src/test/include.am +++ b/src/test/include.am @@ -177,6 +177,7 @@ src_test_test_SOURCES += \ src/test/test_util.c \ src/test/test_util_format.c \ src/test/test_util_process.c \ + src/test/test_voting_flags.c \ src/test/test_voting_schedule.c \ src/test/test_x509.c \ src/test/test_helpers.c \ |