Kare Morstol
67e5db3944
Add WriteableStream.onInput. Issue #26 .
...
Works, but onInput is called many times even if the process does not try to read from its input.
2016-10-27 22:44:28 +02:00
kareman
8ce6100286
Add FileHandle.nullDev, cross-platformise some unit test.
2016-10-16 20:51:51 +02:00
kareman
0f0ddfb9ea
Add tests on Linux
2016-10-15 00:06:05 +02:00
kareman
ef98b8da07
Get it to build on Linux. No tests yet.
2016-10-13 19:17:40 +02:00
Kare Morstol
ed36e0228f
Add ‘Tests’ suffix to test folders. As required by Swift Package Manager.
2016-10-07 22:11:37 +02:00
Kare Morstol
27a7cde34a
Update to Swift 3.0 final release.
...
3 unit tests are failing. Not sure why.
2016-09-15 13:10:30 +02:00
Kare Morstol
b65bc584d5
Update for Xcode 8 beta 3.
2016-07-26 12:19:04 +02:00
Kare Morstol
580cfee1c2
Update for Xcode 8 beta 2.
...
The Foundation Swift API keeps improving.
2016-07-10 18:01:04 +02:00
Kare Morstol
0e14578942
Update to DEVELOPMENT-SNAPSHOT-2016-06-20-a.
...
Lots of name and value changes in Foundation.
Currently does not build using the Swift Package Manager ("<unknown>:0: error: Swift does not support the SDK 'MacOSX10.11.sdk'"), but builds fine from Xcode 8.
2016-06-22 00:01:27 +02:00
Kare Morstol
fec75eb013
Remove diagnostic printing from unit test.
2016-06-08 00:24:57 +02:00
Kare Morstol
3bffc67f63
Move String.swift out of “General”, as it isn't. General that is.
2016-06-07 22:18:52 +02:00
Kare Morstol
191ce614a9
Almost get it to build on Linux.
...
Just waiting for https://github.com/apple/swift-corelibs-foundation/pull/404 to be approved.
2016-06-06 03:19:05 +02:00
Kare Morstol
04759e9245
Reorganise to use "swift test". Replace Xcode project with one auto-generated by swiftpm.
...
The “Scripts” folder is temporarily moved out of "Tests" because it doesn't work with the Swift Package Manager.
2016-06-06 01:48:36 +02:00
Kare Morstol
2831504900
Mark “run” commands as having @discardableResult.
...
Also silence some persistent warnings in the tests.
2016-06-03 23:30:52 +02:00
Kare Morstol
e6b707c9de
Avoid warnings about unused results by marking functions "@discardableResult".
2016-06-03 22:26:20 +02:00
Kare Morstol
03fd4a20af
Appease Swift 3s stricter rules about importing Foundation.
2016-05-25 03:32:18 +02:00
Kare Morstol
cb6881efc8
Update external test scripts to Swift 3.0 .
2016-05-13 05:43:02 +02:00
Kare Morstol
56e39270bc
Make external test script not care what the current working directory is.
2016-05-13 05:30:03 +02:00
Kare Morstol
aa80eb7932
Convert unit tests to Swift 3.0.
...
Currently crashes.
2016-05-12 01:59:32 +02:00
Kare Morstol
6f57644422
Update to Swift 3.0
...
Not the unit tests.
2016-05-12 00:37:13 +02:00
Kare Morstol
7b73ae7be0
Test AsyncShellTask.onCompletion .
2016-04-28 02:48:36 +02:00
Kare Morstol
95e0207e70
Rename to onStringOutput and add onOutput. Add tests for both.
2016-04-28 01:40:18 +02:00
Kare Morstol
b5e46b02b9
/Tests/Scripts/README: mention 'make test'.
2016-03-30 14:12:02 +02:00
Kare Morstol
15da28218d
Add AsyncShellTask.exitcode().
2016-02-25 03:56:23 +01:00
Kare Morstol
73babca64f
Make sure the test script finds the SwiftShell launcher script.
2016-02-25 01:48:01 +01:00
Kare Morstol
4916480f4e
Fix #14 : Support building with Swift Package Manager.
...
That was easier than I feared.
2016-02-23 03:17:06 +01:00