modularize tests - please review

Sean Silva silvas at
Tue Mar 19 19:51:31 PDT 2013

On Tue, Mar 19, 2013 at 12:28 PM, Vane, Edwin <edwin.vane at> wrote:

>  I tried running these tests on linux and they all fail when using a
> build directory separate from source directory. It looks like modularize is
> looking in the build directory for the headers listed in the input file. My
> guess modularize is using the current working directory to locate headers?
>  I suggest perhaps using a –I on the command line to modularize so you can
> specify the right directory in the source tree.****
John, you may want to take a look at e.g.
clang/test/CodeGenCXX/rtti-visibility.cpp for an example of using the `%S`
lit variable to add the test's directory as an include path.

-- Sean Silva.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the cfe-commits mailing list