<feed xmlns='http://www.w3.org/2005/Atom'>
<title>erlang.mk.git/test/plugin_eunit.mk, branch work-20241127</title>
<subtitle>A build tool for Erlang that just works.
</subtitle>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/erlang.mk.git/'/>
<entry>
<title>Greatly speed up test speed with -j</title>
<updated>2024-11-13T16:23:22+00:00</updated>
<author>
<name>Loïc Hoguin</name>
<email>essen@ninenines.eu</email>
</author>
<published>2024-11-13T16:23:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/erlang.mk.git/commit/?id=e903cc89c5cc389305ee8dc0b15a8db250de1b37'/>
<id>e903cc89c5cc389305ee8dc0b15a8db250de1b37</id>
<content type='text'>
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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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
</pre>
</div>
</content>
</entry>
<entry>
<title>Add test for EUNIT_TEST_SPEC</title>
<updated>2023-05-15T09:23:55+00:00</updated>
<author>
<name>Loïc Hoguin</name>
<email>essen@ninenines.eu</email>
</author>
<published>2023-05-15T09:23:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/erlang.mk.git/commit/?id=5f862a58161282bcefc3bf125c8084ce313b13d2'/>
<id>5f862a58161282bcefc3bf125c8084ce313b13d2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix "make eunit/ct" not fetching apps dependencies</title>
<updated>2019-06-26T12:47:18+00:00</updated>
<author>
<name>Loïc Hoguin</name>
<email>essen@ninenines.eu</email>
</author>
<published>2019-06-26T12:47:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/erlang.mk.git/commit/?id=3d4edcf31426a766be26caae329ff0cc688a83d7'/>
<id>3d4edcf31426a766be26caae329ff0cc688a83d7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix the eunit-test-dir test on Windows</title>
<updated>2019-06-22T19:45:48+00:00</updated>
<author>
<name>Loïc Hoguin</name>
<email>essen@ninenines.eu</email>
</author>
<published>2019-06-22T19:45:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/erlang.mk.git/commit/?id=abaa729b46ed941aa1cbe84f74dbd15ae45823c3'/>
<id>abaa729b46ed941aa1cbe84f74dbd15ae45823c3</id>
<content type='text'>
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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
<entry>
<title>Autopatch: allow configuring REBAR_GIT and REBAR_COMMIT</title>
<updated>2018-12-07T18:40:02+00:00</updated>
<author>
<name>Loïc Hoguin</name>
<email>essen@ninenines.eu</email>
</author>
<published>2018-12-07T18:40:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/erlang.mk.git/commit/?id=a3cd50792d0ed1c5dfee66ff79ee7117057e9970'/>
<id>a3cd50792d0ed1c5dfee66ff79ee7117057e9970</id>
<content type='text'>
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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
<entry>
<title>Improve ct/eunit tests</title>
<updated>2018-11-23T23:11:34+00:00</updated>
<author>
<name>Loïc Hoguin</name>
<email>essen@ninenines.eu</email>
</author>
<published>2018-11-23T23:09:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/erlang.mk.git/commit/?id=acd16b52d11627ca66b858b4c3d39e2bed41e28f'/>
<id>acd16b52d11627ca66b858b4c3d39e2bed41e28f</id>
<content type='text'>
Also don't run eunit if there's no src/test directory.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also don't run eunit if there's no src/test directory.
</pre>
</div>
</content>
</entry>
<entry>
<title>Ensure apps eunit tests only run once when called directly</title>
<updated>2018-11-23T22:37:52+00:00</updated>
<author>
<name>Loïc Hoguin</name>
<email>essen@ninenines.eu</email>
</author>
<published>2018-11-23T22:37:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/erlang.mk.git/commit/?id=f713103ddc22ac8fdaf80198dc7e24f9032c84b1'/>
<id>f713103ddc22ac8fdaf80198dc7e24f9032c84b1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add eunit test with apps where one include_lib another</title>
<updated>2018-11-23T17:03:23+00:00</updated>
<author>
<name>Roger Lipscombe</name>
<email>roger@differentpla.net</email>
</author>
<published>2018-06-05T10:56:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/erlang.mk.git/commit/?id=ff8ddc2d11a8499b2bf5c4b89c5d97ad2173fd47'/>
<id>ff8ddc2d11a8499b2bf5c4b89c5d97ad2173fd47</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove an unnecessary test message</title>
<updated>2018-11-23T16:40:29+00:00</updated>
<author>
<name>Loïc Hoguin</name>
<email>essen@ninenines.eu</email>
</author>
<published>2018-11-23T16:40:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/erlang.mk.git/commit/?id=5c0e3cc447297a316b30248d291b8e149843e96e'/>
<id>5c0e3cc447297a316b30248d291b8e149843e96e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't list test cases manually anymore</title>
<updated>2018-05-14T15:01:16+00:00</updated>
<author>
<name>Loïc Hoguin</name>
<email>essen@ninenines.eu</email>
</author>
<published>2018-05-14T15:01:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/erlang.mk.git/commit/?id=ce0160ead3306313d85debc951e8f96e8e553d53'/>
<id>ce0160ead3306313d85debc951e8f96e8e553d53</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
