utests: fix two utest bugs.
authorZhigang Gong <zhigang.gong@intel.com>
Tue, 2 Sep 2014 02:34:33 +0000 (10:34 +0800)
committerZhigang Gong <zhigang.gong@intel.com>
Tue, 2 Sep 2014 04:42:51 +0000 (12:42 +0800)
commit8e1c54f415af9d7c09bd240dbdf4a49cbb5b2727
treeb3b56be362d9c129134f781280c27d87980c1ca8
parent5b60b8c98afb1fb0da9aee8284edeb05623182b6
utests: fix two utest bugs.

Similar as the bug found by junyan, some events are
accessed before assigned.

Signed-off-by: Zhigang Gong <zhigang.gong@intel.com>
Reviewed-by: He Junyan <junyan.he@inbox.com>
utests/runtime_event.cpp
utests/runtime_marker_list.cpp