cjson: Add ptest

cjson use pure CMake test framework named CTest.
CMake generate CTestTestfile.cmake containing fully defined path.
This path need to be altered on install step to match the ptest directory.

The json_patch_tests doesn't works because of file access and is skip.

Signed-off-by: David Pierret <david.pierret@smile.fr>
Reviewed-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
David Pierret
2023-10-16 14:37:25 +02:00
committed by Khem Raj
parent 35bcd8c6dd
commit 4079e92284
3 changed files with 31 additions and 2 deletions
@@ -36,6 +36,7 @@ PTESTS_FAST_META_OE = "\
uthash \
xmlsec1 \
zeromq \
cjson \
"
PTESTS_FAST_META_OE:append:x86 = " mcelog"
PTESTS_FAST_META_OE:append:x86-64 = " mcelog"