[Piglit] [PATCH 01/14] cmake: Add options BUILD_GLES{1, 2} tests
Chad Versace
chad.versace at linux.intel.com
Tue May 22 14:39:05 PDT 2012
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 05/21/2012 11:59 PM, Jordan Justen wrote:
> On Mon, May 21, 2012 at 11:15 PM, Chad Versace
> <chad.versace at linux.intel.com> wrote:
>> Default value for each is OFF.
>>
>> Before this patch, Piglit automatically built the GLES1 tests if libEGL
>> and libGLESv1_CM were found. Ditto for GLES2 and libGLESv2. If these
>> libraries were installed on the system, it was impossible to disable the
>> tests.
>>
>> This patch adds options to explicitly enable the tests.
>>
>> Signed-off-by: Chad Versace <chad.versace at linux.intel.com>
>> ---
>> CMakeLists.txt | 4 ++++
>> cmake/target_api/CMakeLists.txt | 11 +++++++++--
>> 2 files changed, 13 insertions(+), 2 deletions(-)
>> diff --git a/cmake/target_api/CMakeLists.txt b/cmake/target_api/CMakeLists.txt
>> index f0c0e13..b8059de 100644
>> --- a/cmake/target_api/CMakeLists.txt
>> +++ b/cmake/target_api/CMakeLists.txt
>> @@ -23,6 +23,13 @@
>> # Chad Versace <chad.versace at intel.com>
>>
>> add_subdirectory(gl)
>> -add_subdirectory(gles1)
>> -add_subdirectory(gles2)
>> +
>> +if(BUILD_GLES1_TESTS)
>> + add_subdirectory(gles1)
>> +endif(BUILD_GLES1_TESTS)
>> +
>> +if(BUILD_GLES1_TESTS)
>> + add_subdirectory(gles2)
>> +endif(BUILD_GLES1_TESTS)
>
> Should this be BUILD_GLES2_TESTS?
Oops. Thanks for catching that. I'll fix it in the final patch.
- ----
Chad Versace
chad.versace at linux.intel.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQIcBAEBAgAGBQJPvAd4AAoJEAIvNt057x8iC1EP/17K2QcMlXmMBcAn+RXbeNhY
Bkw0R3tQlVwcTPl/y+o72mMglIFWxmXVEUDEYHzEJ9P/Bqun0eoBToD4iEIp351Z
jPCnirdboadbPPmmcrKcdow9zShkMtz5qUGqZXeVTTRlklReKJU//RFU3LWPOdBC
IOKFokF6UbvkgZqciIMYVuIVS4JVhrTMA2pkFDBLgKk2/aAPECjtgOfCL3Z4Ujyy
XKlRSGM320VL8MCPBMEw9OPO8Jqd/Zt540Ke8EqO9V6gk4NS3njCCz6kcZ2+UlJA
tOLrgzzs8yEvuaRXUdzGJnR5nYdJbvAEjYilfzB2qQa17ZqdBzk4L6HWA+siE+u4
P1CA33+SLG9/P0sZRnHzKQvcOdfQd72bLuhMz5kBL6lqd6GIiN4JjlYIC9BXqsWG
7/zjZVpxg4OgE4jOendlWIGRSsaX7Un63oXaXAL2uLnmspeI3pcQ6TJDHjlm04GJ
ez44Eod8c/KZaJqEkwsrnPkXPtJDEOGTj52cqIVzTaZHJQQaGet9e4qVYd2nwPKi
eWYogUMRJI754sXT0FgoXyp69beHT8tPb5FU6YXh6oWo0fByWLGuwiWpHXm9/TBM
UaFSXdueMCbddUm0Q2iyJUjWwo1lPmDrYA3bxIyYXgwKdfFTb+UhskJZr1e4FgSm
T2h1Pzqz8RfTyydaAxCW
=87O3
-----END PGP SIGNATURE-----
More information about the Piglit
mailing list