[cfe-commits] [PATCH] Getting the driver to understand -working-directory
Aaron Ballman
aaron at aaronballman.com
Mon Feb 20 17:01:40 PST 2012
On Mon, Feb 20, 2012 at 6:45 PM, Eric Christopher <echristo at apple.com> wrote:
>
> 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.
LoL, well I like "not complicated!" ;-)
r151014
~Aaron
More information about the cfe-commits
mailing list