nwios / oauthconsumer

Automatically exported from code.google.com/p/oauthconsumer
0 stars 0 forks source link

Tests fail for ppc (when building on i386) #1

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I cleaned and then built all on 10.5.2 on a MacBook Pro.  I tried both Debug 
and Release.  I get three 
errors:

error: -[OATokenTest testInitWithKeychainUsingAppName] : '(null)' should be 
equal to '123456' 
Token key was incorrectly populated as: (null)

error: -[OATokenTest testInitWithKeychainUsingAppName] : '(null)' should be 
equal to 'abcdef' 
Token secret was incorrectly populated as: (null)

error: Failed tests for architecture 'ppc' (GC OFF)

Original issue reported on code.google.com by luisjdel...@gmail.com on 9 May 2008 at 4:51

GoogleCodeExporter commented 8 years ago
Thanks for reporting this. I have also run into this issue and it appears to be 
a bug
in Apple's unit test framework. If you run these same tests on a PPC machine, 
they
pass. The problem seems to be with the PPC emulation on Intel boxes. I traced 
it into
the Keychain sources provided by Apple as part of Darwin and found that the 
tests
were triggering their fallback error handler for conditions they did not 
anticipate.
There were also "fix me" comments around that area of their code so I stopped
pursuing it any further.

I will add a comment in a README file about this matter.

Original comment by jon.r.cr...@gmail.com on 22 Jul 2008 at 7:17

GoogleCodeExporter commented 8 years ago
Hiya,
Just thought you'd like to know, I ran into this issue today after connecting 
to the
repo and building the project.  Quick google found this issue.  However, I 
can't see
any README in the obj-c folder, although there is one in the obj-c1 folder.  
I'll
just ignore those tests for now.

Original comment by peter.m....@gmail.com on 6 Jul 2009 at 4:39