summaryrefslogtreecommitdiff
path: root/test/Makefile
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2019-05-13 16:16:07 -0600
committerJens Axboe <axboe@kernel.dk>2019-05-13 16:16:07 -0600
commit0ba9503f793647bfd967da8083a2adf56621307c (patch)
treed0cb567953421723a4f93c6895f47081b48980ff /test/Makefile
parent40c6f8454b86a5cd3bda63b41b9524ec162e9842 (diff)
Add link SQE support
Just a basic test case that does various forms of linked nops, and a sample bare bones copy program using linked reads and writes. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'test/Makefile')
-rw-r--r--test/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/Makefile b/test/Makefile
index 7866047..e4fe57d 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -2,14 +2,14 @@ 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
+ 917257daa0fe-test b19062a56726-test eeed8b54e0df-test link
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
+ eeed8b54e0df-test link
test_objs := $(patsubst %.c,%.ol,$(test_srcs))
@@ -41,6 +41,8 @@ b19062a56726-test: b19062a56726-test.c
$(CC) $(CFLAGS) -o $@ b19062a56726-test.c
eeed8b54e0df-test: eeed8b54e0df-test.c
$(CC) $(CFLAGS) -o $@ eeed8b54e0df-test.c -luring
+link: link.c
+ $(CC) $(CFLAGS) -o $@ link.c -luring
clean:
rm -f $(all_targets) $(test_objs)