[swift-corelibs-dev] CoreFoundation,SwiftFoundation does compile but not TestFoundation …

2017-12-18 Thread Benoit Pereira da silva via swift-corelibs-dev
Dear Core libs Dev. I ve found a serious bug on JSONSerialization https://bugs.swift.org/browse/SR-6631 I'm trying to build the swift-corelibs-foundation to try to validate a fix. And i m not able to build the master branch & run the tests. CoreFoundation,SwiftFoundation does compile but not Tes

[swift-corelibs-dev] Strange behavior the same code fails when building a Cocoa CLI and succeeds in Swift-corelibs-foundation context.

2017-12-18 Thread Benoit Pereira da silva via swift-corelibs-dev
Dear All, I do encounter a very strange Issue. I have been adding a test to `swift-corelibs-foundation/testJSONSerialization.swift` This test succeed within swift-corelibs-foundation test, but fails when repackaged to a Cocoa CLI app. The swift-corelibs-foundation test : func test_ser

Re: [swift-corelibs-dev] Strange behavior the same code fails when building a Cocoa CLI and succeeds in Swift-corelibs-foundation context.

2017-12-18 Thread Benoit Pereira da silva via swift-corelibs-dev
Thanks Philippe, > Good find, > You can make a pull request and we can get our continuous integration servers > to start building that and testing your change – that is probably the easiest > way to get validation on your tests and changes. > There are a few issues however with your test that

Re: [swift-corelibs-dev] Strange behavior the same code fails when building a Cocoa CLI and succeeds in Swift-corelibs-foundation context.

2017-12-18 Thread Benoit Pereira da silva via swift-corelibs-dev
>> But i do think that it triggers a serious question: Should all your tests >> be ran on all the available locales? >> You will certainly find a smarter solution … > > I think it is sensible to iterate through a key list of known locales that > have certain characteristics, such as using th

[swift-corelibs-dev] That's Confirmed The JSON foundation Bug SR-6631, is a Bug in Darwin's Objc Foundations.

2017-12-19 Thread Benoit Pereira da silva via swift-corelibs-dev
Dear All, Philippe Hausler has emitted the hypothesis that https://bugs.swift.org/browse/SR-6631 was a bug in Darwin Objc Foundations. He was right! Shall i close the Swift SR-6631? The following Objc Implementation is faulting: #import int main(int argc, const char * argv[]) { @autore

[swift-corelibs-dev] How to crash swift core libs foundation tests ? By Setting a locale before executing test suite

2017-12-22 Thread Benoit Pereira da silva via swift-corelibs-dev
Dear Core Devs, There is a vicious bug in Darwin’s Objc implementation of JSON number encoding that irritates the president Macron :) this fact is well established. (check SR-6631 for details) But there is more, i've found an interesting variante that d