[PATCH v2 2/3] ld: testsuite: disambiguate sort_no tests.

Richard Earnshaw rearnsha@arm.com
Tue Sep 16 16:42:23 GMT 2025


The two tests sort_no-1.d and sort_no-2.d have the same test name.
They use the same options, but operate on different source files.
Annotate the second test so that it has a unique name.
---
 ld/testsuite/ld-scripts/sort_no-2.d | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ld/testsuite/ld-scripts/sort_no-2.d b/ld/testsuite/ld-scripts/sort_no-2.d
index e0943d5bb77..c85cc349f88 100644
--- a/ld/testsuite/ld-scripts/sort_no-2.d
+++ b/ld/testsuite/ld-scripts/sort_no-2.d
@@ -1,6 +1,6 @@
 #source: sort_b_a.s
 #ld: -T sort_no.t
-#name: no SORT_BY_NAME/SORT_BY_ALIGNMENT/SORT
+#name: no SORT_BY_NAME/SORT_BY_ALIGNMENT/SORT (2)
 #nm: -n
 
 #...
-- 
2.43.0



More information about the Binutils mailing list