package manager test failing on Ubuntu 14.04

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?

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

···

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>*/

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

Fix rmtree failing if there are symlinks to dirs · apple/swift-package-manager@257fe0a · GitHub

--
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

I filed:
  [SR-32] Find way to make allTests required / audited on OS X · Issue #411 · apple/swift-corelibs-xctest · GitHub
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

Fix rmtree failing if there are symlinks to dirs · apple/swift-package-manager@257fe0a · GitHub

--
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

Pushed: Fix RmtreeTests on Linux · apple/swift-package-manager@3657926 · GitHub

···

I filed:
[SR-32] Find way to make allTests required / audited on OS X · Issue #411 · apple/swift-corelibs-xctest · GitHub
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

Fix rmtree failing if there are symlinks to dirs · apple/swift-package-manager@257fe0a · GitHub

--
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