Move thread error testcases to new ztest. Signed-off-by: NingX Zhao <ningx.zhao@intel.com>
Add some error condition of testcases to verify whether the robustness of API. Such as give a NULL to some API and check the response if get result that we were expacted. Signed-off-by: Jian Kang <jianx.kang@intel.com>