package manager test failing on Ubuntu 14.04


(Ted Kremenek) #1

This test is now failing in the package manager on Ubuntu 14.04:

swift-incremental-RA-linux-ubuntu-14_04/swiftpm/Sources/../Tests/sys/MiscTests.swift:16:7: error: type 'RmtreeTests' does not conform to protocol 'XCTestCaseProvider'
class RmtreeTests: XCTestCase {
      ^
XCTest.XCTestCaseProvider:2:16: note: protocol requires property 'allTests' with type '[(String, () -> ())]'
    public var allTests: [(String, () -> ())] { get }
             
Can someone take a look?


(Ted Kremenek) #2

Failing on Ubuntu 15.10 as well.

···

On Dec 3, 2015, at 7:35 PM, Ted Kremenek <kremenek@apple.com> wrote:

This test is now failing in the package manager on Ubuntu 14.04:

swift-incremental-RA-linux-ubuntu-14_04/swiftpm/Sources/../Tests/sys/MiscTests.swift:16:7: error: type 'RmtreeTests' does not conform to protocol 'XCTestCaseProvider'
class RmtreeTests: XCTestCase {
      ^
XCTest.XCTestCaseProvider:2:16: note: protocol requires property 'allTests' with type '[(String, () -> ())]'
    public var allTests: [(String, () -> ())] { get }
             
Can someone take a look?


(Dmitri Gribenko) #3

+Max

https://github.com/apple/swift-package-manager/commit/257fe0af61e5f4d1ab8ff06d38b1868fa60f77e9

···

On Thu, Dec 3, 2015 at 7:36 PM, Ted Kremenek <kremenek@apple.com> wrote:

Failing on Ubuntu 15.10 as well.

On Dec 3, 2015, at 7:35 PM, Ted Kremenek <kremenek@apple.com> wrote:

This test is now failing in the package manager on Ubuntu 14.04:

swift-incremental-RA-linux-ubuntu-14_04/swiftpm/Sources/../Tests/sys/MiscTests.swift:16:7: error: type 'RmtreeTests' does not conform to protocol 'XCTestCaseProvider' class RmtreeTests: XCTestCase { ^ XCTest.XCTestCaseProvider:2:16: note: protocol requires property 'allTests' with type '[(String, () -> ())]' public var allTests: [(String, () -> ())] { get }

Can someone take a look?

--
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr@gmail.com>*/


(Max Howell) #4

Sorry. I didn't realize this method was required for Linux XCTest. Will fix

···

On Dec 3, 2015, at 7:40 PM, Dmitri Gribenko <gribozavr@gmail.com> wrote:

On Thu, Dec 3, 2015 at 7:36 PM, Ted Kremenek <kremenek@apple.com> wrote:

Failing on Ubuntu 15.10 as well.

On Dec 3, 2015, at 7:35 PM, Ted Kremenek <kremenek@apple.com> wrote:

This test is now failing in the package manager on Ubuntu 14.04:

swift-incremental-RA-linux-ubuntu-14_04/swiftpm/Sources/../Tests/sys/MiscTests.swift:16:7: error: type 'RmtreeTests' does not conform to protocol 'XCTestCaseProvider' class RmtreeTests: XCTestCase { ^ XCTest.XCTestCaseProvider:2:16: note: protocol requires property 'allTests' with type '[(String, () -> ())]' public var allTests: [(String, () -> ())] { get }

Can someone take a look?

+Max

https://github.com/apple/swift-package-manager/commit/257fe0af61e5f4d1ab8ff06d38b1868fa60f77e9

--
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr@gmail.com>*/
_______________________________________________
swift-build-dev mailing list
swift-build-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-build-dev


(Daniel Dunbar) #5

I filed:
  https://bugs.swift.org/browse/SR-32
to see if we can get it so that these methods are required on OS X to make cross platform development more seamless.

- Daniel

···

On Dec 3, 2015, at 7:52 PM, Max Howell <max.howell@apple.com> wrote:

Sorry. I didn't realize this method was required for Linux XCTest. Will fix

On Dec 3, 2015, at 7:40 PM, Dmitri Gribenko <gribozavr@gmail.com> wrote:

On Thu, Dec 3, 2015 at 7:36 PM, Ted Kremenek <kremenek@apple.com> wrote:

Failing on Ubuntu 15.10 as well.

On Dec 3, 2015, at 7:35 PM, Ted Kremenek <kremenek@apple.com> wrote:

This test is now failing in the package manager on Ubuntu 14.04:

swift-incremental-RA-linux-ubuntu-14_04/swiftpm/Sources/../Tests/sys/MiscTests.swift:16:7: error: type 'RmtreeTests' does not conform to protocol 'XCTestCaseProvider' class RmtreeTests: XCTestCase { ^ XCTest.XCTestCaseProvider:2:16: note: protocol requires property 'allTests' with type '[(String, () -> ())]' public var allTests: [(String, () -> ())] { get }

Can someone take a look?

+Max

https://github.com/apple/swift-package-manager/commit/257fe0af61e5f4d1ab8ff06d38b1868fa60f77e9

--
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr@gmail.com>*/
_______________________________________________
swift-build-dev mailing list
swift-build-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-build-dev

_______________________________________________
swift-build-dev mailing list
swift-build-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-build-dev


(Max Howell) #6

Pushed: https://github.com/apple/swift-package-manager/commit/36579267489afd5f1e83d5c7db42cb3eddb0da03

···

I filed:
https://bugs.swift.org/browse/SR-32
to see if we can get it so that these methods are required on OS X to make cross platform development more seamless.

- Daniel

On Dec 3, 2015, at 7:52 PM, Max Howell <max.howell@apple.com> wrote:

Sorry. I didn't realize this method was required for Linux XCTest. Will fix

On Dec 3, 2015, at 7:40 PM, Dmitri Gribenko <gribozavr@gmail.com> wrote:

On Thu, Dec 3, 2015 at 7:36 PM, Ted Kremenek <kremenek@apple.com> wrote:

Failing on Ubuntu 15.10 as well.

On Dec 3, 2015, at 7:35 PM, Ted Kremenek <kremenek@apple.com> wrote:

This test is now failing in the package manager on Ubuntu 14.04:

swift-incremental-RA-linux-ubuntu-14_04/swiftpm/Sources/../Tests/sys/MiscTests.swift:16:7: error: type 'RmtreeTests' does not conform to protocol 'XCTestCaseProvider' class RmtreeTests: XCTestCase { ^ XCTest.XCTestCaseProvider:2:16: note: protocol requires property 'allTests' with type '[(String, () -> ())]' public var allTests: [(String, () -> ())] { get }

Can someone take a look?

+Max

https://github.com/apple/swift-package-manager/commit/257fe0af61e5f4d1ab8ff06d38b1868fa60f77e9

--
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr@gmail.com>*/
_______________________________________________
swift-build-dev mailing list
swift-build-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-build-dev

_______________________________________________
swift-build-dev mailing list
swift-build-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-build-dev