aboutsummaryrefslogtreecommitdiff
path: root/src/sp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sp')
-rw-r--r--src/sp/transport/inproc/CMakeLists.txt1
-rw-r--r--src/sp/transport/inproc/inproc_test.c17
2 files changed, 18 insertions, 0 deletions
diff --git a/src/sp/transport/inproc/CMakeLists.txt b/src/sp/transport/inproc/CMakeLists.txt
index b84ab01e..2132e8d7 100644
--- a/src/sp/transport/inproc/CMakeLists.txt
+++ b/src/sp/transport/inproc/CMakeLists.txt
@@ -13,3 +13,4 @@ nng_directory(inproc)
nng_sources_if(NNG_TRANSPORT_INPROC inproc.c)
nng_defines_if(NNG_TRANSPORT_INPROC NNG_TRANSPORT_INPROC)
+nng_test_if(NNG_TRANSPORT_INPROC inproc_test)
diff --git a/src/sp/transport/inproc/inproc_test.c b/src/sp/transport/inproc/inproc_test.c
new file mode 100644
index 00000000..2683b1e4
--- /dev/null
+++ b/src/sp/transport/inproc/inproc_test.c
@@ -0,0 +1,17 @@
+//
+// Copyright 2024 Staysail Systems, Inc. <info@staysail.tech>
+//
+// This software is supplied under the terms of the MIT License, a
+// copy of which should be located in the distribution where this
+// file was obtained (LICENSE.txt). A copy of the license may also be
+// found online at https://opensource.org/licenses/MIT.
+//
+
+#include <nuts.h>
+
+NUTS_DECLARE_TRAN_TESTS(inproc)
+
+NUTS_TESTS = {
+ NUTS_INSERT_TRAN_TESTS(inproc),
+ { NULL, NULL },
+};