[swift-users] Debugging XCTests on Linux

2017-01-05 Thread Robert Atkins via swift-users
Hi all, I'm trying to solve a simple (?) problem where a test suite runs fine on macOS but fails on Linux (https://github.com/antitypical/Result/pull/210#pullrequestreview-14963305). I've downloaded and installed the Swift Linux Docker image (https://ashfurrow.com/blog/swift-on-linux/) and got the

Re: [swift-users] Debugging XCTests on Linux

2017-01-06 Thread Robert Atkins via swift-users
On Thu, 5 Jan 2017, at 18:13, Ankit Agarwal wrote: > Using swift module in REPL: [...] > $ swift build > $ swift -I .build/debug -L .build/debug -lResult -I > /usr/lib/clang/3.8/include > Welcome to Swift version 3.1-dev (LLVM 217eb6c2b6, Clang 34a98ce92e, > Swift 1eb5648c46). Type :help fo

Re: [swift-users] Debugging XCTests on Linux

2017-01-06 Thread Robert Atkins via swift-users
On Fri, 6 Jan 2017, at 09:45, Ankit Agarwal wrote: > Might be, please file a JIRA with a minimal test case! As a first step I'm attempting to see if I get the same behaviour with the latest Swift snapshot release but I'm having difficulty there too. Simply downloading and un-tarring the Jan 4th

Re: [swift-users] Debugging XCTests on Linux

2017-01-06 Thread Robert Atkins via swift-users
On Fri, 6 Jan 2017, at 11:14, Ankit Agarwal wrote: > Thats weird, you should be able to import Foundation from the > toolchain This is on Linux, so the toolchain stuff isn't relevant, is it? Cheers, Robert. ___ swift-users mailing list swift-users@s

Re: [swift-users] Debugging XCTests on Linux

2017-01-06 Thread Robert Atkins via swift-users
On Fri, 6 Jan 2017, at 12:45, Ankit Agarwal wrote: > Yes you should be able to import Foundation in REPL using the latest > toolchain on linux. I couldn't get it to work, even after installing the snapshot via swiftenv. I wonder what I'm doing wrong? > FWIW I am getting same error you are from