]> git.donarmstrong.com Git - qmk_firmware.git/blobdiff - build_full_test.mk
[Keymap] Add missing tap dance action and fix RGB hues in personal keymaps (#6312)
[qmk_firmware.git] / build_full_test.mk
index 0405b9d0f8a67379ba327db430aa2dd704d6fb53..170020b968550ed7428e03578d89bdd17b753214 100644 (file)
 # GNU General Public License for more details.
 #
 # You should have received a copy of the GNU General Public License
-# along with this program.  If not, see <http://www.gnu.org/licenses/>.
\ No newline at end of file
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+#include $(TMK_PATH)/protocol.mk
+
+TEST_PATH=tests/$(TEST)
+
+$(TEST)_SRC= \
+       $(TEST_PATH)/keymap.c \
+       $(TMK_COMMON_SRC) \
+       $(QUANTUM_SRC) \
+       $(SRC) \
+       tests/test_common/matrix.c \
+       tests/test_common/test_driver.cpp \
+       tests/test_common/keyboard_report_util.cpp \
+       tests/test_common/test_fixture.cpp
+$(TEST)_SRC += $(patsubst $(ROOTDIR)/%,%,$(wildcard $(TEST_PATH)/*.cpp))
+
+$(TEST)_DEFS=$(TMK_COMMON_DEFS) $(OPT_DEFS)
+$(TEST)_CONFIG=$(TEST_PATH)/config.h
+VPATH+=$(TOP_DIR)/tests/test_common
\ No newline at end of file