Bernhard Reutner-Fischer <rep.dot....@gmail.com> writes:

> On 11 May 2017 15:10:36 CEST, Nathan Sidwell <nat...@acm.org> wrote:
>>On 05/11/2017 08:28 AM, Rainer Orth wrote:
>>
>>> On the gcc-7 branch, the dump file (from -fdump-class-hierarchy) was
>>> called covariant7.C.002t.class, now it's covariant7.C.002l.class. 
>>But
>>> gcc/testsuite/lib/scantree.exp (scan-tree-dump) expects the
>>NNNt.<dump>
>>> form.
>>
>>fixed thusly, applied as obvious.
>>
>>the scan$foo.exp files look like they could benefit from a higher-level
>>
>>scandump.exp interface, but that's a cleanup for another day.
>
> Yea and once we can require a recent dejagnu (maybe for gcc-8 finally) we
> can apply the removal of the load_lib TCL hackery.

However, the introduction of scanlang.exp broke libatomic, libgomp, and
libitm testing.  Their logfiles show

trunk/12-gcc/build/sparc-sun-solaris2.12/libatomic/testsuite/libatomic.log:ERROR:
 Couldn't find library file scanlang.exp.
trunk/12-gcc/build/sparc-sun-solaris2.12/libgomp/testsuite/libgomp.log:ERROR: 
Couldn't find library file scanlang.exp.
trunk/12-gcc/build/sparc-sun-solaris2.12/libitm/testsuite/libitm.log:ERROR: 
Couldn't find library file scanlang.exp.

and the testsuites aren't run.  The following patch fixes this (manually
tested on libatomic and libitm so far).

        Rainer

-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University


diff --git a/libatomic/testsuite/lib/libatomic.exp b/libatomic/testsuite/lib/libatomic.exp
--- a/libatomic/testsuite/lib/libatomic.exp
+++ b/libatomic/testsuite/lib/libatomic.exp
@@ -34,6 +34,7 @@ load_gcc_lib target-utils.exp
 load_gcc_lib target-supports-dg.exp
 load_gcc_lib scanasm.exp
 load_gcc_lib scandump.exp
+load_gcc_lib scanlang.exp
 load_gcc_lib scanrtl.exp
 load_gcc_lib scantree.exp
 load_gcc_lib scanipa.exp
diff --git a/libgomp/testsuite/lib/libgomp.exp b/libgomp/testsuite/lib/libgomp.exp
--- a/libgomp/testsuite/lib/libgomp.exp
+++ b/libgomp/testsuite/lib/libgomp.exp
@@ -26,6 +26,7 @@ load_gcc_lib file-format.exp
 load_gcc_lib target-supports-dg.exp
 load_gcc_lib scanasm.exp
 load_gcc_lib scandump.exp
+load_gcc_lib scanlang.exp
 load_gcc_lib scanrtl.exp
 load_gcc_lib scantree.exp
 load_gcc_lib scanipa.exp
diff --git a/libitm/testsuite/lib/libitm.exp b/libitm/testsuite/lib/libitm.exp
--- a/libitm/testsuite/lib/libitm.exp
+++ b/libitm/testsuite/lib/libitm.exp
@@ -40,6 +40,7 @@ load_gcc_lib file-format.exp
 load_gcc_lib target-supports-dg.exp
 load_gcc_lib scanasm.exp
 load_gcc_lib scandump.exp
+load_gcc_lib scanlang.exp
 load_gcc_lib scanrtl.exp
 load_gcc_lib scantree.exp
 load_gcc_lib scanipa.exp

Reply via email to