fix unit tests: do not stub pthread_cond_wait

and fix the tests instead.
Some unit tests depend on pthread_cond_wait to work as expected.
This commit is contained in:
Beat Küng
2020-06-23 08:51:32 +02:00
committed by Daniel Agar
parent 283453b3a5
commit 55d06241b3
6 changed files with 3 additions and 20 deletions
@@ -49,6 +49,7 @@ public:
void SetUp() override
{
param_control_autosave(false);
param_reset_all();
pos_sp = Vector3f(1.f, 1.2f, 0.1f);
vel_sp = Vector3f(0.3f, 0.4f, 0.1f);
@@ -42,6 +42,7 @@ class CollisionPreventionTest : public ::testing::Test
public:
void SetUp() override
{
param_control_autosave(false);
param_reset_all();
}
};
+1
View File
@@ -43,6 +43,7 @@ class ParameterTest : public ::testing::Test
public:
void SetUp() override
{
param_control_autosave(false);
param_reset_all();
}
};