aboutsummaryrefslogtreecommitdiff
path: root/tests/test-rpc_server.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-rpc_server.c')
-rw-r--r--tests/test-rpc_server.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/test-rpc_server.c b/tests/test-rpc_server.c
new file mode 100644
index 0000000..eb11f6d
--- /dev/null
+++ b/tests/test-rpc_server.c
@@ -0,0 +1,10 @@
+#include <hal.h>
+
+int main (int argc, char *argv[])
+{
+ if (hal_rpc_server_init() != HAL_OK)
+ return 1;
+
+ hal_rpc_server_main();
+ return 0;
+}