Re: [swift-corelibs-dev] Internal Tests

2016-07-08 Thread Pushkar N Kulkarni via swift-corelibs-dev
@testable doesn't work with Foundation. I get this build error:TestFoundation/TestNSURLSession.swift:17:22: error: module 'Foundation' was not compiled for testing    @testable import FoundationIs there an equivalent for Xcode's "Enable Testability" on Linux?Pushkar N Kulkarni, IBM RuntimesSimplici

Re: [swift-corelibs-dev] Internal Tests

2016-07-08 Thread Tony Parker via swift-corelibs-dev
Hm, that’s too bad. Do we just need to add a flag to Foundation’s build script? - Tony > On Jul 8, 2016, at 12:26 AM, Pushkar N Kulkarni wrote: > > @testable doesn't work with Foundation. I get this build error: > > TestFoundation/TestNSURLSession.swift:17:22: error: module 'Foundation' was >

[swift-corelibs-dev] Debugging Assistance

2016-07-08 Thread Lau Bao via swift-corelibs-dev
Hi everyone , I am new the the mailing list and am trying to figure out a optimal work flow. I am currently making a change in the stdlib and building the tool chain through the (swift/utils/build-toolchain) and debugging after i install the tool chain. I was wondering if there was a way I can d

[swift-corelibs-dev] Swift DispatchSource not working

2016-07-08 Thread Darren Mo via swift-corelibs-dev
I am trying to catch SIGWINCH (terminal window size changed) in Swift 3 (Xcode 8 beta 2). The following code should exit with a status of 1 when it receives SIGWINCH. But it never exits. ```swift // compile with `xcrun -sdk macosx swiftc sigwinch.swift` import Darwin import Dispatch let source

Re: [swift-corelibs-dev] Swift DispatchSource not working

2016-07-08 Thread Pierre Habouzit via swift-corelibs-dev
the bug is known and will be fixed in Seed 3 (?). signal based sources are mapped to TYPE_READ by mistake in the overlay. Matt will confirm. -Pierre > On Jul 7, 2016, at 7:13 PM, Darren Mo via swift-corelibs-dev > wrote: > > I am trying to catch SIGWINCH (terminal window size changed) in Swi