<feed xmlns='http://www.w3.org/2005/Atom'>
<title>erlang.mk.git/test, branch master</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>Fix autopatch of erlang-rocksdb</title>
<updated>2025-08-29T15:20:56+00:00</updated>
<author>
<name>Loïc Hoguin</name>
<email>essen@ninenines.eu</email>
</author>
<published>2025-08-29T14:45:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/erlang.mk.git/commit/?id=7cef74a75f1d1be150a2a3669caf58f7607e3052'/>
<id>7cef74a75f1d1be150a2a3669caf58f7607e3052</id>
<content type='text'>
Thanks Ilya Khaprov for the fix.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Thanks Ilya Khaprov for the fix.
</pre>
</div>
</content>
</entry>
<entry>
<title>test/core_elixir.mk: Specify CFLAGS when building the Elixir NIF</title>
<updated>2025-07-22T15:24:42+00:00</updated>
<author>
<name>Jean-Sébastien Pédron</name>
<email>jean-sebastien.pedron@dumbbell.fr</email>
</author>
<published>2025-07-07T17:18:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/erlang.mk.git/commit/?id=62cc6143ef0705767c45271b0ba3f7dcdbae7b1b'/>
<id>62cc6143ef0705767c45271b0ba3f7dcdbae7b1b</id>
<content type='text'>
On FreeBSD, libsodium's `sodium.h` header is installed in
`/usr/local/local`. The Makefile already adds
`/usr/local/include/sodium` to the compiler's `-I` search path, but it
doesn't cover the FreeBSD case.

This patch adds `-I /usr/local/include` to the CFLAGS on the make(1)
command line to let libsalty2's Makefile pick it up. This fixes the
build on FreeBSD.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
On FreeBSD, libsodium's `sodium.h` header is installed in
`/usr/local/local`. The Makefile already adds
`/usr/local/include/sodium` to the compiler's `-I` search path, but it
doesn't cover the FreeBSD case.

This patch adds `-I /usr/local/include` to the CFLAGS on the make(1)
command line to let libsalty2's Makefile pick it up. This fixes the
build on FreeBSD.
</pre>
</div>
</content>
</entry>
<entry>
<title>test/core_elixir.mk: Patch `reloader` Makefile to be compatible with BSD sed</title>
<updated>2025-07-22T15:24:42+00:00</updated>
<author>
<name>Jean-Sébastien Pédron</name>
<email>jean-sebastien.pedron@dumbbell.fr</email>
</author>
<published>2025-07-07T17:15:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/erlang.mk.git/commit/?id=2352ec359ecb10d2de93ebf14abc394bdab788df'/>
<id>2352ec359ecb10d2de93ebf14abc394bdab788df</id>
<content type='text'>
Its Makefile called sed(1) in a way that was only compatible with GNU
sed. As a consequence, the build failed with BSD sed.

Now, the test case fetches dependencies and patches `reloader`'s
Makefile to use a sed(1) script compatible with both implementations of
sed(1).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Its Makefile called sed(1) in a way that was only compatible with GNU
sed. As a consequence, the build failed with BSD sed.

Now, the test case fetches dependencies and patches `reloader`'s
Makefile to use a sed(1) script compatible with both implementations of
sed(1).
</pre>
</div>
</content>
</entry>
<entry>
<title>test/plugin_hex.mk: Use the name "nc" for the netcat command</title>
<updated>2025-07-22T10:52:48+00:00</updated>
<author>
<name>Jean-Sébastien Pédron</name>
<email>jean-sebastien.pedron@dumbbell.fr</email>
</author>
<published>2025-06-30T16:21:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/erlang.mk.git/commit/?id=a90161b8554bd694eebc8138a8c7de84797f2175'/>
<id>a90161b8554bd694eebc8138a8c7de84797f2175</id>
<content type='text'>
This is the standard name and is available everywhere, unlike "netcat".
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is the standard name and is available everywhere, unlike "netcat".
</pre>
</div>
</content>
</entry>
<entry>
<title>test/plugin_eunit.mk: Make `eunit-erl-opts` insensitive to verbose mode</title>
<updated>2025-07-22T10:52:48+00:00</updated>
<author>
<name>Jean-Sébastien Pédron</name>
<email>jean-sebastien.pedron@dumbbell.fr</email>
</author>
<published>2025-07-08T12:48:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/erlang.mk.git/commit/?id=d3e04e8e4fb609aed49e473602736ed437d1ba89'/>
<id>d3e04e8e4fb609aed49e473602736ed437d1ba89</id>
<content type='text'>
If `V=...` is set on the command line to increase verbosity while
debugging, the first grep(1) command will also catch the debug output of
make(1) which contains the executed command line and thus mentions
"hello".

The fixed grep(1) command line explicitly grep for a line starting with
"hello".
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If `V=...` is set on the command line to increase verbosity while
debugging, the first grep(1) command will also catch the debug output of
make(1) which contains the executed command line and thus mentions
"hello".

The fixed grep(1) command line explicitly grep for a line starting with
"hello".
</pre>
</div>
</content>
</entry>
<entry>
<title>test/core_query.mk: `gun` master branch depends on cowlib 2.15.0</title>
<updated>2025-07-22T10:52:47+00:00</updated>
<author>
<name>Jean-Sébastien Pédron</name>
<email>jean-sebastien.pedron@dumbbell.fr</email>
</author>
<published>2025-06-30T16:52:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/erlang.mk.git/commit/?id=beefd4b0b996e5414b32353c63191b6a77b3b498'/>
<id>beefd4b0b996e5414b32353c63191b6a77b3b498</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>test/core_app.mk: Use https://github.com/binarytemple/hypernumbers</title>
<updated>2025-07-22T10:52:47+00:00</updated>
<author>
<name>Jean-Sébastien Pédron</name>
<email>jean-sebastien.pedron@dumbbell.fr</email>
</author>
<published>2025-06-30T16:19:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/erlang.mk.git/commit/?id=ae6ac4cc537ddf9982cf4374b65f81043038d90c'/>
<id>ae6ac4cc537ddf9982cf4374b65f81043038d90c</id>
<content type='text'>
... instead of https://github.com/hypernumbers/hypernumbers which is no
longer available apparently.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
... instead of https://github.com/hypernumbers/hypernumbers which is no
longer available apparently.
</pre>
</div>
</content>
</entry>
<entry>
<title>test/core_app.mk: Redirect stderr to stdout when tests grep for parse_transform output</title>
<updated>2025-07-22T10:52:47+00:00</updated>
<author>
<name>Jean-Sébastien Pédron</name>
<email>jean-sebastien.pedron@dumbbell.fr</email>
</author>
<published>2025-06-30T16:13:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/erlang.mk.git/commit/?id=3336b0638830f59aefc6e7b8f053cc44ae88ee2b'/>
<id>3336b0638830f59aefc6e7b8f053cc44ae88ee2b</id>
<content type='text'>
At least for me with Erlang/OTP 28, parse_transform messages end up on
stderr.

Let's always redirect stderr to stdout. It will work for anyone with any
versions of Erlang.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
At least for me with Erlang/OTP 28, parse_transform messages end up on
stderr.

Let's always redirect stderr to stdout. It will work for anyone with any
versions of Erlang.
</pre>
</div>
</content>
</entry>
<entry>
<title>test: Bump some dependencies that fail to build with Erlang/OTP 28</title>
<updated>2025-07-22T10:52:47+00:00</updated>
<author>
<name>Jean-Sébastien Pédron</name>
<email>jean-sebastien.pedron@dumbbell.fr</email>
</author>
<published>2025-06-30T16:21:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/erlang.mk.git/commit/?id=ddb7199ee0662eaf96d0366c1deb4e3f764577c2'/>
<id>ddb7199ee0662eaf96d0366c1deb4e3f764577c2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>test: Set the branch name in `git init`</title>
<updated>2025-07-22T10:52:42+00:00</updated>
<author>
<name>Jean-Sébastien Pédron</name>
<email>jean-sebastien.pedron@dumbbell.fr</email>
</author>
<published>2025-06-30T16:10:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/erlang.mk.git/commit/?id=c01dfaf1968f0b982e6772da0750ec8f88c04e9b'/>
<id>c01dfaf1968f0b982e6772da0750ec8f88c04e9b</id>
<content type='text'>
If the user running the tests has set `init.defaultBranch` to something
else in their `.gitconfig`, the tests won't have the expected branch
name.

This patch explicitly sets the branch name to make sure the tests are
not affected by a user setting.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If the user running the tests has set `init.defaultBranch` to something
else in their `.gitconfig`, the tests won't have the expected branch
name.

This patch explicitly sets the branch name to make sure the tests are
not affected by a user setting.
</pre>
</div>
</content>
</entry>
</feed>
