tests: Restructure test 53/301653/1
authorYoungjae Cho <y0.cho@samsung.com>
Thu, 7 Sep 2023 08:03:56 +0000 (17:03 +0900)
committerYoungjae Cho <y0.cho@samsung.com>
Tue, 21 Nov 2023 07:47:01 +0000 (16:47 +0900)
commitbb88abd4d200256c01f0f99e2ee31a59b5a063a7
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