mbox series

[OpenWrt-Devel,libubox,0/4] more tests and fixes

Message ID 20200112225515.11654-1-ynezz@true.cz
Headers show
Series more tests and fixes | expand

Message

Petr Štetiar Jan. 12, 2020, 10:55 p.m. UTC
Hi,

this patch series increases unit test coverage and fixes int16/int64 JSON
serialization.

Dainis Jonitis (1):
  blobmsg: blobmsg_add_json_element() 64-bit values

Petr Štetiar (3):
  tests: include json script shunit2 based testing
  tests: blobmsg/json: add more test cases
  blobmsg_json: fix int16 serialization

 blobmsg_json.c                |   12 +-
 tests/CMakeLists.txt          |    1 +
 tests/cram/test_blobmsg.t     |  255 +++++++-
 tests/shunit2/CMakeLists.txt  |    7 +
 tests/shunit2/shunit2/shunit2 | 1040 +++++++++++++++++++++++++++++++++
 tests/shunit2/tests.sh        |  287 +++++++++
 tests/test-blobmsg.c          |   47 +-
 7 files changed, 1619 insertions(+), 30 deletions(-)
 create mode 100644 tests/shunit2/CMakeLists.txt
 create mode 100644 tests/shunit2/shunit2/shunit2
 create mode 100755 tests/shunit2/tests.sh