tests: Restructure test 89/298589/2
authorYoungjae Cho <y0.cho@samsung.com>
Thu, 7 Sep 2023 08:03:56 +0000 (17:03 +0900)
committerYoungjae Cho <y0.cho@samsung.com>
Mon, 16 Oct 2023 07:43:37 +0000 (16:43 +0900)
commit74af1d5bd188e484309021792b27522f32c30f8c
treed4d899bc337ba9601583ebe43304e92231d83b0f
parent69d24886f3cb4e904ba93618f260807013f8f677
tests: Restructure test

Instead of building testsuite into a shared object and the main()
dlopens it, the macro
 * #define TESTSUITE()
has been introduced for testsuite. It runs the testsuite and report
to the main() how many testcases have failed.

Change-Id: I6a9330601b96f7795442a85631dc666a97fe6d47
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
tests/CMakeLists.txt
tests/libcommon/CMakeLists.txt [deleted file]
tests/libcommon/test-common.c
tests/test-main.c
tests/test-main.h
tests/test-mock.c