[SSSD] rawhide test failure: krb5-utils-tests

Stephen Gallagher sgallagh at redhat.com
Wed Mar 13 12:02:26 UTC 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed 13 Mar 2013 07:16:24 AM EDT, Sumit Bose wrote:
> On Wed, Mar 13, 2013 at 12:01:37PM +0100, Pavel Březina wrote:
>> On 03/11/2013 10:31 PM, Nathaniel McCallum wrote:
>>> http://koji.fedoraproject.org/koji/taskinfo?taskID=5108784
>> 
>> I managed to reproduce it on f18 x86_64. I was unable to
>> reproduce it with rawhide i386.
>> 
>> The test that is failing is test_compare_principal_realm.
>> 
>> src/tests/krb5_utils-tests.c:704:F:Helper 
>> functions:test_compare_principal_realm:0: Same realm but
>> different_realm is not false.
>> 
>> The condition is apparently invalid and it depends on an 
>> initialization value of different_realm. I will send a patch
>> after it is successfully built in koji.
> 
> wow, thank you for catching this.
> 
>> 
>> Compile-time optimization has to be disabled on x86_64,
>> otherwise the problem does not show.
> 
> I wonder if it is possilbe to tell autoconf/automake to run the
> tests multiple times with different complier options?
> 

Yes, it's possible, but ugly. You basically just need to copy-paste
the tests, change their name (e.g. krb5_utils_SOURCES becomes
krb5_utils_noopt_SOURCES) and just give different CFLAGS to the
*_CFLAGS variable.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.13 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlFAatIACgkQeiVVYja6o6N9iQCfRlKmNjHGQFGMaaM7n7OdJKLp
KvkAoJz8uWZBlduheRMZUdBBQ/QuRcaI
=nTEI
-----END PGP SIGNATURE-----



More information about the sssd-devel mailing list