Added tests for bio_reader_t

This commit is contained in:
Tobias Brunner
2013-06-11 11:03:13 +02:00
parent 01e15ab5c7
commit b4029a4aae
4 changed files with 464 additions and 3 deletions
+3 -1
View File
@@ -24,7 +24,8 @@ int main()
SRunner *sr;
int nf;
/* if a test fails there is no cleanup, so disable leak detective */
/* test cases are forked and there is no cleanup, so disable leak detective.
* can be enabled for individual tests with leak_detective_t.set_state */
setenv("LEAK_DETECTIVE_DISABLE", "1", 1);
/* redirect all output to stderr (to redirect make's stdout to /dev/null) */
dup2(2, 1);
@@ -32,6 +33,7 @@ int main()
library_init(NULL);
sr = srunner_create(NULL);
srunner_add_suite(sr, bio_reader_suite_create());
srunner_add_suite(sr, chunk_suite_create());
srunner_add_suite(sr, enum_suite_create());
srunner_add_suite(sr, enumerator_suite_create());