ADD cpplint args in action file
This commit is contained in:
@ -24,16 +24,15 @@
|
||||
|
||||
#include <chrono>
|
||||
|
||||
#include "static_scheduling/bike_system.hpp"
|
||||
#include "static_scheduling_with_event/bike_system.hpp"
|
||||
|
||||
#include "greentea-client/test_env.h"
|
||||
#include "mbed.h"
|
||||
#include "static_scheduling/bike_system.hpp"
|
||||
#include "static_scheduling_with_event/bike_system.hpp"
|
||||
#include "task_logger.hpp"
|
||||
#include "unity/unity.h"
|
||||
#include "utest/utest.h"
|
||||
|
||||
using namespace utest::v1;
|
||||
namespace utest::v1 {
|
||||
|
||||
// test_bike_system handler function
|
||||
static void test_bike_system() {
|
||||
@ -80,7 +79,8 @@ static void test_bike_system_event_queue() {
|
||||
|
||||
// run the bike system in a separate thread
|
||||
Thread thread;
|
||||
thread.start(callback(&bikeSystem, &static_scheduling::BikeSystem::startWithEventQueue));
|
||||
thread.start(
|
||||
callback(&bikeSystem, &static_scheduling::BikeSystem::startWithEventQueue));
|
||||
|
||||
// let the bike system run for 20 secs
|
||||
ThisThread::sleep_for(20s);
|
||||
@ -156,4 +156,5 @@ static Case cases[] = {
|
||||
|
||||
static Specification specification(greentea_setup, cases);
|
||||
|
||||
int main() { return !Harness::run(specification); }
|
||||
int main() { return !Harness::run(specification); }
|
||||
}; // namespace utest::v1
|
||||
|
Reference in New Issue
Block a user