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

Unittests fail on Windows DMD 2.068 #40

Open
Zalastax opened this issue Sep 6, 2015 · 2 comments
Open

Unittests fail on Windows DMD 2.068 #40

Zalastax opened this issue Sep 6, 2015 · 2 comments

Comments

@Zalastax
Copy link

Zalastax commented Sep 6, 2015

Using Windows and the DMD 2.068 compiler:

  dmd -unittest -ofunittest D:\Programming\d\orange\orange\core\Attribute.d D:\Programming\d\orange\orange\serialization\archives\Archive.d D:\Programming\d\orange\orange\serialization\archives\XmlArchive.d D:\Programming\d\orange\orange\serialization\archives\_.d D:\Programming\d\orange\orange\serialization\Events.d D:\Programming\d\orange\orange\serialization\RegisterWrapper.d D:\Programming\d\orange\orange\serialization\Serializable.d D:\Programming\d\orange\orange\serialization\SerializationException.d D:\Programming\d\orange\orange\serialization\Serializer.d D:\Programming\d\orange\orange\serialization\_.d D:\Programming\d\orange\orange\test\UnitTester.d D:\Programming\d\orange\orange\util\collection\Array.d D:\Programming\d\orange\orange\util\collection\_.d D:\Programming\d\orange\orange\util\CTFE.d D:\Programming\d\orange\orange\util\Reflection.d D:\Programming\d\orange\orange\util\Traits.d D:\Programming\d\orange\orange\util\Use.d D:\Programming\d\orange\orange\util\_.d D:\Programming\d\orange\orange\xml\PhobosXml.d D:\Programming\d\orange\orange\xml\XmlDocument.d D:\Programming\d\orange\orange\xml\_.d D:\Programming\d\orange\tests\Array.d D:\Programming\d\orange\tests\ArrayOfObject.d D:\Programming\d\orange\tests\AssociativeArray.d D:\Programming\d\orange\tests\AssociativeArrayReference.d D:\Programming\d\orange\tests\BaseClass.d D:\Programming\d\orange\tests\CircularReference.d D:\Programming\d\orange\tests\Custom.d D:\Programming\d\orange\tests\CustomWithString.d D:\Programming\d\orange\tests\Enum.d D:\Programming\d\orange\tests\EnumConstantMember.d D:\Programming\d\orange\tests\Event.d D:\Programming\d\orange\tests\Events.d D:\Programming\d\orange\tests\Interface.d D:\Programming\d\orange\tests\NonIntrusive.d D:\Programming\d\orange\tests\NonMutable.d D:\Programming\d\orange\tests\NonSerialized.d D:\Programming\d\orange\tests\Object.d D:\Programming\d\orange\tests\OverrideSerializer.d D:\Programming\d\orange\tests\Pointer.d D:\Programming\d\orange\tests\Primitive.d D:\Programming\d\orange\tests\Slice.d D:\Programming\d\orange\tests\String.d D:\Programming\d\orange\tests\Struct.d D:\Programming\d\orange\tests\Subclass.d D:\Programming\d\orange\tests\unittest.d D:\Programming\d\orange\tests\Util.d; ./unittest

Gives some compiler errors:

D:\Programming\d\orange\orange\serialization\Serializer.d(714): Deprecation: typedef is removed
D:\Programming\d\orange\orange\util\Traits.d(135): Deprecation: typedef is removed
D:\Programming\d\orange\orange\util\Traits.d(163): Deprecation: typedef is removed

And some unit test failures:

Failures:
    1) serialize array should return a serialized array
       # orange\tests\Array.d.d:61
       Stack trace:
           2) serialize primitives should return serialized primitives
       # orange\tests\Primitive.d.d:137
       Stack trace:
           3) serialize slices should return serialized slices
       # orange\tests\Slice.d.d:143
       Stack trace:
           4) serialize strings should return serialized strings
       # orange\tests\String.d.d:70
       Stack trace:
           5) serialize Unicode strings should return a serialized string containing proper Unicode
       # orange\tests\String.d.d:122
       Stack trace:

57 tests, 5 failures

I'll be happy to help, but want your input first.

@jacob-carlborg
Copy link
Owner

Which version of Orange are you using? I fixed a couple of tests for 2.068.0 in 74e383a.

@Zalastax
Copy link
Author

Zalastax commented Sep 6, 2015

I'm using the latest master c5a902e

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

2 participants