[swift-dev] New Swift Snapshots Available!

2016-08-25 Thread mishal_shah via swift-dev
New Swift Snapshots Available! Download new packages from https://swift.org/download/ Swift Development: (master) Following repository are tagged with swift-DEVELOPMENT-SNAPSHOT-2016-08-25-a https://github.com/apple/swift

Re: [swift-dev] __swift__

2016-08-25 Thread Jordan Rose via swift-dev
> On Aug 25, 2016, at 14:58, Douglas Gregor wrote: > >> >> On Aug 25, 2016, at 2:48 PM, Jordan Rose > > wrote: >> >>> >>> On Aug 25, 2016, at 9:38, Douglas Gregor >> > wrote: >>> On Aug 24, 2016, at 3:57 PM, Jordan Rose >>> <

Re: [swift-dev] [Swift CI] Build Failure: 0. OSS - Swift Incremental RA - Ubuntu 14.04 (master) #7167

2016-08-25 Thread Tony Parker via swift-dev
It seems like we have a bug to fix in the timeout logic if it didn’t stop after 12 (seconds I assume) and instead went for 45 minutes. Perhaps we need to accelerate plans to have our test suite start up some kind of local socket to send data over, so these tests are not connecting over the real

Re: [swift-dev] [Swift CI] Build Failure: 0. OSS - Swift Incremental RA - Ubuntu 14.04 (master) #7167

2016-08-25 Thread Philippe Hausler via swift-dev
This is an un-related timeout on the build. This test took 8 seconds to pass func test_downloadTaskWithURL() { let urlString = "https://swift.org/LICENSE.txt"; let url = URL(string: urlString)! let d = DownloadTask(with: expectation(description: "download task with

Re: [swift-dev] __swift__

2016-08-25 Thread Douglas Gregor via swift-dev
> On Aug 25, 2016, at 2:48 PM, Jordan Rose wrote: > >> >> On Aug 25, 2016, at 9:38, Douglas Gregor > > wrote: >> >>> >>> On Aug 24, 2016, at 3:57 PM, Jordan Rose >> > wrote: >>> >>> Hey, all. I’m here to propose predefining a macro __sw

Re: [swift-dev] __swift__

2016-08-25 Thread Jordan Rose via swift-dev
> On Aug 25, 2016, at 9:38, Douglas Gregor wrote: > >> >> On Aug 24, 2016, at 3:57 PM, Jordan Rose > > wrote: >> >> Hey, all. I’m here to propose predefining a macro __swift__ when C code is >> compiled with Swift. We’ve gotten a few requests for it in the past a

Re: [swift-dev] Reflection: typeref_lowering test case on Linuxone

2016-08-25 Thread Slava Pestov via swift-dev
You’ll notice the existing CHECK-64’s already have stuff like > // CHECK-64-NEXT: (struct size=72 alignment=8 stride=72 > num_extra_inhabitants=[[PTR_XI:2048|2147483647]] To deal with Linux vs Darwin. You could just fold all the different possible values into the alternation there, instead of h

[swift-dev] Swift CI: Pull Request Check Status

2016-08-25 Thread mishal_shah via swift-dev
With new changes to the pull request jobs, if you trigger full test suite it will also update the smoke test checks. Trigger Check Status @swift-ci Please test Swift Test Linux Platform (smoke test) Swift Test OS X Platform (smoke test) Swift Test Linux Platform Swift Test OS X Platform @swi

Re: [swift-dev] [Swift CI] Build Failure: 0. OSS - Swift Incremental RA - Ubuntu 14.04 (master) #7160

2016-08-25 Thread Philippe Hausler via swift-dev
https://github.com/apple/swift-corelibs-foundation/pull/597 should resolve the issue > On Aug 25, 2016, at 11:35 AM, Philippe Hausler via swift-dev > wrote: > > This has been a non-deterministic failure: I have a hunch on how to fix it, > if I cannot in the next 30 min I will disable the test

Re: [swift-dev] [Swift CI] Build Failure: 0. OSS - Swift Incremental RA - Ubuntu 14.04 (master) #7160

2016-08-25 Thread Philippe Hausler via swift-dev
This has been a non-deterministic failure: I have a hunch on how to fix it, if I cannot in the next 30 min I will disable the test. > On Aug 25, 2016, at 11:33 AM, no-re...@swift.org wrote: > > [FAILURE] oss-swift-incremental-RA-linux-ubuntu-14_04 [#7160] > > Build URL: > https://ci.swift.o

Re: [swift-dev] Code coverage?

2016-08-25 Thread Harlan Haskins via swift-dev
Luke Larson and I added a few things to support testing code coverage of the compiler. You can build with build-script -t --swift-analyze-code-coverage merged which will rebuild the compiler with coverage instrumentation and run all the tests you've selected with coverage enabled. Once all th

Re: [swift-dev] __swift__

2016-08-25 Thread Daniel Dunbar via swift-dev
+1 - Daniel > On Aug 25, 2016, at 9:38 AM, Douglas Gregor via swift-dev > wrote: > > >> On Aug 24, 2016, at 3:57 PM, Jordan Rose > > wrote: >> >> Hey, all. I’m here to propose predefining a macro __swift__ when C code is >> compiled with Swift. We’ve gotten a

Re: [swift-dev] __swift__

2016-08-25 Thread Douglas Gregor via swift-dev
> On Aug 24, 2016, at 3:57 PM, Jordan Rose wrote: > > Hey, all. I’m here to propose predefining a macro __swift__ when C code is > compiled with Swift. We’ve gotten a few requests for it in the past and > haven’t done it so that people don’t write header files that arbitrarily > restrict feat

[swift-dev] Reflection: typeref_lowering test case on Linuxone

2016-08-25 Thread Raminder Sodhi via swift-dev
Hi,   I am trying to fix the typeref_lowering tet on the LinuxONE platform (s390x). Due to differernce in value of SWIFT_ABI_DEFAULT_OBJC_RESERVED_BITS_MASK the num_extra_inhabitants is different for some structures. I just wanted a opinion on the best way to fix this issue as the one which I have

Re: [swift-dev] [Swift CI] Build Failure: 0. OSS - Swift libdispatch Incremental RA - Ubuntu 14.04 (master) #183

2016-08-25 Thread David P Grove via swift-dev
I've never seen this test fail before. We haven't changed the kqueue git submodule version since July 20. It looks like the next 20 runs of this CI build didn't hit this test failure either. I took a quick scan of the kqueue tests and like some of the other libdispatch test cases, the kqueue t