[cfe-commits] [PATCH] Getting the driver to understand -working-directory

Eric Christopher echristo at apple.com
Mon Feb 20 16:45:44 PST 2012


On Feb 20, 2012, at 3:33 PM, Aaron Ballman <aaron at aaronballman.com> wrote:

>>>> Also, testcase? :)
>>> 
>>> I'll add one this evening if I can think of a way to do it sensibly.
>> 
>> Sounds good to me.
> 
> Since -working-directory expects an absolute path, I'm hard-pressed to
> think of a reasonable way to implement a test case for this that would
> work across all platforms.
> 
> I could make working-directory support relative paths as well, but it
> seems like overkill just so we can have a test case.
> 
> Thoughts or suggestions?  Or should I just skip the test case?

Oh I was just thinking of something simple like using -cc-print-options to make sure it's being passed down. Nothing complicated.

-eric




More information about the cfe-commits mailing list