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

Petr Štetiar ynezz at true.cz
Sun Jan 12 17:55:11 EST 2020


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


_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list