Skip to content
This repository has been archived by the owner on Oct 31, 2021. It is now read-only.

Can't build v0.0.4 #36

Open
girvo opened this issue Mar 14, 2016 · 3 comments
Open

Can't build v0.0.4 #36

girvo opened this issue Mar 14, 2016 · 3 comments

Comments

@girvo
Copy link

girvo commented Mar 14, 2016

Hi there, trying to compile this on OS X by running build.sh gives me the following failing test:

  Expected: True
  But was:  False

at Projekt.Tests.assertDeepEquals (System.Xml.Linq.XNode expected, System.Xml.Linq.XNode result) <0x10893c580 + 0x0009b> in <filename unknown>:0
at Projekt.Tests.delFile should remove file in later ItemGroups () <0x108afeef0 + 0x000e5> in <filename unknown>:0


Running build failed.
Error:
Fake.UnitTestCommon+FailedTestsException: NUnit test failed (2).
  at Fake.NUnitSequential.NUnit (Microsoft.FSharp.Core.FSharpFunc`2 setParams, IEnumerable`1 assemblies) <0x114af0620 + 0x00456> in <filename unknown>:0
  at FSI_0001.Build+clo@145-11.Invoke (Microsoft.FSharp.Core.Unit _arg7) <0x114af0590 + 0x00076> in <filename unknown>:0
  at Fake.TargetHelper+targetFromTemplate@155[a].Invoke (Microsoft.FSharp.Core.Unit unitVar0) <0x114ade860 + 0x00023> in <filename unknown>:0
  at Fake.TargetHelper.runSingleTarget (Fake.TargetTemplate`1 target) <0x114ad2aa0 + 0x000fd> in <filename unknown>:0

Any ideas what's going on there?

@rneatherway
Copy link
Contributor

Basically the version of Mono you are using has a different implementation of System.XML, which in this case leaves an empty section behind like <TagName />. Only the nested tags are of interest so they are semantically equivalent, but the test is too coarse.

@jwulf
Copy link

jwulf commented May 29, 2016

Is there a fix / patch for this? Hitting the same problem.

@rneatherway
Copy link
Contributor

If you just want to build then use ./build.sh build. This is only a problem with a failing test.

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

No branches or pull requests

3 participants