Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux testing fails #2

Open
rpinz opened this issue Nov 4, 2018 · 1 comment
Open

Linux testing fails #2

rpinz opened this issue Nov 4, 2018 · 1 comment

Comments

@rpinz
Copy link
Contributor

rpinz commented Nov 4, 2018

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.

@rpinz
Copy link
Contributor Author

rpinz commented Nov 4, 2018

with #1 the output is as follows:

DBus$ swift test
Fetching https://github.com/PureSwift/CDBus.git
Completed resolution in 0.64s
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)
Linking ./.build/x86_64-unknown-linux/debug/DBusPackageTests.xctest
Test Suite 'All tests' started at 2018-11-04 14:20:20.978
Test Suite 'debug.xctest' started at 2018-11-04 14:20:20.980
Test Suite 'InterfaceTests' started at 2018-11-04 14:20:20.980
Test Case 'InterfaceTests.testInvalid' started at 2018-11-04 14:20:20.980
"org.7-zip.Plugin" is invalid: Interface name was not valid: 'org.7-zip.Plugin'
Test Case 'InterfaceTests.testInvalid' passed (0.0 seconds)
Test Case 'InterfaceTests.testValid' started at 2018-11-04 14:20:20.980
Test Case 'InterfaceTests.testValid' passed (0.0 seconds)
Test Suite 'InterfaceTests' passed at 2018-11-04 14:20:20.980
	 Executed 2 tests, with 0 failures (0 unexpected) in 0.001 (0.001) seconds
Test Suite 'MessageTests' started at 2018-11-04 14:20:20.980
Test Case 'MessageTests.testBasicValueArguments' started at 2018-11-04 14:20:20.980
Test Case 'MessageTests.testBasicValueArguments' passed (0.0 seconds)
Test Case 'MessageTests.testArrayArguments' started at 2018-11-04 14:20:20.981
Test Case 'MessageTests.testArrayArguments' passed (0.001 seconds)
Test Case 'MessageTests.testStructureArguments' started at 2018-11-04 14:20:20.981
Test Case 'MessageTests.testStructureArguments' passed (0.0 seconds)
Test Case 'MessageTests.testErrorMessage' started at 2018-11-04 14:20:20.982
Test Case 'MessageTests.testErrorMessage' passed (0.0 seconds)
Test Suite 'MessageTests' passed at 2018-11-04 14:20:20.982
	 Executed 4 tests, with 0 failures (0 unexpected) in 0.001 (0.001) seconds
Test Suite 'ObjectPathTests' started at 2018-11-04 14:20:20.982
Test Case 'ObjectPathTests.testInvalid' started at 2018-11-04 14:20:20.982
"" is invalid: Object path was not valid: ''
Test Case 'ObjectPathTests.testInvalid' passed (0.0 seconds)
Test Case 'ObjectPathTests.testValid' started at 2018-11-04 14:20:20.982
Test Case 'ObjectPathTests.testValid' passed (0.0 seconds)
Test Case 'ObjectPathTests.testEmpty' started at 2018-11-04 14:20:20.982
Test Case 'ObjectPathTests.testEmpty' passed (0.0 seconds)
Test Case 'ObjectPathTests.testMultithread' started at 2018-11-04 14:20:20.982
Test Case 'ObjectPathTests.testMultithread' passed (0.502 seconds)
Test Suite 'ObjectPathTests' passed at 2018-11-04 14:20:21.485
	 Executed 4 tests, with 0 failures (0 unexpected) in 0.503 (0.503) seconds
Test Suite 'SignatureTests' started at 2018-11-04 14:20:21.485
Test Case 'SignatureTests.testInvalid' started at 2018-11-04 14:20:21.485
"aa" is invalid: Missing array element type
Test Case 'SignatureTests.testInvalid' passed (0.0 seconds)
Test Case 'SignatureTests.testValid' started at 2018-11-04 14:20:21.485
Test Case 'SignatureTests.testValid' passed (0.001 seconds)
Test Suite 'SignatureTests' passed at 2018-11-04 14:20:21.486
	 Executed 2 tests, with 0 failures (0 unexpected) in 0.001 (0.001) seconds
Test Suite 'debug.xctest' passed at 2018-11-04 14:20:21.486
	 Executed 12 tests, with 0 failures (0 unexpected) in 0.506 (0.506) seconds
Test Suite 'All tests' passed at 2018-11-04 14:20:21.486
	 Executed 12 tests, with 0 failures (0 unexpected) in 0.506 (0.506) seconds

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant