-
Notifications
You must be signed in to change notification settings - Fork 42
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
Make tests fails : Test run failed! Reason: {'EXIT',{error,{enoent,"src/"}}} #53
Comments
I've been working with R16 and haven't tested things on 17 and 18 yet, but this seems like either a setup problem, a rebar problem, or maybe an issue with 17 that was fixed? The reference to src/ file should be fine. I am using erlang.mk and you are including it to a rebar project. This should work, but there may be a conflict for the versions of these two build tools. Can you post a copy of your rebar.config? |
Upgraded to v1.1.0. reopen if there are still issues. |
No changes (same environnement : OTP17, OSX 10.8.5)
I updated to 18.2 with kerl -> works fine |
Can you try the following?
The first 2 steps make sure you start clean and get fresh deps, then compile all deps including PropEr. Dialyzer just to make sure that things built ok, then the tests can try to run. It might be that cover spec, just want to try this first. |
I added more files to the cover spec, updated README, and pushed a new 1.1.0 tag. I just ran the above on OTP 19.0 and it worked fine. You might want to try deleting the directory and a fresh clone. There is a new version of erlang.mk being used that might affect things. Are you building as part of a larger project with rebar? Or are you just running this as a standalone local library? It is possible that there is a rebar/erlang.mk difference. |
after make distclean, make tests it works fine even with 17.5 (activated with kerl). even if make throws a little error with random FYI make my_dialyzer throws an error dialyzer: No such file, directory or application: ".epocxy.plt" As I mentionned works fine with 18.2 too, did not tryed yet with 19.0 but it should be ok |
You have to do 'make plt' before 'make my_dialyzer' will run. I should make that a dependency, will update. If you don't have a .erlang file you can use 'make dialyzer'. Something about erlang.mk that trips on my environment caused me to add 'make my_dialyzer'. |
Erlang 19.0
but Tests OK ;)
|
This issue seems to be fixed in 18.0 and later. I am keeping this open so I can do some backtesting and try to make it work for R16 and R17. In the meantime, commenting out CT_OPTS in the Makefile solves the issue for the earlier releases. |
Erlang/OTP 17 [erts-6.1] [source] [64-bit] [smp:4:4] [async-threads:10] [hipe] [kernel-poll:false]
Eshell V6.1 (abort with ^G)
OSX 10.8.5
The text was updated successfully, but these errors were encountered: