mirror of
https://github.com/json-c/json-c.git
synced 2026-03-30 02:19:06 +08:00
Extend test1 and test2 to run using json_object_to_json_string_ext() based on an additional command line parameter.
Extend the run_output_test() function so we actually can pass command line parameters and so we can support different output files for the same test executable. Also provide some hints about what to do if a test fails (i.e. set VERBOSE=1).
This commit is contained in:
4
tests/parse_flags.h
Normal file
4
tests/parse_flags.h
Normal file
@@ -0,0 +1,4 @@
|
||||
#ifndef __parse_flags_h
|
||||
#define __parse_flags_h
|
||||
int parse_flags(int argc, char **argv);
|
||||
#endif
|
||||
Reference in New Issue
Block a user