From db27f1251b008280a29d540b4f8ab2a38a0d80af Mon Sep 17 00:00:00 2001 From: Siddhesh Poyarekar Date: Wed, 12 Jan 2022 23:34:23 +0530 Subject: debug: Autogenerate _FORTIFY_SOURCE tests Rename debug/tst-chk1.c to debug/tst-fortify.c and add make hackery to autogenerate tests with different macros enabled to build and run the same test with different configurations as well as different fortification levels. The change also ends up expanding the -lfs tests to include _FORTIFY_SOURCE=3. Signed-off-by: Siddhesh Poyarekar Reviewed-by: Adhemerval Zanella --- debug/tst-chk3.c | 2 -- 1 file changed, 2 deletions(-) delete mode 100644 debug/tst-chk3.c (limited to 'debug/tst-chk3.c') diff --git a/debug/tst-chk3.c b/debug/tst-chk3.c deleted file mode 100644 index 38b8e4f..0000000 --- a/debug/tst-chk3.c +++ /dev/null @@ -1,2 +0,0 @@ -#define _FORTIFY_SOURCE 2 -#include "tst-chk1.c" -- cgit v1.1