Created attachment 635706 [details, diff] rebar run tests from current dir With a bump of the fast_tls package I noticed a curious bug which is a problem in the rebar eclass. Running the tests seems to take the library from the system, not the one just built. This obviously makes little sense. I'm proposing attached patch to fix this, which will set ERL_LIBS to . in case of unit tests.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=803cdc3720ca506b1e7f737d7b20d33b3b5e0495 commit 803cdc3720ca506b1e7f737d7b20d33b3b5e0495 Author: Hanno Böck <hanno@gentoo.org> AuthorDate: 2020-05-04 09:00:28 +0000 Commit: Hanno Böck <hanno@gentoo.org> CommitDate: 2020-05-04 09:00:28 +0000 rebar.eclass: Run tests with newly compiled library. Closes: https://bugs.gentoo.org/720448 Signed-off-by: Hanno Böck <hanno@gentoo.org> eclass/rebar.eclass | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)