[PATCH xorg-gtest 1/3] Added --xorg-logfile option.
Daniel d'Andrada
daniel.dandrada at canonical.com
Mon Jan 30 09:51:02 PST 2012
On 01/30/2012 03:43 PM, walter harms wrote:
>
> Am 30.01.2012 18:32, schrieb Daniel d'Andrada:
>> And by default point to a location that doesn't require root privileges
>> to be used. This is an enabler to make it possible to run Xorg without
>> being root.
>>
>> Signed-off-by: Daniel d'Andrada<daniel.dandrada at canonical.com>
>>
>> diff --git a/include/xorg/gtest/environment.h
>> b/include/xorg/gtest/environment.h
>> index fd550e7..65a28d5 100644
>> --- a/include/xorg/gtest/environment.h
>> +++ b/include/xorg/gtest/environment.h
>> @@ -48,11 +48,13 @@ namespace testing {
>> * with the overall testing framework like
>> * @code
>> * std::string xorg_conf_path("conf/dummy.conf");
>> + * std::string xorg_logfile_path("./MyXorg.log");
> Do you realy want all the log crap in you $HOME instead a nice subdir
> where you can kill them all at once ?
>
> It has nothing to do being root or not
That's just some simple example code for this method's documentation.
This is not "live" code.
- Daniel
More information about the xorg-devel
mailing list