aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2022-06-19 12:05:56 -0600
committerJens Axboe <axboe@kernel.dk>2022-06-19 12:05:56 -0600
commit468991862c67a9eb62aa1a9ec15884353f84237b (patch)
treee06e52d14b1d69fda6730837463c534de5d2d2fc
parenta2dece6ae57bdb521770f9b746089c865933b553 (diff)
downloadliburing-468991862c67a9eb62aa1a9ec15884353f84237b.tar.gz
test/Makefile: ensure statx is only added once
Signed-off-by: Jens Axboe <axboe@kernel.dk>
-rw-r--r--test/Makefile7
1 files changed, 1 insertions, 6 deletions
diff --git a/test/Makefile b/test/Makefile
index 09e73f9..e3204a7 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -171,21 +171,16 @@ test_srcs := \
skip-cqe.c \
# EOL
-
all_targets :=
include ../Makefile.quiet
-
ifdef CONFIG_HAVE_STATX
test_srcs += statx.c
-endif
-
-ifdef CONFIG_HAVE_GLIBC_STATX
+else ifdef CONFIG_HAVE_GLIBC_STATX
test_srcs += statx.c
endif
all_targets += statx.t
-
ifdef CONFIG_HAVE_CXX
test_srcs += sq-full-cpp.cc
endif