utests: refine the helper macros.
authorZhigang Gong <zhigang.gong@linux.intel.com>
Thu, 11 Apr 2013 07:08:59 +0000 (15:08 +0800)
committerZhigang Gong <zhigang.gong@linux.intel.com>
Fri, 12 Apr 2013 06:13:48 +0000 (14:13 +0800)
commite6b503e2b902f939c506ad8a7d6e5b1058c1ff6c
treeb594bd8387ae4a5c09a323895ab6dfd775d58014
parent393090a4762114748d4206475354393b00053f8c
utests: refine the helper macros.

The previous implementation has many duplicate code, and the FN
is used incorrectly. Now fix it and the code looks a little bit
clean and when it fails the reported function name should be
correct now.

Signed-off-by: Zhigang Gong <zhigang.gong@linux.intel.com>
Reviewed-by: Lu Guanqun <guanqun.lu@intel.com>
utests/utest_helper.hpp