[Piglit] [PATCH 00/12] Move all the misc platform 'hacks' to util

Emil Velikov emil.l.velikov at gmail.com
Sat Nov 22 14:40:22 PST 2014


Hi all,

Feeling inspired by Jose's recent work I decided to do a bit of 
cleanup :)

The series aims to:
 - Nuke/move the remaining ifdef _WIN32 _MSC_VER hacks into tests/util.
 - Improve piglit_getmicroseconds (add fallback for CLOCK_MONOTONIC) 
 - Convert {arb,ext}_timer_query to use it. On paper this should 
help with the inconsistent results some folks are having.
 - Move the hand-rolled string functions into the header (as static 
inline funcs) thus piglitutil* no longer provides/exports str* 
symbols.

As usual any input is appreciated while the series can be found at 
github, for anyone that wants to give it a spin.

https://github.com/evelikov/piglit/tree/for-upstream/util-cleanup-v2

Cheers,
Emil



More information about the Piglit mailing list