Dear all
I have another problem need your help.
In my test case, I should use multi-thread in a test case. In the thread function, I used CppUnit ASSERT to judge the return value of the function to be tested. But the process is killed sometimes.
The output in the screen is :
"terminate called after throwing an instance of 'CppUnit::Exception' what(): forced failure"
"Killed"
It is said that CppUnit supports multi-thread. Is there anything need to pay attention to or any difference when using CppUnit in multi-thread? Why my test process always be killed?
Wait for your response.
Thank you.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Dear all
I have another problem need your help.
In my test case, I should use multi-thread in a test case. In the thread function, I used CppUnit ASSERT to judge the return value of the function to be tested. But the process is killed sometimes.
The output in the screen is :
"terminate called after throwing an instance of 'CppUnit::Exception' what(): forced failure"
"Killed"
It is said that CppUnit supports multi-thread. Is there anything need to pay attention to or any difference when using CppUnit in multi-thread? Why my test process always be killed?
Wait for your response.
Thank you.