mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-03-04 08:15:29 +08:00
[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…
x
Reference in New Issue
Block a user