public inbox for debugedit@sourceware.org
 help / color / mirror / Atom feed
* [COMMITTED] tests: Remove RPM strings
@ 2021-05-19 10:42 Mark Wielaard
  0 siblings, 0 replies; only message in thread
From: Mark Wielaard @ 2021-05-19 10:42 UTC (permalink / raw)
  To: debugedit; +Cc: Mark Wielaard

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-05-19 10:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-19 10:42 [COMMITTED] tests: Remove RPM strings Mark Wielaard

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).