diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2025-03-07 13:55:06 +0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2025-03-07 15:05:57 +0800 |
commit | bdf94855597d876836a92ef18d2b6e9290e4e1c0 (patch) | |
tree | e2573ff472e8435831cdc838f53c5eccc7741857 /gprof/testsuite/tst-gmon.c | |
parent | 4295841be4392fcff33a1efee6d4345063021e6b (diff) | |
download | binutils-bdf94855597d876836a92ef18d2b6e9290e4e1c0.zip binutils-bdf94855597d876836a92ef18d2b6e9290e4e1c0.tar.gz binutils-bdf94855597d876836a92ef18d2b6e9290e4e1c0.tar.bz2 |
gprof: Update PR gprof/32764 test
1. Remove gmon.out first before generating it in the configure check.
2. Make tst-gmon-gprof.out depend on the gprof binary.
3. Check that gmon.out is non-empty.
4. Don't include <sys/cdefs.h> in tst-gmon.c.
PR gprof/32764
* configure.ac: Remove gmon.out first.
* configure: Regenerated.
* testsuite/Makefile.am (tst-gmon-gprof.out): Depend on
$(GPROF).
* testsuite/Makefile.in: Regenerated.
* testsuite/tst-gmon-gprof.sh: Check that gmon.out is non-empty.
* testsuite/tst-gmon.c: Don't include <sys/cdefs.h>.
Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
Diffstat (limited to 'gprof/testsuite/tst-gmon.c')
-rw-r--r-- | gprof/testsuite/tst-gmon.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gprof/testsuite/tst-gmon.c b/gprof/testsuite/tst-gmon.c index add2d92..917f5e6 100644 --- a/gprof/testsuite/tst-gmon.c +++ b/gprof/testsuite/tst-gmon.c @@ -16,8 +16,6 @@ License along with the GNU C Library; if not, see <https://www.gnu.org/licenses/>. */ -#include <sys/cdefs.h> - /* This program does not use the test harness because we want tight control over the call graph. */ |