[committed][testsuite] Remove smaller-than.sh test in pr24747.sh

Tom de Vries tdevries@suse.de
Mon Mar 22 05:13:57 GMT 2021


Hi,

As reported in PR27603, when using clang-11 we run into:
...
Running testsuite/dwz.tests/dwz-tests.exp ...
+ exec=start-gold
+ cp start-gold 1
+ dwz 1
+ smaller-than.sh 1 start-gold
FAIL: testsuite/dwz.tests/pr24747.sh
...

The FAIL as such has been fixed by commit b3c99ab "Make smaller-than.sh match
dwz heuristic", but the only reason that dwz manages to optimize something is
because the dwarf producer is lazy and doesn't generate minimal encodings.

We cannot assume that the dwarf producer is lazy, so remove the
smaller-than.sh test.

Committed to trunk.

Thanks,
- Tom

[testsuite] Remove smaller-than.sh test in pr24747.sh

2021-03-22  Tom de Vries  <tdevries@suse.de>

	PR dwz/27603
	* testsuite/dwz.tests/pr24747.sh: Remove smaller-than.sh test.

---
 testsuite/dwz.tests/pr24747.sh | 2 --
 1 file changed, 2 deletions(-)

diff --git a/testsuite/dwz.tests/pr24747.sh b/testsuite/dwz.tests/pr24747.sh
index f868dbe..7182f72 100644
--- a/testsuite/dwz.tests/pr24747.sh
+++ b/testsuite/dwz.tests/pr24747.sh
@@ -4,6 +4,4 @@ cp $exec 1
 
 dwz 1
 
-smaller-than.sh 1 $exec
-
 rm -f 1


More information about the Dwz mailing list