From bb269eed0e447a2f973677246959b403d480ed63 Mon Sep 17 00:00:00 2001 From: Filipe Brandenburger Date: Wed, 28 Oct 2015 08:14:50 -0700 Subject: test-parse-util: Move parse-util tests into their own test case Tests for the functions defined in src/basic/parse-util.c. Reorder them to match the order in which the functions are defined in the source file. Adjusted the list of include files to remove the ones no longer needed in test-util.c. Tested that `make check` still passes as expected. Also checked the number of lines removed from test-util.c matches the expected, as an additional verification that no tests were dropped or duplicated in the move. --- Makefile.am | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index fa1c2eaec8..00b9e86346 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1448,6 +1448,7 @@ tests += \ test-ellipsize \ test-util \ test-extract-word \ + test-parse-util \ test-user-util \ test-hostname-util \ test-process-util \ @@ -1739,6 +1740,12 @@ test_extract_word_SOURCES = \ test_extract_word_LDADD = \ libshared.la +test_parse_util_SOURCES = \ + src/test/test-parse-util.c + +test_parse_util_LDADD = \ + libshared.la + test_user_util_SOURCES = \ src/test/test-user-util.c -- cgit v1.2.3-54-g00ecf