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

Some tests fail on FreeBSD #264

Closed
yurivict opened this issue Mar 5, 2021 · 4 comments
Closed

Some tests fail on FreeBSD #264

yurivict opened this issue Mar 5, 2021 · 4 comments

Comments

@yurivict
Copy link

yurivict commented Mar 5, 2021

Issue description


$ ./ensmallen_tests
ensmallen version: 2.16.1 (Severely Dented Can Of Polyurethane)
armadillo version: 10.1.1 (Orchid Ambush)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ensmallen_tests is a Catch v2.4.1 host application.
Run with -? for options

-------------------------------------------------------------------------------
CNESchafferFunctionN4Test
-------------------------------------------------------------------------------
/usr/ports/math/ensmallen/work/ensmallen-2.16.1/tests/cne_test.cpp:122
...............................................................................

/usr/ports/math/ensmallen/work/ensmallen-2.16.1/tests/cne_test.cpp:141: FAILED:
  REQUIRE( coordinates(0) == Approx(0).margin(0.1) )
with expansion:
  1.2531376349 == Approx( 0.0 )

===============================================================================
test cases:   274 |   273 passed | 1 failed
assertions: 13330 | 13329 passed | 1 failed

Your environment

  • version of ensmallen: 2.16.1
  • operating system: FreeBSD 12.2
  • compiler: clang-10
  • version of Armadillo: 10.1.1
@rcurtin
Copy link
Member

rcurtin commented Mar 6, 2021

It looks like you have run the tests from the wrong directory or something---the majority of those issues appear to be that the data files can't be loaded.

@yurivict
Copy link
Author

yurivict commented Mar 6, 2021

Sorry, I first pasted a wrong log.

There is only one failure:

tests/cne_test.cpp:141: FAILED:
  REQUIRE( coordinates(0) == Approx(0).margin(0.1) )
with expansion:
  1.2531376349 == Approx( 0.0 )

@rcurtin
Copy link
Member

rcurtin commented Mar 7, 2021

I'm not sure but this could be related to #267.

@rcurtin
Copy link
Member

rcurtin commented Mar 12, 2021

Actually I'm pretty sure this was fixed with #267, so I'll go ahead and close this. Hopefully, next release, everything will pass for you. :)

@rcurtin rcurtin closed this as completed Mar 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants