[Piglit] [PATCH] summary.py: escape \ from Windows results when creating folders on Linux
Emil Velikov
emil.l.velikov at gmail.com
Sun Nov 23 07:15:15 PST 2014
On 23/11/14 09:46, Jose Fonseca wrote:
> On 22/11/14 19:36, Emil Velikov wrote:
>> Seemingly this is sufficient for a Windows piglit run/result file to be
>> ran under Linux and the correct directory structure (and html) to be
>> generated.
>>
>> Unfortunately my python-fu is a bit short so I'm not sure if(how much)
>> this will backfire when used on Windows with either Linux or Windows
>> result file.
>>
>> v2: Attempt to handle Linux results on Windows.
>
> I think v2 is not necessary. '/' should work just fine. But without
> testing I can't claim I'm sure.
>
temp_path is used to create the path via makedirs a few lines below.
Considering how picky the latter is, on Linux, I've decided to go the
explicit route :P Will try to give it a test some time in the week.
-Emil
More information about the Piglit
mailing list