This is the mail archive of the gcc@gcc.gnu.org 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: Running the C++ library tests in the GCC testsuite


On Wed, 7 Nov 2018, Steve Ellcey wrote:

> I copied unix.exp to unix-sysroot.exp and added this to it:
> 
> if {[info exists env(DEJAGNU_UNIX_SYSROOT_FLAGS)]} {
>     set_board_info ldflags "$env(DEJAGNU_UNIX_SYSROOT_FLAGS)"
> }
> 
> I figured I would deal with LOCPATH and GCONV_PATH later.  When
> I do a partial testrun, I don't get any failures but I do get some
> new unresolved tests like this:
> 
> Download of ./20000108-1.exe to unix-sysroot failed.
> UNRESOLVED: gcc.dg/20000108-1.c execution test
> 
> Have ever seen this error?

By using a different name from unix.exp (and you don't want to have your 
own file called unix.exp - too much risk of confusion), you're probably 
making DejaGnu think it's remote, and so try to copy files to a host 
called unix-sysroot.  You'll need to set isremote for the board to 0 to 
avoid that, if it's not in fact remote (or set hostname if it is remote).

-- 
Joseph S. Myers
joseph@codesourcery.com

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