aboutsummaryrefslogtreecommitdiff
path: root/devices/Makefile
diff options
context:
space:
mode:
authoraqua <aqua@iserlohn-fortress.net>2023-03-12 14:53:27 +0200
committeraqua <aqua@iserlohn-fortress.net>2023-03-12 14:53:27 +0200
commit92e4b6d5522e53e6868b9b0c52b8e54d10bbf606 (patch)
treea23bd7054b6d0fdd9703e69035cd303d6b448e35 /devices/Makefile
parentMove all tests next to the code they're testing (diff)
downloadkernel-92e4b6d5522e53e6868b9b0c52b8e54d10bbf606.tar.xz
Add unit tests for C drivers
Diffstat (limited to 'devices/Makefile')
-rw-r--r--devices/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/devices/Makefile b/devices/Makefile
index 3c61f6d..e081f68 100644
--- a/devices/Makefile
+++ b/devices/Makefile
@@ -7,5 +7,10 @@ ${ARCH}_CXXFLAGS += ${INCLUDES}
TARGETLIB += devs
devs.SRCS = pic_8259.c uart_16550.cpp vga.cpp i8042.c pckbd.c mouse.c
+HOSTTARGETBIN += uart/test_uart_16550
+uart/test_uart_16550.SRCS = uart/uart_16550.c uart/unittest_uart_16550.cc
+
+#TESTS += uart/test_uart_16550
+
include ../rules.mk