This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


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

Re: libstdc++ testsuite fixes, 1


>>>>> "Gabriel" == Gabriel Dos Reis <Gabriel.Dos-Reis@cmla.ens-cachan.fr> writes:

    Gabriel> The just-removed libstdc++.exp used to do the follwoing

    Gabriel>     # Get the source and the build directories.  set
    Gabriel> src-dir [lookfor_file $srcdir libstdc++-v3] set build-dir
    Gabriel> [lookfor_file $outdir libstdc++-v3]

    Gabriel> I'll prefer we get that functionality back.

nfortunately, I have some scripts that work with relative objdirs (I
know, I know), and this breaks, the scripts will break, and that will
be a pain.

It should be easy to canonicalize the SRC directory to an absolute
path in whatever is outputting the paths: 
  
  (cd ${SRC}; pwd)

and that will avoid the problem without having to resort to the
contortions Zack was going through.  As Benjamin says, nothing should
be unhappy with absolute paths.

Any such patch is pre-approved.

Thanks,

--
Mark Mitchell                   mark@codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com


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