aboutsummaryrefslogtreecommitdiffstats
path: root/test
AgeCommit message (Collapse)Author
2023-05-23Add a test for ESCRIPT_ZIP_FILE and abspath the valueLoïc Hoguin
This way we can just configure it to a local folder without having to use $(CURDIR).
2023-05-16Don't run core-deps-optional test when LEGACY=1Loïc Hoguin
2023-05-16Fix RELX_OUTPUT_DIRLoïc Hoguin
Was broken in the move to Relx v4.
2023-05-15Use $(CACHE_DIR)/git instead of $(CACHE_DIR)/gitsLoïc Hoguin
2023-05-15Cleaned up dep cache tests, added hex test and fixed a bugLoïc Hoguin
2023-05-15Allow git + hex deps to be cached to XDG_CACHE_HOMETyler Hughes
2023-05-15Add test for static NIF compilationLoïc Hoguin
2023-05-15test(edoc): add checks for source subdirectoriespinicarus
2023-05-15Added test for protobuf files with importsLars Kroll
2023-05-15Add test for EUNIT_TEST_SPECLoïc Hoguin
2023-05-15Add COVER_EXCL_MODS variableJoseph Dunne
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.
2023-05-12Add support for relx.config.script backTyler Hughes
It was removed accidentally when switching to Relx v4.
2023-05-12Add tests for Relx' {git, short} && {git, long}Loïc Hoguin
2023-05-12Support optional applicationsjdamanalo
Loïc: Added more info to guide.
2023-05-12Fix typosKian-Meng Ang
2023-05-12Add testing of building packages from hex.pmLoïc Hoguin
2023-05-09Autopatch: better handle COMPILE_FIRST/erl_first_filesLoïc Hoguin
This is still a bit hackish but it appears that some projects have wrong erl_first_files entries (module exists but not at the location configured) and so we have to do a bit of manipulation before we can find the module. We also need to be cautious about .yrl/.xrl because their corresponding .erl files may not exist in the repository before compilation yet can be listed in erl_first_files.
2023-05-05Add ELIXIR_PATCH=1 when testing building packagesLoïc Hoguin
2023-05-05Tests: exclude pmod_transform from .app/load checksLoïc Hoguin
This is not a proper OTP application.
2023-05-05Deps: Add a project-specific patch for hutLoïc Hoguin
Hut has both a Makefile and erlang.mk but the default target does not build the project. To fix a few packages we have a special patch HUT_PATCH that will call the appropriate target.
2023-05-05Autopatch: Move to Rebar3Loïc Hoguin
2023-05-05Ignore plugins from package checksLoïc Hoguin
2023-05-04Remove rabbit/amqp_client packages and patchesLoïc Hoguin
We expect users to fetch these projects from hex.pm now and the packages no longer worked.
2023-05-04Update the query duplicate testLoïc Hoguin
2023-04-03Fix core-app-yrl-header test for OTP-26Loïc Hoguin
2023-04-03Fix core-deps-fetch-git-submodule testLoïc Hoguin
Test broke when git did a security fix related to file:// that we are using for the submodule in this test.
2022-11-10Fix code coverage for ct-* targetsLoïc Hoguin
Thanks to David Ansari for the report.
2022-05-31xref: Also ignore targets where applicableLoïc Hoguin
2022-05-30Fix yecc test case failing with OTP-25.02022.05.31Loïc Hoguin
2022-05-30Revamp and document Xref supportLoïc Hoguin
2022-05-23Fix bootstrap-rel testLoïc Hoguin
2022-05-23Fix core-deps-rel testLoïc Hoguin
2022-05-23Automatically add relx dependency on bootstrap-relLoï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-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
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-11-30Fix core-query-deps-no-duplicates testLoïc Hoguin
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-07-21Add query-deps test with no depsLoïc Hoguin
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