about summary refs log tree commit diff
path: root/debug/tst-chk8.cc
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@sourceware.org>2022-01-12 23:34:23 +0530
committerSiddhesh Poyarekar <siddhesh@sourceware.org>2022-01-12 23:34:23 +0530
commitdb27f1251b008280a29d540b4f8ab2a38a0d80af (patch)
tree5a4b377ce8dc2908a88f50cbf7cf7167b14e0df8 /debug/tst-chk8.cc
parentf0ed50e1c783395c424e4d51587b0ade5c1c3006 (diff)
downloadglibc-db27f1251b008280a29d540b4f8ab2a38a0d80af.tar.gz
glibc-db27f1251b008280a29d540b4f8ab2a38a0d80af.tar.xz
glibc-db27f1251b008280a29d540b4f8ab2a38a0d80af.zip
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 <siddhesh@sourceware.org>
Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
Diffstat (limited to 'debug/tst-chk8.cc')
-rw-r--r--debug/tst-chk8.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/debug/tst-chk8.cc b/debug/tst-chk8.cc
deleted file mode 100644
index 2a7b323812..0000000000
--- a/debug/tst-chk8.cc
+++ /dev/null
@@ -1,2 +0,0 @@
-#define _FORTIFY_SOURCE 3
-#include "tst-chk1.c"