From: Mark Wielaard <mark@klomp.org>
To: debugedit@sourceware.org
Cc: Mark Wielaard <mark@klomp.org>
Subject: [COMMITTED] tests: Remove RPM strings
Date: Wed, 19 May 2021 12:42:26 +0200 [thread overview]
Message-ID: <20210519104226.15914-1-mark@klomp.org> (raw)
The debugedit.at still contained some references to RPM even though it
doesn't depend on RPM anymore. Remove RPM from the banner and from the
DEBUGEDIT_SETUP m4 macro.
* tests/debugedit.at (AT_BANNER): Remove RPM from the name.
(RPM_DEBUGEDIT_SETUP): Rename to...
(DEBUGEDIT_SETUP): ...this.
Signed-off-by: Mark Wielaard <mark@klomp.org>
---
tests/debugedit.at | 48 +++++++++++++++++++++++-----------------------
1 file changed, 24 insertions(+), 24 deletions(-)
diff --git a/tests/debugedit.at b/tests/debugedit.at
index 38b3aa4..01b1f2f 100644
--- a/tests/debugedit.at
+++ b/tests/debugedit.at
@@ -16,14 +16,14 @@
# along with this program; if not, see see <http://www.gnu.org/licenses/>.
# Tests for the tools/debugedit program.
-AT_BANNER([RPM debugedit])
+AT_BANNER([debugedit])
# Show which debugedit binary we are testing.
AT_TESTED([debugedit])
# Helper to create some test binaries.
# Optional parameter can specify additional gcc parameters.
-m4_define([RPM_DEBUGEDIT_SETUP],[[
+m4_define([DEBUGEDIT_SETUP],[[
# Create some test binaries. Create and build them in different subdirs
# to make sure they produce different relative/absolute paths.
@@ -75,7 +75,7 @@ AT_CLEANUP
# ===
AT_SETUP([debugedit executable])
AT_KEYWORDS([debuginfo] [debugedit])
-RPM_DEBUGEDIT_SETUP
+DEBUGEDIT_SETUP
AT_CHECK([[./foobarbaz.exe]])
AT_CHECK([[debugedit -b $(pwd) -d /foo/bar/baz ./foobarbaz.exe]])
@@ -89,7 +89,7 @@ AT_CLEANUP
# ===
AT_SETUP([debugedit .debug_str objects DWARF4])
AT_KEYWORDS([debuginfo] [debugedit])
-RPM_DEBUGEDIT_SETUP([-gdwarf-4])
+DEBUGEDIT_SETUP([-gdwarf-4])
# Capture strings that start with the testdir (pwd) directory path
# (and replace that textually with /foo/bar/baz)
@@ -121,7 +121,7 @@ AT_CLEANUP
AT_SETUP([debugedit .debug_str/line_str objects DWARF5])
AT_KEYWORDS([debuginfo] [debugedit])
AT_SKIP_IF([test "$GDWARF_5_FLAG" = "no"])
-RPM_DEBUGEDIT_SETUP([-gdwarf-5])
+DEBUGEDIT_SETUP([-gdwarf-5])
# Capture strings that start with the testdir (pwd) directory path
# (and replace that textually with /foo/bar/baz)
@@ -154,7 +154,7 @@ AT_CLEANUP
# ===
AT_SETUP([debugedit .debug_str partial DWARF4])
AT_KEYWORDS([debuginfo] [debugedit])
-RPM_DEBUGEDIT_SETUP([-gdwarf-4])
+DEBUGEDIT_SETUP([-gdwarf-4])
# Capture strings that start with the testdir (pwd) directory path
# (and replace that textually with /foo/bar/baz)
@@ -186,7 +186,7 @@ AT_CLEANUP
AT_SETUP([debugedit .debug_str/line_str partial DWARF5])
AT_KEYWORDS([debuginfo] [debugedit])
AT_SKIP_IF([test "$GDWARF_5_FLAG" = "no"])
-RPM_DEBUGEDIT_SETUP([-gdwarf-5])
+DEBUGEDIT_SETUP([-gdwarf-5])
# Capture strings that start with the testdir (pwd) directory path
# (and replace that textually with /foo/bar/baz)
@@ -217,7 +217,7 @@ AT_CLEANUP
# ===
AT_SETUP([debugedit .debug_str exe DWARF4])
AT_KEYWORDS([debuginfo] [debugedit])
-RPM_DEBUGEDIT_SETUP([-gdwarf-4])
+DEBUGEDIT_SETUP([-gdwarf-4])
# Capture strings that start with the testdir (pwd) directory path
# (and replace that textually with /foo/bar/baz)
@@ -248,7 +248,7 @@ AT_CLEANUP
AT_SETUP([debugedit .debug_str/line_str exe DWARF5])
AT_KEYWORDS([debuginfo] [debugedit])
AT_SKIP_IF([test "$GDWARF_5_FLAG" = "no"])
-RPM_DEBUGEDIT_SETUP([-gdwarf-5])
+DEBUGEDIT_SETUP([-gdwarf-5])
# Capture strings that start with the testdir (pwd) directory path
# (and replace that textually with /foo/bar/baz)
@@ -293,7 +293,7 @@ AT_CLEANUP
# ===
AT_SETUP([debugedit .debug_info objects])
AT_KEYWORDS([debuginfo] [debugedit])
-RPM_DEBUGEDIT_SETUP
+DEBUGEDIT_SETUP
AT_DATA([expout],
[/foo/bar/baz
@@ -318,7 +318,7 @@ AT_CLEANUP
# ===
AT_SETUP([debugedit .debug_info partial])
AT_KEYWORDS([debuginfo] [debugedit])
-RPM_DEBUGEDIT_SETUP
+DEBUGEDIT_SETUP
AT_DATA([expout],
[/foo/bar/baz
@@ -341,7 +341,7 @@ AT_CLEANUP
# ===
AT_SETUP([debugedit .debug_info exe])
AT_KEYWORDS([debuginfo] [debugedit])
-RPM_DEBUGEDIT_SETUP
+DEBUGEDIT_SETUP
AT_DATA([expout],
[/foo/bar/baz
@@ -363,7 +363,7 @@ AT_CLEANUP
# ===
AT_SETUP([debugedit .debug_types objects])
AT_KEYWORDS([debugtypes] [debugedit])
-RPM_DEBUGEDIT_SETUP([-fdebug-types-section -gdwarf-4])
+DEBUGEDIT_SETUP([-fdebug-types-section -gdwarf-4])
AT_DATA([expout],
[st1
@@ -400,7 +400,7 @@ AT_CLEANUP
# ===
AT_SETUP([debugedit .debug_types partial])
AT_KEYWORDS([debugtypes] [debugedit])
-RPM_DEBUGEDIT_SETUP([-fdebug-types-section -gdwarf-4])
+DEBUGEDIT_SETUP([-fdebug-types-section -gdwarf-4])
AT_DATA([expout],
[st1
@@ -429,7 +429,7 @@ AT_CLEANUP
# ===
AT_SETUP([debugedit .debug_types exe])
AT_KEYWORDS([debugtypes] [debugedit])
-RPM_DEBUGEDIT_SETUP([-fdebug-types-section -gdwarf-4])
+DEBUGEDIT_SETUP([-fdebug-types-section -gdwarf-4])
AT_DATA([expout],
[st1
@@ -463,7 +463,7 @@ AT_CLEANUP
# ===
AT_SETUP([debugedit .debug_line objects DWARF4])
AT_KEYWORDS([debuginfo] [debugedit])
-RPM_DEBUGEDIT_SETUP([-gdwarf-4])
+DEBUGEDIT_SETUP([-gdwarf-4])
AT_DATA([expout],
[/foo/bar/baz
@@ -488,7 +488,7 @@ AT_CLEANUP
AT_SETUP([debugedit .debug_line objects DWARF5])
AT_KEYWORDS([debuginfo] [debugedit])
AT_SKIP_IF([test "$GDWARF_5_FLAG" = "no"])
-RPM_DEBUGEDIT_SETUP([-gdwarf-5])
+DEBUGEDIT_SETUP([-gdwarf-5])
AT_DATA([expout],
[foo/bar/baz
@@ -512,7 +512,7 @@ AT_CLEANUP
# ===
AT_SETUP([debugedit .debug_line partial DWARF4])
AT_KEYWORDS([debuginfo] [debugedit])
-RPM_DEBUGEDIT_SETUP([-gdwarf-4])
+DEBUGEDIT_SETUP([-gdwarf-4])
AT_DATA([expout],
[/foo/bar/baz
@@ -535,7 +535,7 @@ AT_CLEANUP
AT_SETUP([debugedit .debug_line partial DWARF5])
AT_KEYWORDS([debuginfo] [debugedit])
AT_SKIP_IF([test "$GDWARF_5_FLAG" = "no"])
-RPM_DEBUGEDIT_SETUP([-gdwarf-5])
+DEBUGEDIT_SETUP([-gdwarf-5])
AT_DATA([expout],
[foo/bar/baz
@@ -557,7 +557,7 @@ AT_CLEANUP
# ===
AT_SETUP([debugedit .debug_line exe DWARF4])
AT_KEYWORDS([debuginfo] [debugedit])
-RPM_DEBUGEDIT_SETUP([-gdwarf-4])
+DEBUGEDIT_SETUP([-gdwarf-4])
AT_DATA([expout],
[/foo/bar/baz
@@ -580,7 +580,7 @@ AT_CLEANUP
AT_SETUP([debugedit .debug_line exe DWARF5])
AT_KEYWORDS([debuginfo] [debugedit])
AT_SKIP_IF([test "$GDWARF_5_FLAG" = "no"])
-RPM_DEBUGEDIT_SETUP([-gdwarf-5])
+DEBUGEDIT_SETUP([-gdwarf-5])
AT_DATA([expout],
[foo/bar/baz
@@ -602,7 +602,7 @@ AT_CLEANUP
# ===
AT_SETUP([debugedit .debug_macro objects])
AT_KEYWORDS([debuginfo] [debugedit])
-RPM_DEBUGEDIT_SETUP
+DEBUGEDIT_SETUP
# We expect 3 for each compile unit.
AT_DATA([expout],
@@ -627,7 +627,7 @@ AT_CLEANUP
# ===
AT_SETUP([debugedit .debug_macro partial])
AT_KEYWORDS([debuginfo] [debugedit])
-RPM_DEBUGEDIT_SETUP
+DEBUGEDIT_SETUP
# We expect 3 for each compile unit.
AT_DATA([expout],
@@ -650,7 +650,7 @@ AT_CLEANUP
# ===
AT_SETUP([debugedit .debug_macro exe])
AT_KEYWORDS([debuginfo] [debugedit])
-RPM_DEBUGEDIT_SETUP
+DEBUGEDIT_SETUP
# We expect 3 for each compile unit.
AT_DATA([expout],
--
2.18.4
reply other threads:[~2021-05-19 10:42 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210519104226.15914-1-mark@klomp.org \
--to=mark@klomp.org \
--cc=debugedit@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).