Re: [swift-corelibs-dev] Building with Xcode

2016-08-18 Thread Brian Gesiak via swift-corelibs-dev
I use the following to build Foundation and XCTest, then run the XCTest tests: swift $ utils/build-script --preset corelibs-xctest  The XCTest.xcworkspace is also capable of building and testing. Open it, select the XCTest scheme, and build with ⌘B. You should also be able to build the

Re: [swift-corelibs-dev] Wrapping up Swift 3 for swift-corelibs

2016-07-30 Thread Brian Gesiak via swift-corelibs-dev
I think a future release is prudent, for the following reasons: 1. swift-corelibs-xctest requires users to list each of their tests in an `allTests` static property. However, this isn't source-incompatible with Darwin XCTest. A developer could include the list on Darwin, and their tests would

Re: [swift-corelibs-dev] Performance testing via SwiftPM and XCTest

2016-07-26 Thread Brian Gesiak via swift-corelibs-dev
Hi, it’s me again. :) I figured out how we can do this on Darwin: by using .xctestconfiguration files. SwiftPM performance tests on Darwin, using XCTestConfiguration files Xcode passes all sorts of variables to XCTest by specifying the XCTestConfigurationFilePath=/path/to/an.xctestconfiguration

Re: [swift-corelibs-dev] [XCTest] Cannot build using XCode

2016-07-05 Thread Brian Gesiak via swift-corelibs-dev
tus 1, aborting >>>>> >>>>> >>>>> >>>>> On Tue, Jun 21, 2016 at 12:35 PM, Madhu Samuel <madhusam...@gmail.com> >>>>> wrote: >>>>> >>>>>> Hi Brian Croom, >>>>>> >>

Re: [swift-corelibs-dev] Xcode 8 beta 1 and swift-corelibs-foundation

2016-06-14 Thread Brian Gesiak via swift-corelibs-dev
Excellent work! I've been enjoying watching all the WWDC livestreams. :) About the changes to swift-corelibs-xctest: you mean simply using the new Foundation APIs, correct? I don't imagine we'll be changing the XCTest API very much -- that is, we won't be renaming `XCTestCase` to `TestCase`,

Re: [swift-corelibs-dev] libdispatch on Linux, or C++ std::async?

2016-05-30 Thread Brian Gesiak via swift-corelibs-dev
Date:30/05/2016 08:08 > Subject:Re: [swift-corelibs-dev] libdispatch on Linux, or C++ > std::async? > Sent by: *swift-corelibs-dev-boun...@swift.org* > <swift-corelibs-dev-boun...@swift.org> > -- > > > > > H

Re: [swift-corelibs-dev] libdispatch on Linux, or C++ std::async?

2016-05-30 Thread Brian Gesiak via swift-corelibs-dev
:swift-corelibs-dev-boun...@swift.org > -- > > > > Hi, > > For what it's worth, I can't get the master branch to build either, but I > can get the experimental/foundation branch to build. > > Regards, > > Rob > > >

Re: [swift-corelibs-dev] [XCTest] Cannot build using XCode

2016-05-29 Thread Brian Gesiak via swift-corelibs-dev
Madhu, Oy, my bad -- I only just noticed you put the toolchain version at the bottom of your original email. It's possible the May 9th toolchain is already too old to build XCTest. I'll double-check myself. In the meantime, you may want to try building your own toolchain and using that. - Brian

Re: [swift-corelibs-dev] swift-corelibs-xctest JIRA dashboard

2016-05-23 Thread Brian Gesiak via swift-corelibs-dev
ven clearer instructions, and labeled as a starter task... > > - Brian Gesi > > > On 23 May 2016, at 22:41, Tony Parker via swift-corelibs-dev < > swift-corelibs-dev@swift.org> wrote: > > This is slick! > > I would love to have one for Foundation too (although my understand

Re: [swift-corelibs-dev] Migrate corelibs-foundation to the newest APIs

2016-04-12 Thread Brian Gesiak via swift-corelibs-dev
I noticed the folks at IBM were also doing platform checks when using the corelibs-xctest APIs. I created https://bugs.swift.org/browse/SR-1215 to track the issue. corelibs-xctest is small enough that we may want to consider providing *both* Swift 2.2 and Swift 3 APIs, perhaps behind a `#if

Re: [swift-corelibs-dev] [xctest] Who tests the tests?

2015-12-10 Thread Brian Gesiak via swift-corelibs-dev
I've submitted https://github.com/apple/swift-corelibs-xctest/pull/14 as another attempt at this. Take a look at the pull request message for details. Turns out I'd overlooked another dependency: nearly all lit tests use FileCheck, which means to run the tests developers will need to specify that