mirror of https://github.com/rusefi/rusefi.git
unit tests code coverage #653
See https://stackoverflow.com/questions/57643813/cannot-get-gcov-to-produce-any-coverage-data
This commit is contained in:
parent
8ab2c6ae69
commit
ef6c0ead20
|
@ -30,7 +30,7 @@ endif
|
||||||
|
|
||||||
# C++ specific options here (added to USE_OPT).
|
# C++ specific options here (added to USE_OPT).
|
||||||
ifeq ($(USE_CPPOPT),)
|
ifeq ($(USE_CPPOPT),)
|
||||||
USE_CPPOPT = -std=c++17 -fno-rtti -fpermissive -fexceptions -fno-use-cxa-atexit
|
USE_CPPOPT = -std=gnu++17 -fno-rtti -fpermissive -fexceptions -fno-use-cxa-atexit
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Enable this if you want the linker to remove unused code and data
|
# Enable this if you want the linker to remove unused code and data
|
||||||
|
@ -126,7 +126,7 @@ CPPSRC = $(UTILSRC_CPP) \
|
||||||
$(HW_LAYER_EMS_CPP) \
|
$(HW_LAYER_EMS_CPP) \
|
||||||
$(HW_SENSORS_SRC) \
|
$(HW_SENSORS_SRC) \
|
||||||
$(TRIGGER_SRC_CPP) \
|
$(TRIGGER_SRC_CPP) \
|
||||||
main.cpp
|
$(PROJECT_DIR)/../unit_tests/main.cpp
|
||||||
|
|
||||||
|
|
||||||
# C sources to be compiled in ARM mode regardless of the global setting.
|
# C sources to be compiled in ARM mode regardless of the global setting.
|
||||||
|
@ -174,8 +174,8 @@ INCDIR = . \
|
||||||
googletest/googlemock/include \
|
googletest/googlemock/include \
|
||||||
googletest/googletest \
|
googletest/googletest \
|
||||||
googletest/googletest/include \
|
googletest/googletest/include \
|
||||||
tests \
|
$(PROJECT_DIR)/../unit_tests/tests \
|
||||||
test_basic_math
|
$(PROJECT_DIR)/../unit_tests/test_basic_math
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in New Issue