[binutils-gdb] gprof: Append -l to tst-gmon-gprof-l.sh data files

H.J. Lu hjl@sourceware.org
Mon Mar 10 15:12:11 GMT 2025


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=72088cbe294598b957a43d923cf070ecf49afe52

commit 72088cbe294598b957a43d923cf070ecf49afe52
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Mon Mar 10 08:07:17 2025 -0700

    gprof: Append -l to tst-gmon-gprof-l.sh data files
    
    Append -l to tst-gmon-gprof-l.sh data files to avoid conflicts with
    tst-gmon-gprof.sh data files.
    
            * testsuite/tst-gmon-gprof-l.sh (actual): Append -l.
            (expected): Likewise.
            (expected_dot): Likewise.
    
    Signed-off-by: H.J. Lu <hjl.tools@gmail.com>

Diff:
---
 gprof/testsuite/tst-gmon-gprof-l.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gprof/testsuite/tst-gmon-gprof-l.sh b/gprof/testsuite/tst-gmon-gprof-l.sh
index 3e54da6b4f7..530d022e472 100755
--- a/gprof/testsuite/tst-gmon-gprof-l.sh
+++ b/gprof/testsuite/tst-gmon-gprof-l.sh
@@ -38,9 +38,9 @@ export LC_ALL
 set -e
 exec 2>&1
 
-actual=${program}.actual
-expected=${program}.expected
-expected_dot=${program}.expected_dot
+actual=${program}.actual-l
+expected=${program}.expected-l
+expected_dot=${program}.expected_dot-l
 cleanup () {
     rm -f "$actual"
     rm -f "$expected"


More information about the Binutils-cvs mailing list