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.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/test-rpc_server.c b/tests/test-rpc_server.c
new file mode 100644
index 0000000..6eff755
--- /dev/null
+++ b/tests/test-rpc_server.c
@@ -0,0 +1,16 @@
+#include <stdio.h>
+#include <stdint.h>
+#include <string.h>
+#include <assert.h>
+
+#include <hal.h>
+#include <hal_internal.h>
+
+int main (int argc, char *argv[])
+{
+ if (rpc_server_init() != HAL_OK)
+ return 1;
+
+ rpc_server_main();
+ return 0;
+}