[fix] enhance strength about cpp testcase.
This commit is contained in:
parent
9f5a9b6bc8
commit
75a55f2028
|
@ -31,6 +31,14 @@ static void test_thread(void)
|
|||
uassert_false(1);
|
||||
}
|
||||
|
||||
std::thread t2(func);
|
||||
t2.join();
|
||||
|
||||
if (count != 200)
|
||||
{
|
||||
uassert_false(1);
|
||||
}
|
||||
|
||||
uassert_true(1);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue