Skip to content

Linux testing fails #2

@rpinz

Description

@rpinz

Running tests on linux fails currently with the following:

DBus$ swift test
Fetching https://github.com/PureSwift/CDBus.git
Completed resolution in 0.62s
Cloning https://github.com/PureSwift/CDBus.git
Resolving https://github.com/PureSwift/CDBus.git at master
Compile Swift Module 'DBus' (18 sources)
Compile Swift Module 'DBusTests' (4 sources)
Compile Swift Module 'DBusPackageTests' (1 sources)
DBus/Tests/LinuxMain.swift:5:5: error: cannot invoke 'testCase' with an argument list of type '([((ObjectPathTests) -> () -> (), String)])'
    testCase(ObjectPathTests.allTests),
    ^
DBus/Tests/LinuxMain.swift:5:5: note: overloads for 'testCase' exist with these partially matching parameter lists: ([(String, (T) -> () throws -> Void)]), ([(String, (T) -> () -> Void)])
    testCase(ObjectPathTests.allTests),
    ^
error: terminated(1): .swiftenv/versions/4.2.1/usr/bin/swift-build-tool -f DBus/.build/debug.yaml test output:

pull request #1 fixes the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions