summaryrefslogtreecommitdiff
path: root/test/Makefile
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2019-11-06 11:34:18 -0700
committerJens Axboe <axboe@kernel.dk>2019-11-06 15:15:38 -0700
commit570d79ab6485cb94aad931553d95bab7f8d19d11 (patch)
tree3df6ffcc58ccd7bcaa2993d8f31f07ff730005d6 /test/Makefile
parentba97eaf8f9ef2030d581be10df9d875dbfadc91d (diff)
downloadliburing-cqring-nodrop.tar.gz
liburing-cqring-nodrop.tar.bz2
Add test case for IORING_SETUP_CQ_NODROPcqring-nodrop
Tests overflows without CQ_NODROP, and correct behavior on a ring setup with CQ_NODROP. The latter backlogs events that otherwise would have been dropped, and returns -EBUSY to an application trying to submit new IO with a backlog pending. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'test/Makefile')
-rw-r--r--test/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/Makefile b/test/Makefile
index 25cf4d9..d99bb15 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -8,7 +8,8 @@ all_targets += poll poll-cancel ring-leak fsync io_uring_setup io_uring_register
send_recvmsg a4c0b3decb33-test 500f9fbadef8-test timeout \
sq-space_left stdout cq-ready cq-peek-batch file-register \
cq-size 8a9973408177-test a0908ae19763-test 232c93d07b74-test \
- socket-rw accept timeout-overflow defer read-write io-cancel
+ socket-rw accept timeout-overflow defer read-write io-cancel \
+ cq-overflow
include ../Makefile.quiet
@@ -24,7 +25,7 @@ test_srcs := poll.c poll-cancel.c ring-leak.c fsync.c io_uring_setup.c \
500f9fbadef8-test.c timeout.c sq-space_left.c stdout.c cq-ready.c\
cq-peek-batch.c file-register.c cq-size.c 8a9973408177-test.c \
a0908ae19763-test.c 232c93d07b74-test.c socket-rw.c accept.c \
- timeout-overflow.c defer.c read-write.c io-cancel.c
+ timeout-overflow.c defer.c read-write.c io-cancel.c cq-overflow.c
test_objs := $(patsubst %.c,%.ol,$(test_srcs))