Updated corebase to rev 35167.

- Two remaining compilation warnings :

 Compiling file CFLocale.c ...
CFLocale.c:335:15: warning: result of comparison against a string
literal is unspecified (use strncmp instead) [-Wstring-compare]
  if (context == (const void*)ICU_CALENDAR_KEY)
              ^  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.

 Compiling file NSCFError.m ...
NSCFError.m:48:10: warning: incompatible pointer types returning
'CFErrorRef' (aka 'NSError *') from a function with result type
'NSCFError *' [-Wincompatible-pointer-types]
  return CFErrorCreate (NULL, domain, code, userInfo);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.


- Problem in configure.ac and Source/GNUmakefile.in when using gnustep
libobjc2 and gcc libobjc is installed :
I have to edit manually Source/GNUmakefile

     => 1st try : replace -lobjc with -l:libobjc.so.4

$ make check
    ...
    198 Passed tests
      8 Failed builds
      1 Failed test
      1 Failed file
      1 Dashed hope

Error in tests.log :
...
Building in CFLocale
Making all for test_tool create...
Making all for test_tool displayvalues...
Making all for test_tool identifier...
Making all for test_tool values...
 Compiling file create.m ...
 Compiling file displayvalues.m ...
 Compiling file identifier.m ...
 Compiling file values.m ...
 Linking test_tool identifier ...
 Linking test_tool displayvalues ...
 Linking test_tool create ...
 Linking test_tool values ...
/home/benoit/Projets/OpenSource/objc/GNUstep-anonymous/dev-libs/corebase/Source/./obj/libgnustep-corebase.so:
undefined reference to `__objc_class_name_NSObject'
/home/benoit/Projets/OpenSource/objc/GNUstep-anonymous/dev-libs/corebase/Source/./obj/libgnustep-corebase.so:
undefined reference to `__objc_class_name_NSObject'
/home/benoit/Projets/OpenSource/objc/GNUstep-anonymous/dev-libs/corebase/Source/./obj/libgnustep-corebase.so:
undefined reference to `__objc_class_name_NSMutableString'
/home/benoit/Projets/OpenSource/objc/GNUstep-anonymous/dev-libs/corebase/Source/./obj/libgnustep-corebase.so:
undefined reference to `__objc_class_name_NSMutableString'
/home/benoit/Projets/OpenSource/objc/GNUstep-anonymous/dev-libs/corebase/Source/./obj/libgnustep-corebase.so:
undefined reference to `__objc_class_name_NSBundle'
...


    => 2nd try : replace -lobjc with `gnustep-config --base-libs`

`gnustep-config --base-libs` = -rdynamic -pthread -fobjc-nonfragile-abi
-fgnu-runtime -L/home/benoit/GNUstep/Library/Libraries
-L/usr/GNUstep/Local/Library/Libraries
-L/usr/GNUstep/System/Library/Libraries -lgnustep-base -l:libobjc.so.4 -lm

$ make check
    ...
    251 Passed tests
      2 Failed tests
      1 Failed file
      1 Dashed hope

tests.log attached.

- Trace for error in ./Tests/CFAttributedString/obj/mutable :

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7086efe in objc_test_class_flag (aClass=0x74007300200061,
flag=objc_class_flag_hidden_class) at
/home/benoit/Projets/OpenSource/objc/GNUstep-anonymous/dev-libs/libobjc2/./class.h:248
248        return (aClass->info & (unsigned long)flag) == (unsigned
long)flag;
(gdb) bt
#0  0x00007ffff7086efe in objc_test_class_flag (aClass=0x74007300200061,
flag=objc_class_flag_hidden_class) at
/home/benoit/Projets/OpenSource/objc/GNUstep-anonymous/dev-libs/libobjc2/./class.h:248
#1  0x00007ffff708791f in object_getClass (obj=0x687350) at runtime.c:757
#2  0x00007ffff72c2939 in CFGetTypeID (cf=<optimized out>) at
CFRuntime.c:308
#3  0x00007ffff72c2ca2 in CFHash (cf=<error reading variable: Unhandled
dwarf expression opcode 0xf1>) at CFRuntime.c:318
#4  0x00007ffff72cf6f9 in GSHashTableFindBucket (table=<error reading
variable: Unhandled dwarf expression opcode 0x0>, key=<error reading
variable: Unhandled dwarf expression opcode 0x0>) at GSHashTable.c:187
#5  0x00007ffff72d02e4 in GSHashTableRemoveValue (table=<optimized out>,
key=<optimized out>) at GSHashTable.c:653
#6  0x00007ffff72b8fdb in CFAttributedStringUncacheAttribute
(attribs=<optimized out>, attribs=<optimized out>, attribs=<optimized
out>) at CFAttributedString.c:137
#7  RemoveAttributesAtIndex (str=<error reading variable: Unhandled
dwarf expression opcode 0x0>, range=...) at CFAttributedString.c:523
#8  0x00007ffff72b8eff in CFAttributedStringCreateMutableCopy
(alloc=<error reading variable: Unhandled dwarf expression opcode 0x0>,
maxLength=<optimized out>, str=<optimized out>) at CFAttributedString.c:625
#9  0x000000000040122f in main () at mutable.m:24


Benoit



Le 27/05/2012 17:52, Stefan Bidi a écrit :
> On Sun, May 27, 2012 at 10:11 AM, Fred Kiefer <[email protected]> wrote:
>> David's and your changes help a lot. The only remaining compiler warning I
>> get is this:
>>
>> Compiling file CFTimeZone.c ...
>> CFTimeZone.c: In function ‘CFTimeZoneCreate’:
>> CFTimeZone.c:163:3: warning: dereferencing type-punned pointer will break
>> strict-aliasing rules [-Wstrict-aliasing]
>> CFTimeZone.c:164:3: warning: dereferencing type-punned pointer will break
>> strict-aliasing rules [-Wstrict-aliasing]
>> CFTimeZone.c:165:3: warning: dereferencing type-punned pointer will break
>> strict-aliasing rules [-Wstrict-aliasing]
> I've known about this for sometime now, but not sure how to tell the
> compiler "trust me, I know what I'm doing this time!"
>
>> And the tests look much better as well:
>>
>>
>> CFString/format.m:
>> Failed test:     format.m:28 ... Float/Doubles are formatted correctly
> Could I get your tests.log file?  Not sure why this would fail.  The
> only explanation I've got is rounding error.
>
>> --- Running tests in CFTimeZone ---
>>
>> CFTimeZone/general.m:
>> Failed test:     general.m:54 ... Daylight Saving time offset at 0 second
>> from absolute epoch is '3600.000000'.
> I'll eventually fix this.
>
>> --- Running tests in CFTree ---
>> --- Running tests in CFURL ---
>> --- Running tests in CFURLAccess ---
>>
>> CFURLAccess/basic.m:
>> Failed test:     basic.m:24 ... Directory was successfully created.
> This is giving you an error because the test is trying to create a
> directory that already exists.  It exists because the last time you
> ran the test it crashed before cleaning up.  Running them again will
> yield a different result now that it ran to the end and deleted
> everything correctly.
>
>> --- Running tests in CFUUID ---
>> find: `TestDir': Datei oder Verzeichnis nicht gefunden
>>
>>    259 Passed tests
>>      3 Failed tests
>>      1 Dashed hope
>>
>>
>> _______________________________________________
>> Discuss-gnustep mailing list
>> [email protected]
>> https://lists.gnu.org/mailman/listinfo/discuss-gnustep
> _______________________________________________
> Discuss-gnustep mailing list
> [email protected]
> https://lists.gnu.org/mailman/listinfo/discuss-gnustep
Building in CFArray
Making all for test_tool create...
Making all for test_tool mutablearray...
 Compiling file create.m ...
 Compiling file mutablearray.m ...
mutablearray.m:35:21: warning: incompatible pointer types passing 'CFMutableArrayRef' (aka 'NSMutableArray *') to parameter of type 'CFArrayRef' (aka 'NSArray *') [-Wincompatible-pointer-types]
  CFArrayGetValues (ma, CFRangeMake(0, len), (const void**)buf);
                    ^~
/home/benoit/Projets/OpenSource/objc/GNUstep-anonymous/dev-libs/corebase/Headers/CoreFoundation/CFArray.h:103:30: note: passing argument to parameter 'theArray' here
CFArrayGetValues (CFArrayRef theArray, CFRange range, const void **values);
                             ^
mutablearray.m:39:29: warning: incompatible pointer types passing 'CFMutableArrayRef' (aka 'NSMutableArray *') to parameter of type 'CFArrayRef' (aka 'NSArray *') [-Wincompatible-pointer-types]
  n = CFArrayBSearchValues (ma, CFRangeMake(2, len - 2), (const void*)5, comp, NULL);
                            ^~
/home/benoit/Projets/OpenSource/objc/GNUstep-anonymous/dev-libs/corebase/Headers/CoreFoundation/CFArray.h:82:34: note: passing argument to parameter 'theArray' here
CFArrayBSearchValues (CFArrayRef theArray, CFRange range, const void *value,
                                 ^
mutablearray.m:42:29: warning: incompatible pointer types passing 'CFMutableArrayRef' (aka 'NSMutableArray *') to parameter of type 'CFArrayRef' (aka 'NSArray *') [-Wincompatible-pointer-types]
  n = CFArrayBSearchValues (ma, CFRangeMake(0, len), (const void*)6, comp, NULL);
                            ^~
/home/benoit/Projets/OpenSource/objc/GNUstep-anonymous/dev-libs/corebase/Headers/CoreFoundation/CFArray.h:82:34: note: passing argument to parameter 'theArray' here
CFArrayBSearchValues (CFArrayRef theArray, CFRange range, const void *value,
                                 ^
 Linking test_tool create ...
3 warnings generated.
 Linking test_tool mutablearray ...

Testing create.m...
Running CFArray/create.m...
Passed test:     create.m:13 ... CFArray created.
Passed test:     create.m:16 ... CFArray has correct number of values.
Passed test:     create.m:18 ... Found 1 occurence of the 1.
Passed test:     create.m:21 ... Found value at index 2.
Passed test:     create.m:26 ... An array with no values return non-NULL.
Completed file:  create.m

Testing mutablearray.m...
Running CFArray/mutablearray.m...
Passed test:     mutablearray.m:24 ... CFArray created.
Passed test:     mutablearray.m:27 ... CFMutableArray created.
Passed test:     mutablearray.m:32 ... CFMutableArray has correct number of values.
Passed test:     mutablearray.m:37 ... Array sorted correctly.
Passed test:     mutablearray.m:40 ... Index of number 5 is 4.
Passed test:     mutablearray.m:43 ... Index of value between values is 5.
Completed file:  mutablearray.m

Building in CFAttributedString
Making all for test_tool general...
Making all for test_tool mutable...
 Compiling file mutable.m ...
 Compiling file general.m ...
mutable.m:35:11: warning: incompatible pointer types assigning to 'CFDictionaryRef' (aka 'NSDictionary *') from 'CFMutableDictionaryRef' (aka 'NSMutableDictionary *') [-Wincompatible-pointer-types]
  attrib2 = CFDictionaryCreateMutable (NULL, 2,
          ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mutable.m:38:25: warning: incompatible pointer types passing 'CFDictionaryRef' (aka 'NSDictionary *') to parameter of type 'CFMutableDictionaryRef' (aka 'NSMutableDictionary *') [-Wincompatible-pointer-types]
  CFDictionaryAddValue (attrib2, keys[1], values[1]);
                        ^~~~~~~
/home/benoit/Projets/OpenSource/objc/GNUstep-anonymous/dev-libs/corebase/Headers/CoreFoundation/CFDictionary.h:153:46: note: passing argument to parameter 'theDict' here
CFDictionaryAddValue (CFMutableDictionaryRef theDict, const void *key,
                                             ^
mutable.m:40:25: warning: incompatible pointer types passing 'CFDictionaryRef' (aka 'NSDictionary *') to parameter of type 'CFMutableDictionaryRef' (aka 'NSMutableDictionary *') [-Wincompatible-pointer-types]
  CFDictionaryAddValue (attrib2, keys[0], values[0]);
                        ^~~~~~~
/home/benoit/Projets/OpenSource/objc/GNUstep-anonymous/dev-libs/corebase/Headers/CoreFoundation/CFDictionary.h:153:46: note: passing argument to parameter 'theDict' here
CFDictionaryAddValue (CFMutableDictionaryRef theDict, const void *key,
                                             ^
 Linking test_tool general ...
3 warnings generated.
 Linking test_tool mutable ...

Testing general.m...
Running CFAttributedString/general.m...
Passed test:     general.m:23 ... Attributed string was correctly created.
Passed test:     general.m:27 ... Attribute range is (0, 17).
Passed test:     general.m:28 ... Attributes are the same.
Passed test:     general.m:31 ... Copied attributed string is equal.
Passed test:     general.m:35 ... Copied attribute range is (0, 17).
Passed test:     general.m:36 ... Copied attributes are the same.
Completed file:  general.m

Testing mutable.m...
Running CFAttributedString/mutable.m...
/usr/GNUstep/System/Tools/gnustep-tests : ligne 300 : 13017 Erreur de segmentation  (core dumped) $RUN_CMD
Failed file:     mutable.m aborted without running all tests!

Building in CFBinaryHeap
Making all for test_tool general...
 Compiling file general.m ...
 Linking test_tool general ...

Testing general.m...
Running CFBinaryHeap/general.m...
Passed test:     general.m:17 ... Binary heap was created.
Passed test:     general.m:22 ... Binary heap has 6 values.
Passed test:     general.m:24 ... Binary heap has value.
Passed test:     general.m:27 ... Value 10 appears 2 times in binary heap.
Passed test:     general.m:31 ... All values are in the binary heap.
Passed test:     general.m:35 ... Minimum value in binary heap is 5.
Completed file:  general.m

Building in CFCalendar
Making all for test_tool basic...
Making all for test_tool create...
 Compiling file create.m ...
 Compiling file basic.m ...
 Linking test_tool create ...
 Linking test_tool basic ...

Testing basic.m...
Running CFCalendar/basic.m...
Passed test:     basic.m:22 ... Absolute time composed.
Passed test:     basic.m:24 ... Absolute time composed correctly (331779600,000000).
Passed test:     basic.m:28 ... Absolute time decomposed.
Passed test:     basic.m:29 ... Year decomposed correctly.
Passed test:     basic.m:30 ... Month decomosed correctly.
Passed test:     basic.m:31 ... Hour decomposed correctly.
Passed test:     basic.m:34 ... Got component difference.
Passed test:     basic.m:35 ... Seconds difference is 3600
Passed test:     basic.m:39 ... Got wrapped components difference.
Passed test:     basic.m:42 ... Component difference is 1 hour(s), 1 minute(s) and 3 second(s)
Passed test:     basic.m:45 ... Got time range of kCFCalendarUnitWeekday.
Passed test:     basic.m:46 ... Got start of weekday (331347600,000000).
Passed test:     basic.m:48 ... Time interval is 1 day(s) long (86400,000000).
Completed file:  basic.m

Testing create.m...
Running CFCalendar/create.m...
Passed test:     create.m:12 ... Calendar created.
Passed test:     create.m:14 ... Correct calendar identifier.
Passed test:     create.m:18 ... CFCalendarCopyCurrent returns a calendar
Passed test:     create.m:22 ... Current calendar locale matches current locale.
Completed file:  create.m

Building in CFCharacterSet
Making all for test_tool basic...
Making all for test_tool mutable...
 Compiling file mutable.m ...
 Compiling file basic.m ...
 Linking test_tool mutable ...
 Linking test_tool basic ...

Testing basic.m...
Running CFCharacterSet/basic.m...
Passed test:     basic.m:12 ... Letter 'a' is part of character set.
Passed test:     basic.m:17 ... Character set with all ASCII characters is a superset of a charcter setincluding 'abcABC'.
Passed test:     basic.m:20 ... Characters set with 'abcABC' is not a superset of a character setincluding all ASCII characters
Passed test:     basic.m:26 ... Inverted character set does not include letter 'a'.
Passed test:     basic.m:28 ... Inverted character set includes character 0x00DD.
Completed file:  basic.m

Testing mutable.m...
Running CFCharacterSet/mutable.m...
Passed test:     mutable.m:11 ... Letter 'a' is part of mutable character set.
Passed test:     mutable.m:15 ... Letter 'a' was successfully removed from mutable character set.
Completed file:  mutable.m

Building in CFData
Making all for test_tool basic...
 Compiling file basic.m ...
 Linking test_tool basic ...

Testing basic.m...
Running CFData/basic.m...
Passed test:     basic.m:14 ... Data created.
Passed test:     basic.m:21 ... Copy of data is equal to original.
Completed file:  basic.m

Building in CFDate
Making all for test_tool basic...
 Compiling file basic.m ...
 Linking test_tool basic ...

Testing basic.m...
Running CFDate/basic.m...
Passed test:     basic.m:10 ... Date created correctly.
Passed test:     basic.m:14 ... First date is greater than second date.
Passed test:     basic.m:16 ... First date is one second ahead of second date.
Completed file:  basic.m

Building in CFDateFormatter
Making all for test_tool basic...
 Compiling file basic.m ...
 Linking test_tool basic ...

Testing basic.m...
Running CFDateFormatter/basic.m...
Passed test:     basic.m:21 ... Default format for de_DE locale is EEEE, d. MMMM y HH:mm
Passed test:     basic.m:25 ... Absolute time can be formatted using full date style.
Passed test:     basic.m:30 ... Absolute time gotten for 2/1/2003
Passed test:     basic.m:32 ... Absolute time for Montag, 1. Januar 2011 23:00 is 315612000,000000
Passed test:     basic.m:40 ... Absolute time can be formatted using no date style.
Passed test:     basic.m:46 ... Absolute time gotten for 20050403 02:01 vorm.
Passed test:     basic.m:48 ... Absolute time for 20050403 02:01 vorm. is 134186460,000000
Completed file:  basic.m

Building in CFLocale
Making all for test_tool create...
Making all for test_tool displayvalues...
Making all for test_tool identifier...
Making all for test_tool values...
 Compiling file create.m ...
 Compiling file identifier.m ...
 Compiling file displayvalues.m ...
 Compiling file values.m ...
 Linking test_tool identifier ...
 Linking test_tool displayvalues ...
 Linking test_tool create ...
 Linking test_tool values ...

Testing create.m...
Running CFLocale/create.m...
Passed test:     create.m:12 ... CFLocaleCopyCurrent() returns a value
Passed test:     create.m:16 ... CFLocaleCopyCurrent() returns a value
Passed test:     create.m:19 ... CFLocaleCreate() returns a value
Passed test:     create.m:21 ... en_ES_PREEURO is stored as es_ES@currency=ESP
Passed test:     create.m:23 ... CFLocaleCreateCopy() returns a value
Completed file:  create.m

Testing displayvalues.m...
Running CFLocale/displayvalues.m...
Passed test:     displayvalues.m:13 ... Display language is correct
Passed test:     displayvalues.m:18 ... Display country is correct
Passed test:     displayvalues.m:25 ... Display calendar identifier is correct
Passed test:     displayvalues.m:32 ... Display collation identifier is correct
Passed test:     displayvalues.m:38 ... Display currency code is correct
Completed file:  displayvalues.m

Testing identifier.m...
Running CFLocale/identifier.m...
Passed test:     identifier.m:17 ... Locale identifiers are the same
Passed test:     identifier.m:23 ... Locale components are the same
Completed file:  identifier.m

Testing values.m...
Running CFLocale/values.m...
Passed test:     values.m:15 ... 'pt_BR' measurement system is 'Metric'
Passed test:     values.m:17 ... Decimal separtor is ','
Passed test:     values.m:19 ... Grouping separator is '.'
Passed test:     values.m:21 ... Currency symbol is 'R$'
Passed test:     values.m:23 ... Currency code is 'BRL'
Passed test:     values.m:27 ... Locale identifier is correct
Passed test:     values.m:29 ... Language code is 'pt'
Passed test:     values.m:31 ... Country code is 'BR'
Passed test:     values.m:33 ... No script code for locale
Passed test:     values.m:35 ... No variant code for locale
Passed test:     values.m:37 ... Calendar is 'gregorian'
Passed test:     values.m:39 ... Returns valid CFCalendar
Passed test:     values.m:41 ... Collation identifier is 'traditional'
Passed test:     values.m:43 ... Uses metric system
Passed test:     values.m:45 ... Collator identifier is NULL
Passed test:     values.m:49 ... Quotation begin delimiter is correct
Passed test:     values.m:54 ... Quotation end delimiter is correct
Passed test:     values.m:59 ... Alternate quotation begin delimiter is correct
Passed test:     values.m:64 ... Alternate quotation end delimiter is correct
Completed file:  values.m

Building in CFNumber
Making all for test_tool general...
 Compiling file general.m ...
general.m:10:11: warning: unused variable 'f64' [-Wunused-variable]
  Float64 f64;
          ^
1 warning generated.
 Linking test_tool general ...

Testing general.m...
Running CFNumber/general.m...
Passed test:     general.m:14 ... CFNumberCreate() returns non-NULL
Passed test:     general.m:16 ... Integer is converted to SInt32(3).
Passed test:     general.m:20 ... Char is converted to SInt32(3).
Passed test:     general.m:23 ... Integer converted to SInt8.
Passed test:     general.m:24 ... SInt32 converted to SInt8 correctly.
Passed test:     general.m:27 ... Char converted to SInt32.
Passed test:     general.m:28 ... SInt8 converted to SInt32 correctly.
Passed test:     general.m:35 ... Short is converted to SInt32(3).
Passed test:     general.m:39 ... Float is converted to Float64(6).
Passed test:     general.m:42 ... Short converted to float.
Passed test:     general.m:43 ... Short converted to float correctly.
Passed test:     general.m:47 ... Float converted to short.
Passed test:     general.m:48 ... Float converted to short correctly.
Completed file:  general.m

Building in CFNumberFormatter
Making all for test_tool create...
Making all for test_tool format...
Making all for test_tool parse...
 Compiling file parse.m ...
 Compiling file create.m ...
 Compiling file format.m ...
 Linking test_tool create ...
 Linking test_tool format ...
 Linking test_tool parse ...

Testing create.m...
Running CFNumberFormatter/create.m...
Passed test:     create.m:15 ... CFNumberFormatterCreate() return non-nil
Passed test:     create.m:18 ... Default no-style format same as cocoa
Passed test:     create.m:26 ... Default decimal-style format same as cocoa
Passed test:     create.m:34 ... Default currency-style format same as cocoa
Passed test:     create.m:43 ... Default percent-style format same as cocoa
Passed test:     create.m:51 ... Default scientific-style format same as cocoa
Passed test:     create.m:56 ... CFNumberFormatterCreate() return non-nil for system locale
Completed file:  create.m

Testing format.m...
Running CFNumberFormatter/format.m...
Passed test:     format.m:25 ... SInt8 formatted correctly
Passed test:     format.m:32 ... SInt8 formatted correctly
Passed test:     format.m:39 ... SInt16 formatted correctly
Passed test:     format.m:46 ... SInt32 formatted correctly
Passed test:     format.m:53 ... SInt64 formatted correctly
Passed test:     format.m:60 ... Double formatted correctly
Completed file:  format.m

Testing parse.m...
Running CFNumberFormatter/parse.m...
Passed test:     parse.m:24 ... Got SInt8 value
Passed test:     parse.m:25 ... SInt8 value is '16'
Passed test:     parse.m:29 ... Got SInt16 value
Passed test:     parse.m:30 ... SInt16 value is '300'
Passed test:     parse.m:36 ... Got SInt32 value
Passed test:     parse.m:37 ... SInt32 value is '68456'
Passed test:     parse.m:43 ... Got SInt64 value
Passed test:     parse.m:44 ... SInt64 value is '315000000'
Passed test:     parse.m:51 ... Got double value
Passed test:     parse.m:52 ... Double value is '0,234'
Passed test:     parse.m:53 ... Parsed complete length
Completed file:  parse.m

Building in CFRuntime
Making all for test_tool runtime...
 Compiling file runtime.m ...
 Linking test_tool runtime ...

Testing runtime.m...
Running CFRuntime/runtime.m...
Passed test:     runtime.m:189 ... Points are equal
Passed test:     runtime.m:191 ... Points have same hash code.
Passed test:     runtime.m:193 ... Description is correct.
Passed test:     runtime.m:195 ... Type ID description is correct.
Passed test:     runtime.m:199 ... -initWithX:Y: returns non-nil
Passed test:     runtime.m:200 ... CF object and ObjC object are the same
Passed test:     runtime.m:202 ... ObjC returns same description as CF object
Start set:       runtime.m:204 ... Retain/Release Tests
End set:         runtime.m:209 ... Retain/Release Tests
Completed file:  runtime.m

Building in CFString
Making all for test_tool create...
Making all for test_tool general...
Making all for test_tool format...
Making all for test_tool encodings...
 Compiling file general.m ...
 Compiling file format.m ...
 Compiling file encodings.m ...
 Compiling file create.m ...
 Linking test_tool create ...
 Linking test_tool encodings ...
 Linking test_tool general ...
 Linking test_tool format ...
Making all for test_tool mutablestring...
 Compiling file mutablestring.m ...
 Linking test_tool mutablestring ...

Testing create.m...
Running CFString/create.m...
Passed test:     create.m:18 ... Unicode and C-string are equal.
Passed test:     create.m:27 ... Strings were combined successfully.
Completed file:  create.m

Testing encodings.m...
Running CFString/encodings.m...
Passed test:     encodings.m:11 ... Maximum size for 4 UTF-16 characters is 8 bytes.
Passed test:     encodings.m:14 ... Maximum size for 4 UTF-8 characters is 12 bytes.
Passed test:     encodings.m:17 ... Correctly converts to IANA Char Set.
Completed file:  encodings.m

Testing format.m...
Running CFString/format.m...
Passed test:     format.m:14 ... Characters are formatted correctly
Passed test:     format.m:21 ... Integers are formatted correctly
Failed test:     format.m:28 ... Float/Doubles are formatted correctly
expected 5.500000 5.5   3.000000e-06, but got 5,500000 5,5   3,000000e-06
Passed test:     format.m:35 ... Hexs are formatted correctly
Passed test:     format.m:42 ... Octals are formatted correctly
Passed test:     format.m:50 ... Strings are formatted correctly
Passed test:     format.m:57 ... Objects are formatted correctly
Completed file:  format.m

Testing general.m...
Running CFString/general.m...
Passed test:     general.m:13 ... There are 6 strings on separated string.
Passed test:     general.m:15 ... Value at index 1 is 'usr'
Passed test:     general.m:19 ... Combined string is \usr\local\share\GNUstep\
Passed test:     general.m:24 ... '\' was found.
Passed test:     general.m:26 ... String has range (10, 1)
Completed file:  general.m

Testing mutablestring.m...
Running CFString/mutablestring.m...
Passed test:     mutablestring.m:14 ... String is replaced correctly.
Passed test:     mutablestring.m:19 ... Uppercase mapping works.
Passed test:     mutablestring.m:22 ... Capitalize mapping works.
Passed test:     mutablestring.m:25 ... Lowercase mapping works
Passed test:     mutablestring.m:28 ... String is replaced whole.
Passed test:     mutablestring.m:36 ... String is trimmed correctly.
Passed test:     mutablestring.m:39 ... String replacement works
Passed test:     mutablestring.m:47 ... Padding works.
Passed test:     mutablestring.m:49 ... Truncating works.
Completed file:  mutablestring.m

Building in CFTimeZone
Making all for test_tool basic...
Making all for test_tool general...
 Compiling file basic.m ...
 Compiling file general.m ...
general.m:61:8: warning: incompatible pointer types assigning to 'CFDictionaryRef' (aka 'NSDictionary *') from 'CFMutableDictionaryRef' (aka 'NSMutableDictionary *') [-Wincompatible-pointer-types]
  dict = CFDictionaryCreateMutable (NULL, 0,
       ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 Linking test_tool basic ...
1 warning generated.
 Linking test_tool general ...

Testing basic.m...
Running CFTimeZone/basic.m...
Passed test:     basic.m:14 ... CFTimeZone create successfully.
Passed test:     basic.m:16 ... CFTimeZone has correct name.
Passed test:     basic.m:19 ... Time zone abbreviations are equal.
Passed test:     basic.m:22 ... GMT+00:00 offset from GMT is 0
Passed test:     basic.m:25 ... Next transition for GMT+00:00 is 0
Completed file:  basic.m

Testing general.m...
Running CFTimeZone/general.m...
Passed test:     general.m:31 ... 'Europe/Rome' time zone created.
Passed test:     general.m:35 ... Offset from GMT at 1000000 seconds from absolute epoch is '3600,000000'
Passed test:     general.m:37 ... On daylight saving time at 1000000 seconds from absolute epoch.
Passed test:     general.m:43 ... Standard localized name is correct.
Passed test:     general.m:47 ... Short standard localized name is correct.
Failed test:     general.m:54 ... Daylight Saving time offset at 0 second from absolute epoch is '3600,000000'.
Passed test:     general.m:57 ... Next daylight saving transition is at '7174800,000000'.
Completed file:  general.m

Building in CFTree
Making all for test_tool basic...
 Compiling file basic.m ...
 Linking test_tool basic ...

Testing basic.m...
Running CFTree/basic.m...
Passed test:     basic.m:27 ... Tree has three children.
Passed test:     basic.m:28 ... Parent is the original tree object.
Passed test:     basic.m:29 ... First child is child1.
Passed test:     basic.m:31 ... Next sibling for child1 is child2.
Passed test:     basic.m:32 ... Child3 is at index 2
Completed file:  basic.m

Building in CFURL
Making all for test_tool create...
Making all for test_tool escaping...
Making all for test_tool file_system_path...
Making all for test_tool ref_resolution...
 Compiling file create.m ...
 Compiling file escaping.m ...
 Compiling file ref_resolution.m ...
 Compiling file file_system_path.m ...
 Linking test_tool escaping ...
 Linking test_tool ref_resolution ...
 Linking test_tool create ...
 Linking test_tool file_system_path ...

Testing create.m...
Running CFURL/create.m...
Passed test:     create.m:12 ... URL created.
Passed test:     create.m:14 ... Absolute URL of an absolute URL are the same.
Passed test:     create.m:22 ... http://user:[email protected]:5/silly-file-path/ path can be decomposed
Passed test:     create.m:25 ... Path of http://user:[email protected]:5/silly-file-path/ is /silly-file-path/
Passed test:     create.m:29 ... User name of http://user:[email protected]:5/silly-file-path/ is user
Passed test:     create.m:33 ... Password of http://user:[email protected]:5/silly-file-path/ is password
Passed test:     create.m:37 ... resourceSpecifier of http://www.w3.org/silly-file-path/ is NULL
Passed test:     create.m:41 ... additional/string path can be decomposed since base URL is decomposable
Passed test:     create.m:43 ... String is additional/string
Passed test:     create.m:46 ... Copied path is not resolved against base.
Dashed hope:     create.m:50 ... Resource specifier of relative url is NULL
Passed test:     create.m:59 ... http://www.w3.org/silly-file-name?query#fragment path can be decomposed
Passed test:     create.m:62 ... Scheme of http://www.w3.org/silly-file-name is http
Passed test:     create.m:66 ... Host of http://www.w3.org/silly-file-name is www.w3.org
Passed test:     create.m:70 ... Strict path of http://www.w3.org/silly-file-name is silly-file-name
Passed test:     create.m:75 ... Resource specifier of http://www.w3.org/silly-file-name?query#fragment is ?query#fragment
Passed test:     create.m:79 ... Query of http://www.w3.org/silly-file-name?query#fragment is query
Passed test:     create.m:83 ... Fragment of http://www.w3.org/silly-file-name?query#fragment is fragment
Passed test:     create.m:92 ... Parameter string for http://www.w3.org/silly;type=test
Passed test:     create.m:96 ... Resource specifier of http://www.w3.org/silly;type=test is ;test=test.
Passed test:     create.m:102 ... URL with 'this isn't a URL' returns NULL
Completed file:  create.m

Testing escaping.m...
Running CFURL/escaping.m...
Passed test:     escaping.m:14 ... URL string is escaped correctly.
Passed test:     escaping.m:20 ... Correct characters escaped.
Passed test:     escaping.m:23 ... No percent escapes were replaced.
Passed test:     escaping.m:27 ... Percent escapes replaced correctly.
Passed test:     escaping.m:35 ... Correct characters escaped.
Passed test:     escaping.m:38 ... Percent escapes replaced correctly.
Completed file:  escaping.m

Testing file_system_path.m...
Running CFURL/file_system_path.m...
Passed test:     file_system_path.m:12 ... C:\WINDOWS path can be decomposed
Passed test:     file_system_path.m:14 ... Windows style path of file URL C:\WINDOWS is file://localhost/C:/WINDOWS/
Passed test:     file_system_path.m:16 ... Resource specifier of C:\WINDOWS is NULL
Passed test:     file_system_path.m:18 ... File system path is C:\WINDOWS
Passed test:     file_system_path.m:21 ... Path is /C:/WINDOWS/
Passed test:     file_system_path.m:24 ... Strict path is C:/WINDOWS/
Passed test:     file_system_path.m:31 ... /usr path can be decomposed
Passed test:     file_system_path.m:33 ... String for file URL /usr is /usr/
Passed test:     file_system_path.m:35 ... Resource Specifier of /usr is NULL
Passed test:     file_system_path.m:37 ... File system path is /usr
Passed test:     file_system_path.m:40 ... Path is /usr/
Passed test:     file_system_path.m:43 ... Strict path is usr/
Passed test:     file_system_path.m:53 ... local/share path can be decomposed
Passed test:     file_system_path.m:55 ... String is local/share/
Passed test:     file_system_path.m:58 ... File system path is not resolved against base
Passed test:     file_system_path.m:60 ... local/share is a directory path.
Completed file:  file_system_path.m

Testing ref_resolution.m...
Running CFURL/ref_resolution.m...
Passed test:     ref_resolution.m:19 ... Simple relative URL absoluteString works
Passed test:     ref_resolution.m:22 ... Simple relative URL path works
Passed test:     ref_resolution.m:32 ... ../g resolved against http://a is http://a/g
Passed test:     ref_resolution.m:44 ... g:h resolved against http://a/b/c/d;p?q is g:h
Passed test:     ref_resolution.m:51 ... ./g resolved against http://a/b/c/d;p?q is http://a/b/c/g
Passed test:     ref_resolution.m:58 ... //g resolved against http://a/b/c/d;p?q is http://g
Passed test:     ref_resolution.m:65 ... #s resolved against http://a/b/c/d;p?q is http:/a/b/c/d;p?q#s
Passed test:     ref_resolution.m:72 ... g;x?y#s resolved against http://a/b/c/d;p?q is http://a/b/c/g;x?y#s
Passed test:     ref_resolution.m:79 ... ../.. resolved against http://a/b/c/d;p?q is http://a/
Passed test:     ref_resolution.m:86 ... ../../g resolved against http://a/b/c/d;p?q is http://a/g
Passed test:     ref_resolution.m:93 ... ../../../../g resolved against http://a/b/c/d;p?q is http://a/g
Passed test:     ref_resolution.m:100 ... /./g resolved against http://a/b/c/d;p?q is http://a/g
Passed test:     ref_resolution.m:107 ... /../g resolved against http://a/b/c/d;p?q is http://a/g
Passed test:     ref_resolution.m:114 ... ..g resolved against http://a/b/c/d;p?q is http://a/b/c/..g
Passed test:     ref_resolution.m:121 ... ./../g resolved against http://a/b/c/d;p?q is http://a/b/g
Passed test:     ref_resolution.m:128 ... g;x=1/./y resolved against http://a/b/c/d;p?q is http://a/b/c/g;x=1/y
Passed test:     ref_resolution.m:135 ... g?y/../x resolved against http://a/b/c/d;p?q is http://a/b/c/g?y/../x
Completed file:  ref_resolution.m

Building in CFURLAccess
Making all for test_tool basic...
 Compiling file basic.m ...
 Linking test_tool basic ...

Testing basic.m...
Running CFURLAccess/basic.m...
Passed test:     basic.m:24 ... Directory was successfully created.
Passed test:     basic.m:31 ... Data was successfully written to test file.
Passed test:     basic.m:40 ... Empty file was successfully created.
Passed test:     basic.m:45 ... Could not delete directory.
Passed test:     basic.m:48 ... File was successfully read.
Passed test:     basic.m:51 ... Properties correctly read.
Passed test:     basic.m:56 ... Directory was successfully read.
Passed test:     basic.m:59 ... There are 2 items in the directory.
Passed test:     basic.m:61 ... Directory has file1.txt
Passed test:     basic.m:63 ... Directory has file2.txt
Passed test:     basic.m:69 ... Content read is the same the content that was written.
Passed test:     basic.m:73 ... File1 was successfully deleted.
Passed test:     basic.m:74 ... File2 was successfully deleted.
Passed test:     basic.m:75 ... Directory was successfully deleted.
Completed file:  basic.m

Building in CFUUID
Making all for test_tool create...
 Compiling file create.m ...
 Linking test_tool create ...

Testing create.m...
Running CFUUID/create.m...
Passed test:     create.m:13 ... CFUUIDCreate() returns non-NULL.
Passed test:     create.m:18 ... UUID creates with CFUUIDBytes is correct.
Passed test:     create.m:22 ... CFUUIDCreateString() returns non-NULL.
Completed file:  create.m
_______________________________________________
Discuss-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to