Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix failing CoreBase-Tests #2

Open
6 of 22 tasks
ethanc8 opened this issue Jul 27, 2024 · 1 comment
Open
6 of 22 tasks

Fix failing CoreBase-Tests #2

ethanc8 opened this issue Jul 27, 2024 · 1 comment

Comments

@ethanc8
Copy link
Owner

ethanc8 commented Jul 27, 2024

CFRunLoop's tests were disabled.

  • CFArray
  • CFAttributedString
  • CFBinaryHeap
  • CFCalendar
  • CFCharacterSet
  • CFData
  • CFDate
  • CFDateFormatter
  • CFDictionary
  • CFLocale
  • CFNumber
  • CFNumberFormatter
  • CFPropertyList
  • CFRunLoop
  • CFRuntime
  • CFStream
  • CFString
  • CFTimeZone
  • CFTree
  • CFURL
  • CFURLAccess
  • CFUUID
This is gnustep-make 2.9.2. Type 'gmake print-gnustep-make-help' for help.
Running in gnustep-make version 2 strict mode.
Checking for presence of test subdirectories ...
--- Running tests in CFArray ---
--- Running tests in CFAttributedString ---
--- Running tests in CFBinaryHeap ---
--- Running tests in CFCalendar ---

CFCalendar/basic.m:
Failed file:     basic.m aborted without running all tests!

CFCalendar/create.m:
Failed file:     create.m aborted without running all tests!
--- Running tests in CFCharacterSet ---
--- Running tests in CFData ---

CFData/basic.m:
Failed file:     basic.m aborted without running all tests!
--- Running tests in CFDate ---
--- Running tests in CFDateFormatter ---

CFDateFormatter/basic.m:
Failed file:     basic.m aborted without running all tests!
--- Running tests in CFDictionary ---
--- Running tests in CFLocale ---

CFLocale/bridge.m:
Failed test:     bridge.m:26 ... CFLocaleGetValue works
Failed test:     bridge.m:29 ... CFLocaleCopyDisplayNameForPropertyValue works
Failed test:     bridge.m:40 ... -objectForKey: works
Failed test:     bridge.m:42 ... -displayNameForKey:value: works

CFLocale/create.m:
Failed test:     create.m:20 ... en_ES_PREEURO is stored as es_ES@currency=ESP

CFLocale/identifier.m:
Failed test:     identifier.m:17 ... Locale identifiers are the same

CFLocale/values.m:
Failed file:     values.m aborted without running all tests!
--- Running tests in CFNumber ---

CFNumber/bridge.m:
Failed file:     bridge.m aborted without running all tests!

CFNumber/general.m:
Failed test:     general.m:39 ... Float is converted to Float64(5).
--- Running tests in CFNumberFormatter ---

CFNumberFormatter/create.m:
Failed test:     create.m:18 ... Default no-style format same as cocoa

CFNumberFormatter/format.m:
Failed test:     format.m:32 ... SInt8 formatted correctly

CFNumberFormatter/parse.m:
Failed test:     parse.m:44 ... SInt64 value is '3'
Failed test:     parse.m:52 ... Double value is '0.234'
--- Running tests in CFPropertyList ---

CFPropertyList/openstep.m:
Failed file:     openstep.m aborted without running all tests!
--- Running tests in CFRunLoop ---
Building source
debug=yes
Building CFRunLoop/source.m
gmake debug=yes source
gmake[1]: Entering directory '/home/ethan/Projects/GNUstep/Porting/swift-corelibs-foundation/CoreFoundation/Tests/CoreBase-Tests/CFRunLoop'
Making all for test_tool source...
 Compiling file source.m ...
source.m:54:3: error: call to undeclared function 'SKIP'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   54 |   SKIP();
      |   ^
1 error generated.
gmake[4]: *** [/usr/GNUstep/System/Library/Makefiles/rules.make:534: obj/source.obj/source.m.o] Error 1
gmake[3]: *** [/usr/GNUstep/System/Library/Makefiles/Instance/tool.make:74: internal-tool-all_] Error 2
gmake[2]: *** [/usr/GNUstep/System/Library/Makefiles/Master/rules.make:297: source.all.test-tool.variables] Error 2
gmake[1]: *** [/usr/GNUstep/System/Library/Makefiles/Master/test-tool.make:60: source] Error 2
gmake[1]: Leaving directory '/home/ethan/Projects/GNUstep/Porting/swift-corelibs-foundation/CoreFoundation/Tests/CoreBase-Tests/CFRunLoop'
Building timers
debug=yes
Building CFRunLoop/timers.m
gmake debug=yes timers
gmake[1]: Entering directory '/home/ethan/Projects/GNUstep/Porting/swift-corelibs-foundation/CoreFoundation/Tests/CoreBase-Tests/CFRunLoop'
Making all for test_tool timers...
 Compiling file timers.m ...
timers.m:14:2: error: call to undeclared function 'SKIP'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   14 |         SKIP();
      |         ^
1 error generated.
gmake[4]: *** [/usr/GNUstep/System/Library/Makefiles/rules.make:534: obj/timers.obj/timers.m.o] Error 1
gmake[3]: *** [/usr/GNUstep/System/Library/Makefiles/Instance/tool.make:74: internal-tool-all_] Error 2
gmake[2]: *** [/usr/GNUstep/System/Library/Makefiles/Master/rules.make:297: timers.all.test-tool.variables] Error 2
gmake[1]: *** [/usr/GNUstep/System/Library/Makefiles/Master/test-tool.make:60: timers] Error 2
gmake[1]: Leaving directory '/home/ethan/Projects/GNUstep/Porting/swift-corelibs-foundation/CoreFoundation/Tests/CoreBase-Tests/CFRunLoop'
--- Running tests in CFRuntime ---

CFRuntime/runtime.m:
Failed file:     runtime.m aborted without running all tests!
--- Running tests in CFStream ---

CFStream/read.m:
Failed file:     read.m aborted without running all tests!

CFStream/write.m:
Failed file:     write.m aborted without running all tests!
--- Running tests in CFString ---

CFString/encodings.m:
Failed test:     encodings.m:53 ... Correctly converts to IANA Char Set.
Failed test:     encodings.m:72 ... UTF-16 convesion used the same from buffer.

CFString/format_errors.m:
Failed test:     format_errors.m:9 ... Format with invalid spec (%z) returns NULL.
Failed test:     format_errors.m:12 ... Complex format with invalid spec (%01.2z) returns NULL.
Failed test:     format_errors.m:15 ... Specifying only 1 positional parameter returns NULL.

CFString/format_misc.m:
Failed test:     format_misc.m:28 ... Getting number of bytes written works.
Failed test:     format_misc.m:33 ... Left-aligned, NULL string formatted correctly.
Failed test:     format_misc.m:38 ... Right-aligned, NULL string formatted correctly.

CFString/normalize.m:
Failed file:     normalize.m aborted without running all tests!

CFString/objc_bridge_from_cf.m:
Failed file:     objc_bridge_from_cf.m aborted without running all tests!
Failed test:     objc_bridge_from_cf.m:36 ... isEqual works #2
Failed test:     objc_bridge_from_cf.m:37 ... hashes are equal

CFString/objc_bridge.m:
Failed test:     objc_bridge.m:22 ... Constant string has maximum retain count.
Failed test:     objc_bridge.m:25 ... Release has no effect of constant string.
--- Running tests in CFTimeZone ---

CFTimeZone/basic.m:
Failed test:     basic.m:15 ... CFTimeZone has correct name.
Failed test:     basic.m:18 ... Time zone abbreviations are equal.

CFTimeZone/bridge.m:
Failed file:     bridge.m aborted without running all tests!

CFTimeZone/general.m:
Failed file:     general.m aborted without running all tests!
--- Running tests in CFTree ---
--- Running tests in CFURL ---

CFURL/create.m:
Failed file:     create.m aborted without running all tests!

CFURL/file_system_path.m:
Failed test:     file_system_path.m:14 ... Windows style path of file URL C:\WINDOWS is file://localhost/C:/WINDOWS/
Failed test:     file_system_path.m:33 ... String for file URL /usr is /usr/

CFURL/ref_resolution.m:
Failed test:     ref_resolution.m:32 ... ../g resolved against http://a is http://a/g
Failed test:     ref_resolution.m:93 ... ../../../../g resolved against http://a/b/c/d;p?q is http://a/g
Failed test:     ref_resolution.m:100 ... /./g resolved against http://a/b/c/d;p?q is http://a/g
Failed test:     ref_resolution.m:107 ... /../g resolved against http://a/b/c/d;p?q is http://a/g
--- Running tests in CFURLAccess ---

CFURLAccess/basic.m:
Failed file:     basic.m aborted without running all tests!
Failed test:     basic.m:31 ... Data was successfully written to test file.
Failed test:     basic.m:40 ... Empty file was successfully created.
--- Running tests in CFUUID ---

  14869 Passed tests
     33 Failed tests
     16 Failed files


Some testing was abandoned when a test program aborted.  This is
generally a severe problem and may mean that the package is
completely unusable.  You need to try to fix this and, if it is
not due to some problem on your system, please help by submitting
a patch (or at least a bug report) to the package maintainer.

One or more tests failed.  None of them should have.
Please submit a patch to fix the problem or send a bug report to
the package maintainer.
Please see /home/ethan/Projects/GNUstep/Porting/swift-corelibs-foundation/CoreFoundation/Tests/CoreBase-Tests/tests.log for more detail.
@ethanc8
Copy link
Owner Author

ethanc8 commented Jul 27, 2024

CFCalendar: locales can end up with null _prefs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant