aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2022-05-23Fix core-deps-rel testLoïc Hoguin
2022-05-23Automatically add relx dependency on bootstrap-relLoïc Hoguin
2022-05-20Set date for breaking Relx 4 changeLoïc Hoguin
2022-04-28Update .gitignoreLoïc Hoguin
2022-04-28Fix core-deps-fetch-hex test when LEGACY=1Loïc Hoguin
2022-04-28Fix core-query-deps-no-duplicates testLoïc Hoguin
2022-04-28Only test compatibility with rebar3, not rebar2Loïc Hoguin
2022-04-28Fix core-autopatch-two-rebar testLoïc Hoguin
Mochiweb has moved from master to main branch.
2022-04-28Remove erlang_protobuffs tests, only gpb works nowLoïc Hoguin
2022-04-28fixup! Upgrade to Relx 4 which is now used as a libraryLoïc Hoguin
2022-04-27Upgrade to Relx 4 which is now used as a libraryLoïc Hoguin
2022-04-26Fix .app.src.script autopatch when no .app.src is present2022.04.26Loïc Hoguin
Thanks Luke Bakken for the report!
2022-04-12Temporary, incomplete fix for OTP-25 RelxLoïc Hoguin
This will not make release upgrades work for OTP-25. We need to move on to Relx 4 in order to fix those.
2022-03-25Dialyzer no longer supports -Wrace_conditions as of Erlang 25Michael Klishin
Closes #941
2021-03-26core/deps.mk: Support Rebar lock files with version "1.2.0"Jean-Sébastien Pédron
This is the case in erlang-systemd [1]. As far as I can tell, the format is the same for the bits Erlang.mk is interested in. The testsuite is expanded to use version 0.6.0 of erlang-systemd. [1] https://github.com/rabbitmq/erlang-systemd
2021-03-26test/core_deps.mk: Fix jquery branch nameJean-Sébastien Pédron
Apparently it was renamed.
2020-12-04Update canonical cuttlefish package locationLuke Bakken
https://github.com/Kyorai/cuttlefish
2020-12-04Revert "fix: replace perl usage with coreutils"Loïc Hoguin
This reverts commit 1762278d9654e5f90ab587cbde7bac0e2b220014.
2020-11-30Fix core-query-deps-no-duplicates testLoïc Hoguin
2020-11-30Update mysql-otp version to 1.7.0juhlig
2020-11-30Add dep version in examples in README and user guideViktor Söderqvist
Add dep_cowboy_commit 2.8.0 and a note in the user guide dependencies section that the versions in the package index are not always up to date.
2020-11-30fix: replace perl usage with coreutilspinicarus
2020-11-30Try do detect if we need to sleep in tests between a build and when aMartin Björklund
source file is modified. Without a sleep the source file and the target may get the same modification time, on some machines.
2020-11-30Add support for publishing Hex releases and docsLoïc Hoguin
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-10-27Disable Mercurial testLoïc Hoguin
There are no popular Mercurial providers anymore. We can enable it again when things change. Gitlab might add it in the future.
2020-08-18Update jsx master -> main branch repositoryJean Chassoul
2020-07-21Add query-deps test with no depsLoïc Hoguin
2020-07-20Fix `query-deps` for projects without depsLuke Bakken
To reproduce: ``` git clone https://github.com/rabbitmq/inet_tcp_proxy.git cd inet_tcp_proxy $ make BRANCH=master QUERY='name fetch_method repo version absolute_path' query-deps /bin/sh: /home/lbakken/development/rabbitmq/umbrella/deps/inet_tcp_proxy/.erlang.mk/recursive-tmp-deps-231462.log: No such file or directory rm: cannot remove '/home/lbakken/development/rabbitmq/umbrella/deps/inet_tcp_proxy/.erlang.mk/recursive-tmp-deps-231462.log': No such file or directory make: *** [erlang.mk:7642: /home/lbakken/development/rabbitmq/umbrella/deps/inet_tcp_proxy/.erlang.mk/recursive-deps-list.log] Error 1 ```
2020-06-23plugins/concuerror.mk: Use $(MAKE) instead of hard-coding `make`Jean-Sébastien Pédron
This fixes the plugin when e.g. GNU Make is installed as `gmake` (and `make` is another incompatible implementation).
2020-06-22core/test.mk: Abort build if a test file fails to compileJean-Sébastien Pédron
In commit c55d0dcd6182983521d4ab34478cfe4b093edb12, the recipe was improved to only rebuild out-of-date test files (not everything as it was the case before). However in the process, the exit status of the Erlang compiler was not checked anymore, leading to build failures in the test directory to be ignored. This patch fixes this bug.
2020-06-18Add missing exports to Dialyzer testsLoïc Hoguin
2020-06-18Add initial Concuerror integrationLoïc Hoguin
https://concuerror.com/
2020-05-20Temporarily disable the core-autopatch-no-autopatch-rebar testLoïc Hoguin
The rebar in the lager repository is not compatible with OTP-23, causing this test case to fail.
2020-05-20Remove -lerl_interface also when autopatchingLoïc Hoguin
2020-04-21Do minimal checks to pkg_add.sh argscrownedgrouse
2020-04-21Move docker directory to etc/Loïc Hoguin
2020-04-21Add bash completion scriptcrownedgrouse
2020-04-21core/test.mk: Rebuild out-of-date test modules onlyJean-Sébastien Pédron
... instead of always rebuilding all of them each time a testsuite is executed. The only exception is when a Makefile was modified: like for main source files, test modules are all recompiled in this case.
2020-04-17Remove --retry-connrefused from curl commandLoïc Hoguin
Doesn't work on CentOS, too new.
2020-04-17Strengthen the core_compat tests with curl --retryLoïc Hoguin
2020-04-17Fix non-verbose output for C/CPP targetsLoïc Hoguin
2020-04-16Use an ln dep for core-deps-shell to avoid intermittent errorsLoïc Hoguin
2020-04-14Fix encoding issues when generating the makedep fileLoïc Hoguin
In some cases the input will be parsed as UTF-8 and converted to "characters" and in others it won't and will be processed as bytes (for example, `erl -oldshell` will do that). This means that encoding-dependent characters such as "é" only need to be converted to binary in the former case. To detect which situation we are in we check what the value of "é" is. If it is [233] then the eval input was parsed as UTF-8 and converted to characters. Otherwise we assume it wasn't.
2020-04-13Add plugin esh.mk to the index/documentationcrownedgrouse
2020-04-12core/test.mk: Build application before its testsJean-Sébastien Pédron
This fixes compiler warnings if modules under `tests` implement behaviors defined in `src`. This way, we make sure behaviors are compiled before the test modules.
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.
2020-04-02test/core_query.mk: Pin `farwest` in `core-query-deps-no-duplicates`Jean-Sébastien Pédron
It was previously "pinned" to its `master` branch. Unforunately, the testcase started to fail after `farwest` changed its own pinning of `cowlib`. By pinning to a specific version (or commit in this case) of `farwest`, we make sure this won't happen again.
2020-03-25Remove -lerl_interface from the default LDLIBSLoïc Hoguin
The -lerl_interface library is getting removed in OTP-23.
2020-03-04Add the query-deps family of targets2020.03.05Loïc Hoguin
The query-deps, query-doc-deps, query-rel-deps, query-test-deps and query-shell-deps targets go through dependencies and print some information about them: $ make query-deps ... cowboy: cowlib git https://github.com/ninenines/cowlib 2.7.3 cowboy: ranch git https://github.com/ninenines/ranch 1.7.1 $ make query-deps QUERY="name repo version absolute_path" ... cowboy: cowlib https://github.com/ninenines/cowlib 2.7.3 /path/to/deps/cowlib cowboy: ranch https://github.com/ninenines/ranch 1.7.1 /path/to/deps/ranch The query-deps target is recursive; the others aren't. This mirrors the behavior when fetching and building dependencies. The full list of options is: QUERY="fetch_method name repo version extra absolute_path" When an option has no corresponding value, "-" will be printed. For example most fetch methods do not have extra information to print. When there is extra information, the value will be prefixed with a descriptive name. For example: package-name=uuid_erl This commit also introduces changes to deps handling: some of the functions for querying will now be used directly. In the future the goal is to remove the old dep_name, dep_commit, etc. functions and replace their usage with the new query functions. Custom fetch methods should implement query functions in order to have information about the relevant dependencies printed properly.