summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/openat2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/selftests/openat2/Makefile')
-rw-r--r--tools/testing/selftests/openat2/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/testing/selftests/openat2/Makefile b/tools/testing/selftests/openat2/Makefile
new file mode 100644
index 0000000000..254d676a26
--- /dev/null
+++ b/tools/testing/selftests/openat2/Makefile
@@ -0,0 +1,8 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+
+CFLAGS += -Wall -O2 -g -fsanitize=address -fsanitize=undefined -static-libasan
+TEST_GEN_PROGS := openat2_test resolve_test rename_attack_test
+
+include ../lib.mk
+
+$(TEST_GEN_PROGS): helpers.c helpers.h