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

eunit: 2 tests failed in 1.1.18 #20

Closed
aidecoe opened this issue Jan 2, 2017 · 3 comments
Closed

eunit: 2 tests failed in 1.1.18 #20

aidecoe opened this issue Jan 2, 2017 · 3 comments

Comments

@aidecoe
Copy link

aidecoe commented Jan 2, 2017

Environment:

  • fast_xml: 1.1.18
  • p1_utils: 1.0.6
  • erlang: 18.3
  • expat: 2.2.0
  • elixir: 1.3.0
  • rebar: 2.6.1

Log:

  fxml_test: element_to_header_test...*failed*
in function erlang:nif_error/1
  called as nif_error(nif_not_loaded)
in call from fxml:element_to_header/1 (src/fxml.erl, line 62)
in call from fxml_test:'-element_to_header_test/0-fun-0-'/1 (test/fxml_test.erl, line 421)
**error:nif_not_loaded
  output:<<"">>

  fxml_test: element_to_header_xmlcdata_test...*failed*
in function fxml_test:'-element_to_header_xmlcdata_test/0-fun-0-'/0 (test/fxml_test.erl, line 430)
**error:{assertException,
    [{module,fxml_test},
     {line,430},
     {expression,"fxml : element_to_header ( { xmlcdata , << \"\" >> } )"},
     {pattern,"{ error , badarg , [...] }"},
     {unexpected_exception,
         {error,nif_not_loaded,
             [{erlang,nif_error,[nif_not_loaded],[]},
              {fxml,element_to_header,1,[{...}|...]},
              {fxml_test,'-element_to_header_xmlcdata_test/0-fun-0-',0,[...]},
              {eunit_test,'-mf_wrapper/2-fun-0-',2,...},
              {eunit_test,run_testfun,...},
              {eunit_proc,...},
              {...}|...]}}]}
  output:<<"">>

Version I had previously - 1.1.15 - passes all eunit tests.

@zinid
Copy link
Contributor

zinid commented Jan 2, 2017

This is a duplicate of #19

prefiks added a commit that referenced this issue Jan 2, 2017
@prefiks
Copy link
Member

prefiks commented Jan 2, 2017

I did add commit that hopefully will fix that, it made test always perform against local version of .so file instead of trying to use system one.

@aidecoe
Copy link
Author

aidecoe commented Jan 2, 2017

Yes, that was it. The problem was present there in 1.1.15 as well if one downgrades from 1.1.18. Thank you for fixing it.

@aidecoe aidecoe closed this as completed Jan 2, 2017
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

3 participants