add cram based unit tests
authorPetr Štetiar <ynezz@true.cz>
Tue, 19 Nov 2019 13:31:44 +0000 (14:31 +0100)
committerPetr Štetiar <ynezz@true.cz>
Sun, 24 Nov 2019 12:26:58 +0000 (13:26 +0100)
commitb0a5cd8a28bf1d1883317ceac6cb8967d840d6ae
tree8600f4d551a16671af14f1d086014b111316ea10
parent1fefb7c4d7f90464940143c93e1b98f44ecf6590
add cram based unit tests

For improved QA etc. For the start with initial test cases for avl,
base64, jshn and list components. Moved runqueue and blobmsg from
examples to tests.  Converted just a few first test cases from
json-script example into the new cram based unit test, more to come.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
21 files changed:
.gitlab-ci.yml
CMakeLists.txt
examples/CMakeLists.txt
examples/blobmsg-example.c [deleted file]
examples/runqueue-example.c [deleted file]
tests/CMakeLists.txt [new file with mode: 0644]
tests/cram/CMakeLists.txt [new file with mode: 0644]
tests/cram/inputs/json-script.json [new file with mode: 0644]
tests/cram/test_avl.t [new file with mode: 0644]
tests/cram/test_base64.t [new file with mode: 0644]
tests/cram/test_blobmsg.t [new file with mode: 0644]
tests/cram/test_jshn.t [new file with mode: 0644]
tests/cram/test_json_script.t [new file with mode: 0644]
tests/cram/test_list.t [new file with mode: 0644]
tests/cram/test_runqueue.t [new file with mode: 0644]
tests/test-avl.c [new file with mode: 0644]
tests/test-b64.c [new file with mode: 0644]
tests/test-blobmsg.c [new file with mode: 0644]
tests/test-json-script.c [new file with mode: 0644]
tests/test-list.c [new file with mode: 0644]
tests/test-runqueue.c [new file with mode: 0644]