<div dir="ltr">OK, I'm going to implement a newline separated list format for V3 of these patches. If you want to rename the tests, just rename them in the json file.</div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Wed, May 22, 2013 at 1:39 PM, Eric Anholt <span dir="ltr"><<a href="mailto:eric@anholt.net" target="_blank">eric@anholt.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5">Kenneth Graunke <<a href="mailto:kenneth@whitecape.org">kenneth@whitecape.org</a>> writes:<br>
<br>
> On 05/19/2013 07:30 AM, Ken Phillis Jr wrote:<br>
>> On Sun, May 19, 2013 at 1:07 AM, Kenneth Graunke <<a href="mailto:kenneth@whitecape.org">kenneth@whitecape.org</a>> wrote:<br>
>>> On 05/18/2013 09:35 PM, Dylan Baker wrote:<br>
>>>><br>
>>>> My problem with the current list format is its too complex, and is<br>
>>>> trying to solve nonexistent problems. There is no reason one should need<br>
>>>> to rename the test results in the HTML summary. It's only going to lead<br>
>>>> to headaches later on trying to identify what is actually in that column<br>
>>>> "corrected name".<br>
>>>><br>
>>>> I personally like either nothing, since it doesn't appear that is a<br>
>>>> popular feature, or a simple space, coma, or new line separated list of<br>
>>>> results files. Its clean, simple, and doesn't require much explanation.<br>
>>><br>
>>><br>
>>> Personally, I see no value in the ability to load a list of results files.<br>
>>> Specifying them on the command line works just fine. I had assumed it was a<br>
>>> newline or space separated list, but apparently it's something more<br>
>>> complicated. I don't even know the syntax, and I've been using Piglit for<br>
>>> years...<br>
>>><br>
>>> Does anybody even use that feature?<br>
>>><br>
>><br>
>> Yes, I am actually one of the few users that use the list feature.<br>
><br>
> Okay, cool, so someone does use it...<br>
><br>
>> I also knew that the name override did not work. This probably was<br>
>> broken during one of the many changes to the piglit python scripts. As<br>
>> for reasons to use the override, It's mainly a convenience feature to<br>
>> help prevent people from having problems opening up the large results<br>
>> files that is produced during the quick-driver tests.<br>
>><br>
>>> I also don't understand the need to rename the columns when specifying the<br>
>>> result files. If I want to rename a result (usually because I typo'd when<br>
>>> doing piglit-run), I just edit the file and change the name...<br>
>>><br>
>>> I'm not a fan of making this a fancy json syntax unless there's a real<br>
>>> compelling use case.<br>
>><br>
>> The compelling reason is that it is not exactly easy for a lot of<br>
>> developers looking at getting into fixing bugs related to mesa that<br>
>> appear in piglit may not be able to handle the text editors nor have<br>
>> knowledge of the various text editors. I know that vi and nano can<br>
>> handle the larger files without a problem, but most of the time novice<br>
>> developers will open up the text file using the easier to handle x11<br>
>> based editors that are included with the desktop environment. This<br>
>> means that the text editors that are used will be gedit ( for gnome ),<br>
>> pluma ( for mate desktop), and whatever else is used in the other text<br>
>> editors. I have personally found that gedit (and pluma ) do not handle<br>
>> the large json results files very well even on a modern machine with 2<br>
>> gb (or more) of system memory<br>
><br>
> Frankly, the fact that gedit has trouble with this is just plain<br>
> embarassing. KDE's text editors (kwrite and kate) both handle these<br>
> files just fine...instantly available and ready to work with.<br>
><br>
> I would file a bug against those text editors. I don't think this is<br>
> something we should work around in Piglit.<br>
<br>
</div></div>We shouldn't be working around bad text editors in piglit.<br>
<br>_______________________________________________<br>
Piglit mailing list<br>
<a href="mailto:Piglit@lists.freedesktop.org">Piglit@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/piglit" target="_blank">http://lists.freedesktop.org/mailman/listinfo/piglit</a><br>
<br></blockquote></div><br></div>