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.
This commit is contained in:
George Kadianakis
2015-01-29 15:09:53 +00:00
committed by Nick Mathewson
parent b941f109ac
commit c2b13e22e7
4 changed files with 39 additions and 13 deletions
+2
View File
@@ -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 \