From 6b9f404c8772b031e6370b9661aa75117ffcb10e Mon Sep 17 00:00:00 2001 From: James Booth Date: Thu, 25 Dec 2014 00:10:36 +0000 Subject: [PATCH] Added common tests --- Makefile.am | 1 + tests/testsuite.c | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index c78ef1ec..51661236 100644 --- a/Makefile.am +++ b/Makefile.am @@ -77,6 +77,7 @@ tests_sources = \ tests/test_cmd_statuses.c tests/test_cmd_statuses.h \ tests/test_cmd_sub.c tests/test_cmd_sub.h \ tests/test_cmd_win.c tests/test_cmd_win.h \ + tests/test_common.c tests/test_common.h \ tests/test_autocomplete.c tests/test_autocomplete.h \ tests/testsuite.c diff --git a/tests/testsuite.c b/tests/testsuite.c index 77b4e1c8..26b4c7ec 100644 --- a/tests/testsuite.c +++ b/tests/testsuite.c @@ -35,7 +35,6 @@ int main(int argc, char* argv[]) { const UnitTest all_tests[] = { -/* unit_test(replace_one_substr), unit_test(replace_one_substr_beginning), unit_test(replace_one_substr_end), @@ -83,7 +82,7 @@ int main(int argc, char* argv[]) { unit_test(test_p_sha1_hash5), unit_test(test_p_sha1_hash6), unit_test(test_p_sha1_hash7), -*/ + unit_test(clear_empty), unit_test(reset_after_create), unit_test(find_after_create),