Without ICU installed I get the following results from the base test
suite on an OpenSuse 11.3 64-bit system. (GNUstep freshly from SVN) I am
using gcc 4.5.0 and the libobjc that comes along with it:
5456 Passed tests
34 Failed tests
5 Skipped sets
1 Dashed hope
The first fail is this one:
base/NSBundle/general.m:
Failed test: general.m:24 ... -principalClass returns NSObject for
the +bundleForLibrary:gnustep-base
Running the NSBundle tests separately gives the following log file:
Compiling file general.m ...
general.m: In function ‘main’:
general.m:23:3: warning: cast from pointer to integer of different size
general.m:23:3: warning: comparison between pointer and integer
general.m:32:3: warning: cast from pointer to integer of different size
general.m:32:3: warning: comparison between pointer and integer
general.m:35:3: warning: cast from pointer to integer of different size
general.m:35:3: warning: comparison between pointer and integer
general.m:68:3: warning: cast from pointer to integer of different size
general.m:68:3: warning: comparison between pointer and integer
general.m:73:3: warning: cast from pointer to integer of different size
general.m:73:3: warning: comparison between pointer and integer
Linking test_tool general ...
Running base/NSBundle/general.m...
This is gnustep-make 2.4.0. Type 'gmake print-gnustep-make-help' for help.
Passed test: +bundleForLibrary: makes a bundle for us
Failed test: general.m:24 ... -principalClass returns NSObject for
the +bundleForLibrary:gnustep-base
This looks like a 64 bit issue and I would say it is caused by the PASS
macros missing a few brackets. In Testing.h we have:
_cond = (int) expression; \
Which definitely should be
_cond = (int)(expression); \
But why are we using the local copy at all?
All the other macros in that file look a bit fragile as well.
Cheers
Fred
_______________________________________________
Discuss-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnustep