Eric Haszlakiewicz
49c3721a5a
Unset NDEBUG so assert() is enabled in all tests. One more fix there when building with -DCMAKE_BUILD_TYPE=release.
2022-05-30 15:39:54 +00:00
dota17
8b162c4b89
clang-format the files
2020-04-03 11:39:30 +08:00
Darjan Krijan
7a9075c16b
Added test cases for spaced pretty and pretty_tab used together
2018-12-07 17:30:15 +01:00
Eric Haszlakiewicz
e424af32b7
Fix definition of NELEM in the tests.
2017-10-22 22:28:35 -04:00
Eric Haszlakiewicz
ca8b27d183
Enable -Werror and fix a number of minor warnings that existed.
2013-02-09 16:35:24 -06:00
Mateusz Loskot
271c53ebdd
Missing explicit casts from void* to specific pointers required. Added #define strcasecmp for Visual C++.
2012-05-22 23:51:44 +01:00
Eric Haszlakiewicz
4c7f38eb9b
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).
2012-04-28 14:14:26 -05:00