Age | Commit message (Collapse) | Author |
|
This commit also includes a way to completely disable Eunit
as that is generally desirable for Elixir-only projects.
|
|
The tests were waiting for the test group to finish before
they could continue with the next test group. Now "core"
and "all" targets directly depend on individual test cases,
allowing parallel Make to get to the next tests quicker and
removing 1/3rd of the total run time.
make check -j8 -k 5790,16s user 1207,08s system 627% cpu 18:35,49 total
make check -j8 -k 6250,13s user 1326,77s system 972% cpu 12:59,16 total
|
|
|
|
|
|
It was using os:cmd("echo ...") which on Windows preserves
spaces. One possible fix would have been to remove the space,
but I instead removed the use of os:cmd("echo ...") to avoid
similar issues in the future.
|
|
And use this in the tests to fetch Rebar only once and then
clone from the local repository. This should speed up tests
a little.
|
|
Also don't run eunit if there's no src/test directory.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Not only simpler but also faster, especially on Windows.
|
|
|
|
Also includes a fix for multi-application repositories.
|