summaryrefslogtreecommitdiff
path: root/test/Makefile
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2019-05-23 22:25:52 -0600
committerJens Axboe <axboe@kernel.dk>2019-05-23 22:51:10 -0600
commit5d1e32e44b2f7795266d012288f307c94ae72868 (patch)
tree4d5df41d8b8d7354dbc7e948acf377fb14633881 /test/Makefile
parent7a3fd11c4ba0e74c3e9e025aaa94d0410652fbdf (diff)
Add send/recvmsg test case
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'test/Makefile')
-rw-r--r--test/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/test/Makefile b/test/Makefile
index e4fe57d..b94e29e 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -2,14 +2,15 @@ CFLAGS ?= -g -O2 -Wall -D_GNU_SOURCE -L../src/
all_targets += poll poll-cancel ring-leak fsync io_uring_setup io_uring_register \
io_uring_enter nop sq-full cq-full 35fa71a030ca-test \
- 917257daa0fe-test b19062a56726-test eeed8b54e0df-test link
+ 917257daa0fe-test b19062a56726-test eeed8b54e0df-test link \
+ send_recvmsg
all: $(all_targets)
test_srcs := poll.c poll-cancel.c ring-leak.c fsync.c io_uring_setup.c \
io_uring_register.c io_uring_enter.c nop.c sq-full.c cq-full.c \
35fa71a030ca-test.c 917257daa0fe-test.c b19062a56726-test.c \
- eeed8b54e0df-test link
+ eeed8b54e0df-test.c link.c send_recvmsg.c
test_objs := $(patsubst %.c,%.ol,$(test_srcs))
@@ -43,6 +44,8 @@ eeed8b54e0df-test: eeed8b54e0df-test.c
$(CC) $(CFLAGS) -o $@ eeed8b54e0df-test.c -luring
link: link.c
$(CC) $(CFLAGS) -o $@ link.c -luring
+send_recvmsg: send_recvmsg.c
+ $(CC) $(CFLAGS) -o $@ send_recvmsg.c -luring
clean:
rm -f $(all_targets) $(test_objs)