This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Write test case for libstdc++ with C source

On 04/27/2014 03:25 PM, Andreas Schwab wrote:
Sebastian Huber <> writes:

Since I am not an expert in the GCC test suite scripts, is it possible to
add such a test case at all with a moderate amount of work?
Just add load_gcc_lib gcc-defs.exp.

In libstdc++-v3/testsuite/lib/libstdc++.exp?  In this case I get:

ERROR: Couldn't find library file target-libpath.exp.

We have in gcc-defs.exp:

load_lib target-libpath.exp

load_lib wrapper.exp

These files are also loaded in libstdc++.exp via:

proc load_gcc_lib { filename } {
    global srcdir
    load_file $srcdir/../../gcc/testsuite/lib/$filename

load_gcc_lib target-libpath.exp
load_gcc_lib wrapper.exp

Luckily the target-libpath.exp and wrapper.exp don't use load_lib, so they cause no problems. Is it possible to add a search path to something and avoid this load_gcc_lib?

Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  :
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]