File tree Expand file tree Collapse file tree 5 files changed +11
-5
lines changed
Expand file tree Collapse file tree 5 files changed +11
-5
lines changed Original file line number Diff line number Diff line change 11default_target : all
22
3+ .PHONY : all
34all : clean build test clean
45
6+ .PHONY : cmake
57cmake :
68 @cmake $(CURDIR ) -B$(CURDIR ) /build
79
10+ .PHONY : build
811build : cmake
912 @cd $(CURDIR ) /build && make all
1013
14+ .PHONY : test
1115test :
1216 @cd $(CURDIR ) /build && CTEST_OUTPUT_ON_FAILURE=TRUE make test
1317
18+ .PHONY : pio-test
1419pio-test :
1520 @pio test
1621
22+ .PHONY : clean
1723clean :
1824 @rm -rf $(CURDIR ) /build/*
1925 @rm -rf $(CURDIR ) /.pioenvs/*
20-
21- .PHONY : cmake build test clean all
Original file line number Diff line number Diff line change 1+ #include "ArduinoFake.h"
Original file line number Diff line number Diff line change 1010#include < stdexcept>
1111#include " fakeit/fakeit.hpp"
1212
13+ #include " arduino/Arduino.h"
14+
1315#include " FunctionFake.h"
1416#include " StreamFake.h"
1517#include " SerialFake.h"
1618#include " ClientFake.h"
1719#include " PrintFake.h"
1820
19- #include " arduino/Arduino.h"
20-
2121#define ArduinoFake (mock ) _ArduinoFakeGet##mock()
2222
2323#define ArduinoFakeReset () \
Original file line number Diff line number Diff line change 1+ #include "ClientFake.h"
Original file line number Diff line number Diff line change 1- #include < ArduinoFake .h>
1+ #include < Arduino .h>
22#include < cstdlib>
33#include < unity.h>
44
You can’t perform that action at this time.
0 commit comments