aboutsummaryrefslogtreecommitdiffstats
path: root/test/plugin_dialyzer.mk
AgeCommit message (Collapse)Author
2024-11-19CI: Also test with CACHE_DEPS=1Loïc Hoguin
2024-11-15CI: Run Dialyzer tests in parallel jobsLoïc Hoguin
2024-11-14Remove most packagesLoïc Hoguin
Erlang.mk will no longer feature packages out of the box, except for the applications that we implement plugins for (such as erlydtl, proper or relx) and the projects I work on that are also used to test Erlang.mk (cowboy and friends). This is a breaking change. In most cases the fix is to add a full dep_* line for the dependencies that were used as packages before.
2024-11-13Greatly speed up test speed with -jLoïc Hoguin
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
2020-10-27Fix test that uses LFELoïc Hoguin
Somehow the develop and master branches of LFE have different commit hashes and because LFE switched its default branch to develop the hash we use for testing became incorrect. To fix I just switched to the develop hash of the equivalent commit.
2020-06-18Add missing exports to Dialyzer testsLoïc Hoguin
2020-04-03test/plugin_dialyzer.mk: Skip cowlib test in `dialyzer-plt-ebin-only`Jean-Sébastien Pédron
This is a waste of time and if they were to fail, this does not serve the Erlang.mk testsuite.
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-12-04Fix and document Dialyzer against beam filesLoïc Hoguin
2018-11-30Fix Dialyzer when a project has and uses parse transformsLoïc Hoguin
2018-07-05Swallow warnings when creating a PLTKrzysztof Jurewicz
2018-05-14Don't list test cases manually anymoreLoïc Hoguin
2016-11-29Give ebin paths when creating the PLTLoïc Hoguin
Before we had Dialyzer look for BEAM files in every subfolders of every deps. This resulted in the PLT bundling extra files and/or Dialyzer failing because some of them are not built with +debug_info, or because there are duplicates (in test logs for example). Now Dialyzer will only look in ebin/.
2016-09-13Merge branch 'fix-dialyzer-ERLC_OPTS-filtering' of ↵Loïc Hoguin
https://github.com/rabbitmq/erlang.mk
2016-09-09Remove an unnecessary step in dialyzer-beam testLoïc Hoguin
2016-09-09Add a test for using Dialyzer against BEAM filesLoïc Hoguin
2016-09-08dialyzer.mk: Use the shell to parse command line argsJean-Sébastien Pédron
Splitting arguments on `-` was dangerous: if a path contained such a character, it would be split and the second half thrown away by the filtering. Now, `$(ERLC_OPTS)` is passed to erl(1) after `-extra`. Thus arguments parsing is done by the shell and we only have to call init:get_plain_arguments/0 to get them as a list.
2015-12-24Simplify cleaning in the test suiteLoïc Hoguin
Not only simpler but also faster, especially on Windows.
2015-12-15Prevent Dialyzer from running concurrently in test suiteLoïc Hoguin
We use the GNU Parallel program to create a mutex around the Dialyzer calls.
2015-12-15Make some rm -rf commands saferLoïc Hoguin
This way if for some unknown reason $(APP_TO_CLEAN) isn't defined, we don't delete the entire world.
2015-12-01Test and document DialyzerLoïc Hoguin
One bug was fixed: now Erlang.mk will properly pass relevant ERLC_OPTS values to Dialyzer. One bug still exists when using multi-application repositories: dependencies are not detected automatically. We need list-deps before this can work.