aboutsummaryrefslogtreecommitdiffstats
path: root/test/core_makedep.mk
AgeCommit message (Collapse)Author
2023-05-12Ignore files with '#' in their names, e.g. emacs lock filesMartin Björklund
Also remove usage of grep for ignoring files since find can do this directly.
2019-08-29core/erlc.mk: Support non-US-ASCII characters in pathsJean-Sébastien Pédron
Internally, strings were stored using Unicode code points. However, when being written to disk with the `file:write_file()` function, there were converted to ISO-8859-1. According to the documentation, that is because the file module is bytewise-oriented: the conversion to another encoding than ISO-8859-1 is the responsibility of the caller. Using unicode:character_to_binary() permits the script to convert the Unicode string to an UTF-8-encoded binary. Without this patch, the added testcase would fail with the following error: gmake[3]: *** No rule to make target '(...)/erlang.mk/test/h��test_core_makedep_non_usascii_paths/deps/test_core_makedep_non_usascii_paths_dep/include/hello.hrl', needed by 'src/hello.erl'. Stop. In this case, the path (passed from the Makefile to the `makedep.erl` script) contains UTF-8-encoded `é` characters but it was converted when doing the final file I/O.
2018-12-07Autopatch: allow configuring REBAR_GIT and REBAR_COMMITLoïc Hoguin
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.
2018-05-14Don't list test cases manually anymoreLoïc Hoguin
2017-04-25Stylistic changes to makedep tests2017.04.25Loïc Hoguin
2017-04-25core/erlc.mk: added src subfolders support in makedep.erlOleksiy Kebkal