cmake: Register test executables with the build system

Previously the test binaries wouldn't be run by `make test`.

Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Change-Id: Ic4c5b40a1c1e36c2934cd0bffe084aa6954aa343
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2cdb757..9775628 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -15,9 +15,11 @@
 
 add_executable (test_eid tests/test_eid.c tests/test-utils.c)
 target_link_libraries (test_eid mctp)
+add_test (NAME eid COMMAND test_eid)
 
 add_executable (test_seq tests/test_seq.c tests/test-utils.c)
 target_link_libraries (test_seq mctp)
+add_test (NAME seq COMMAND test_seq)
 
 install (TARGETS mctp DESTINATION lib)
 install (FILES libmctp.h DESTINATION include)