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

undef rebar_utils cleanup_code_path when running eunit tests #2

Closed
nuex opened this issue Nov 14, 2014 · 5 comments
Closed

undef rebar_utils cleanup_code_path when running eunit tests #2

nuex opened this issue Nov 14, 2014 · 5 comments

Comments

@nuex
Copy link
Contributor

nuex commented Nov 14, 2014

$ rebar3 eunit
...
===> Uncaught error in rebar_core. Run with DEBUG=1 to see stacktrace
===> Uncaught error: {'EXIT',
                             {undef,
                              [{rebar_utils,cleanup_code_path,
...

Then, with grep:

$ grep -r cleanup_code_path /tmp/rebar3/
/tmp/rebar3/src/rebar_prv_eunit.erl:            true = rebar_utils:cleanup_code_path(CodePath),
/tmp/rebar3/src/rebar_prv_eunit.erl:    true = rebar_utils:cleanup_code_path(CodePath),
@tsloughter
Copy link
Collaborator

So I just added that function back to rebar_utils, but the eunit provider is the least fixed up of all the providers. I almost didn't even add it back yet. So any help getting it updated for rebar3 would be great :)

@nuex
Copy link
Contributor Author

nuex commented Nov 14, 2014

Did you see my PR for this @tsloughter?

I'm doing simple eunit tests because that's what I'm familiar with. If I run into any more issues I'll try to attach PRs with a fix to them.

@tsloughter
Copy link
Collaborator

Oh, woops, I missed the PR :). Thanks! I'll pay attention to the PRs better next time, hehe.

@nuex
Copy link
Contributor Author

nuex commented Nov 14, 2014

Fixed via 33e4b7e.

@nuex nuex closed this as completed Nov 14, 2014
@nuex
Copy link
Contributor Author

nuex commented Nov 14, 2014

No problem! Thanks!

tsloughter added a commit that referenced this issue Jul 2, 2015
tolbrino added a commit to tolbrino/rebar3 that referenced this issue Aug 21, 2019
Upgrade relx to include win32 shift fix
ferd added a commit that referenced this issue Apr 11, 2020
keynslug pushed a commit to keynslug/rebar3 that referenced this issue Dec 6, 2022
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

Successfully merging a pull request may close this issue.

2 participants