sua file cmakelists
This commit is contained in:
@@ -565,10 +565,12 @@ TEST(Duration, sleepWithSignal)
|
||||
#endif
|
||||
|
||||
Time start = Time::now();
|
||||
Duration d(5.0);
|
||||
std::cout << "start: " << start << std::endl;
|
||||
Duration d(10.0);
|
||||
bool rc = d.sleep();
|
||||
// std::cout << "rc: " << rc << std::endl;
|
||||
// std::cout << "start: " << start << std::endl;
|
||||
Time end = Time::now();
|
||||
std::cout << "end: " << end << std::endl;
|
||||
|
||||
ASSERT_GT(end - start, d);
|
||||
ASSERT_TRUE(rc);
|
||||
|
||||
Reference in New Issue
Block a user