summaryrefslogtreecommitdiffstats
path: root/quantum/encoder/tests/rules.mk
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2021-11-27 03:19:22 -0800
committerGitHub <noreply@github.com>2021-11-27 22:19:22 +1100
commitb3fc33faf79a0af332f4725693623112ecad86d1 (patch)
treecae724e7f43bc105a06b2d223cd66159ffe5ebfc /quantum/encoder/tests/rules.mk
parent4d0dd1eab78c7f2af40a84a34da12a2a8398fda9 (diff)
Re-add encoder tests (#15312)
Co-authored-by: Balz Guenat <balz.guenat@gmail.com>
Diffstat (limited to 'quantum/encoder/tests/rules.mk')
-rw-r--r--quantum/encoder/tests/rules.mk13
1 files changed, 13 insertions, 0 deletions
diff --git a/quantum/encoder/tests/rules.mk b/quantum/encoder/tests/rules.mk
new file mode 100644
index 0000000000..b826ce3aed
--- /dev/null
+++ b/quantum/encoder/tests/rules.mk
@@ -0,0 +1,13 @@
+encoder_DEFS := -DENCODER_MOCK_SINGLE
+
+encoder_SRC := \
+ $(QUANTUM_PATH)/encoder/tests/mock.c \
+ $(QUANTUM_PATH)/encoder/tests/encoder_tests.cpp \
+ $(QUANTUM_PATH)/encoder.c
+
+encoder_split_DEFS := -DENCODER_MOCK_SPLIT
+
+encoder_split_SRC := \
+ $(QUANTUM_PATH)/encoder/tests/mock_split.c \
+ $(QUANTUM_PATH)/encoder/tests/encoder_tests_split.cpp \
+ $(QUANTUM_PATH)/encoder.c