From a84e35edb5bc71d55729358b5671fbd9ca1ffdbf Mon Sep 17 00:00:00 2001 From: Matthew Kennedy Date: Wed, 9 Aug 2023 12:42:16 -0700 Subject: [PATCH] can we link real logic in test? --- test/Makefile | 3 +++ test/tests/test_sampler.cpp | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/test/Makefile b/test/Makefile index 42ad93a..be0afc1 100644 --- a/test/Makefile +++ b/test/Makefile @@ -11,6 +11,8 @@ FIRMWARE_DIR = ./../firmware RUSEFI_LIB = $(FIRMWARE_DIR)/libfirmware include $(RUSEFI_LIB)/util/util.mk +include $(FIRMWARE_DIR)/wideband.mk + # C sources that can be compiled in ARM or THUMB mode depending on the global # setting. CSRC += \ @@ -21,6 +23,7 @@ CSRC += \ CPPSRC += \ $(RUSEFI_LIB_CPP) \ $(RUSEFI_LIB_CPP_TEST) \ + $(WIDEBANDSRC) \ gtest-all.cpp \ gmock-all.cpp \ gtest_main.cpp \ diff --git a/test/tests/test_sampler.cpp b/test/tests/test_sampler.cpp index b426e38..fd420e3 100644 --- a/test/tests/test_sampler.cpp +++ b/test/tests/test_sampler.cpp @@ -1,6 +1,8 @@ #include +#include "sampling.h" + TEST(Sampler, Basic) { - + Sampler dut; }