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


"Zack Weinberg" <zackw@stanford.edu> writes:

| If you build using a relative pathname to get from the object to the
| source directory, testsuite_flags --build-includes will generate -I
| switches which are relative to the top level of the libstdc++ build
| directory.  runtest executes one level below (in the testsuite
| directory), therefore all the paths are wrong, and the test suite
| can't find any headers and blows up horribly.

Hmm. I'd rather we fix the problem differently.  

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

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

I'll prefer we get that functionality back.

Thanks,

-- Gaby


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