[Piglit] New case for intel_swap_event
Ian Romanick
idr at freedesktop.org
Mon Oct 11 14:11:54 PDT 2010
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Ian Romanick wrote:
> Zhao, Jian J wrote:
>> Hi,
>
>> Recently I have made a piglit case that can test the behaviors of
>> buffer swap, they are 1) test whether we can get swap events. 2) verify
>> whether the swap is asynchronous 3) verify the swap frequency of swap
>> interval being 0 is larger than interval being 1. Jesse has helped me
>> have brief look on it and give me some advice. I have modified it. Can
>> you help to add it into piglit tests? Thanks for help and comments!
>
> Please send tests as patches using git-send-email. This enables people
> to put review comments in-line.
AND all of the @sourceforge.net lists have been *dead* for over a year.
Send pitlit tests to piglit at lists.freedesktop.org.
> - Fix the comment and license at the top of the file.
>
> - Re-wrap lines to 80 columns.
>
> - Fix broken whitespace usage
>
> }else{
>
> should be
>
> } else {
>
> and
>
> if(foo){
>
> should be
>
> if (foo) {
>
> etc.
>
> - piglit_report_result already calls exit, so the calls to exit in the
> code after calls to piglit_report_result are not necessary.
>
> - Use the utility routines in piglit-glx-util.c instead of open-coding
> them.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkyzfZkACgkQX1gOwKyEAw9KNwCggAUuidE2p8b4ezaTHf6QOqNt
jlQAnjh5T0Xibg018REZ7Y//6dRhyl8Y
=wue7
-----END PGP SIGNATURE-----
More information about the Piglit
mailing list