Run all timers in the main thread with epoll
This ditches 1+ threads in all use cases.
Change-Id: I8772a539c20cd10d80a57f3f53c48a3d8124461a
diff --git a/aos/events/event-loop_param_test.h b/aos/events/event-loop_param_test.h
index b5574ba..1d2060a 100644
--- a/aos/events/event-loop_param_test.h
+++ b/aos/events/event-loop_param_test.h
@@ -23,10 +23,10 @@
virtual void Run() = 0;
};
-class AbstractEventLoopTest
+class AbstractEventLoopTestBase
: public ::testing::TestWithParam<std::function<EventLoopTestFactory *()>> {
public:
- AbstractEventLoopTest() { factory_.reset(GetParam()()); }
+ AbstractEventLoopTestBase() { factory_.reset(GetParam()()); }
::std::unique_ptr<EventLoop> Make() { return factory_->Make(); }
::std::unique_ptr<EventLoop> MakePrimary() { return factory_->MakePrimary(); }
@@ -39,6 +39,9 @@
::std::unique_ptr<EventLoopTestFactory> factory_;
};
+typedef AbstractEventLoopTestBase AbstractEventLoopDeathTest;
+typedef AbstractEventLoopTestBase AbstractEventLoopTest;
+
} // namespace testing
} // namespace aos