On Apr 9, 2012, at 14:18, Manuel Klimek wrote:

> On Mon, Apr 9, 2012 at 8:12 PM, Jordan Rose <[email protected]> wrote:
>> Test case? Even if you don't want to put symlinks in the repository, you 
>> could still override PWD manually using env. (Which is important because the 
>> test harness now wipes out PWD anyway.)
> 
> Good idea. The problem is how to get it to find a source file at the
> path afterwards without symlinks... Ideas?

Like clang-check's test, make a new directory containing a 
compile_commands.json, but then set PWD to the tests directory and use the test 
source file.

Or maybe make a new unit test instead -- then you don't need to run the tool at 
all.
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to