summaryrefslogtreecommitdiff
path: root/test/Makefile
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2019-04-23 12:05:18 -0600
committerJens Axboe <axboe@kernel.dk>2019-04-23 12:06:18 -0600
commit78f59df3339191a500d9a27e2fe9d2eea888a2e0 (patch)
treefb2dbc860f04220d8547791959a6a8bbfb1460f2 /test/Makefile
parentad45ed1d67833ccea7f20c60c0cd503e52998a56 (diff)
Add regression test cases for three recent issues
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'test/Makefile')
-rw-r--r--test/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/test/Makefile b/test/Makefile
index 08b0c42..d2a3cc4 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -1,12 +1,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
+ io_uring_enter nop sq-full cq-full 35fa71a030ca-test \
+ 917257daa0fe-test b19062a56726-test
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
+ 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
test_objs := $(patsubst %.c,%.ol,$(test_srcs))
@@ -30,6 +32,12 @@ sq-full: sq-full.c
$(CC) $(CFLAGS) -o $@ sq-full.c -luring
cq-full: cq-full.c
$(CC) $(CFLAGS) -o $@ cq-full.c -luring
+35fa71a030ca-test: 35fa71a030ca-test.c
+ $(CC) $(CFLAGS) -o $@ 35fa71a030ca-test.c -lpthread
+917257daa0fe-test: 917257daa0fe-test.c
+ $(CC) $(CFLAGS) -o $@ 917257daa0fe-test.c
+b19062a56726-test: b19062a56726-test.c
+ $(CC) $(CFLAGS) -o $@ b19062a56726-test.c
clean:
rm -f $(all_targets) $(test_objs)