diff options
author | George Kadianakis <desnacked@riseup.net> | 2015-01-29 15:09:53 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2015-02-18 09:09:34 -0500 |
commit | c2b13e22e7c03f6e318b516ae1faf76f8ba30e83 (patch) | |
tree | 283bb57a22e7d7da3bd21432e78cec9fceae36ea /src/test/include.am | |
parent | b941f109ac037b270da6f07ffb4947ee237e468a (diff) | |
download | tor-c2b13e22e7c03f6e318b516ae1faf76f8ba30e83.tar.gz tor-c2b13e22e7c03f6e318b516ae1faf76f8ba30e83.zip |
Unittest prep: Move get_yesterday_date_str() to helper file.
We want to use this function in our guardfraction unittests, so make a
test_helpers module and move it there.
Diffstat (limited to 'src/test/include.am')
-rw-r--r-- | src/test/include.am | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/include.am b/src/test/include.am index 595be0b7c2..a41b2210bf 100644 --- a/src/test/include.am +++ b/src/test/include.am @@ -61,6 +61,7 @@ src_test_test_SOURCES = \ src/test/test_status.c \ src/test/test_threads.c \ src/test/test_util.c \ + src/test/test_helpers.c \ src/test/testing_common.c \ src/ext/tinytest.c @@ -119,6 +120,7 @@ src_test_test_workqueue_LDADD = src/or/libtor-testing.a \ noinst_HEADERS+= \ src/test/fakechans.h \ src/test/test.h \ + src/test/test_helpers.h \ src/test/test_descriptors.inc \ src/test/example_extrainfo.inc \ src/test/failing_routerdescs.inc \ |