mirror of
https://github.com/json-c/json-c.git
synced 2026-04-02 11:59:07 +08:00
Issue #189: Eliminate use of MC_ERROR from json_util.c, and add a json_util_get_last_err() function to retrieve the error for those callers that care about it.
Add tests and descriptions for the functions in json_util.c
This commit is contained in:
@@ -4,6 +4,7 @@ LDADD= $(LIBJSON_LA)
|
||||
LIBJSON_LA=$(top_builddir)/libjson-c.la
|
||||
|
||||
TESTS=
|
||||
TESTS+= test_util_file.test
|
||||
TESTS+= test1.test
|
||||
TESTS+= test2.test
|
||||
TESTS+= test4.test
|
||||
@@ -32,6 +33,8 @@ check_PROGRAMS += test2Formatted
|
||||
test2Formatted_SOURCES = test2.c parse_flags.c
|
||||
test2Formatted_CPPFLAGS = -DTEST_FORMATTED
|
||||
|
||||
test_util_file_SOURCES = test_util_file.c strerror_override.c
|
||||
|
||||
EXTRA_DIST=
|
||||
EXTRA_DIST += $(TESTS)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user