aboutsummaryrefslogtreecommitdiffstats
path: root/test
AgeCommit message (Collapse)Author
2018-07-05Swallow warnings when creating a PLTKrzysztof Jurewicz
2018-05-31Add $(TEST_DIR) to the default value of SHELL_PATHSKrzysztof Jurewicz
2018-05-14Replace the imagejs test with lz4Loïc Hoguin
2018-05-14Make some of the new tests more quietLoïc Hoguin
2018-05-14Don't list test cases manually anymoreLoïc Hoguin
2018-05-14Small tweaks to previous PRLoïc Hoguin
2018-05-14Add test with include loopStanislav Ovchar
2018-05-14Add tests include_lib tests for depsStanislav Ovchar
2018-05-14Add tests when .hrl files are in srcStanislav Ovchar
2018-05-14Add core-app-hlr test to verify recursive inculde_lib between appsStanislav Ovchar
2018-05-14Add core-app-hlr test to verify inlude_lib between appsStanislav Ovchar
2018-05-14Add core-app simple test for hlr with -include_libStanislav Ovchar
2018-05-14Add the test directory in the list of paths for properLoïc Hoguin
2018-05-14Don't run cover when there's no ebin files in the directoryLoïc Hoguin
2018-05-14list templates on seperate linesMads Flensted-Urech
2018-05-14Fix use of templates from plugins in apps layoutLoïc Hoguin
2018-04-25Add gen_statem templatejuhlig
[skip ci]
2018-03-14Create temporary directory when generating relxKrzysztof Jurewicz
2018-01-24Add support for Sphinx documentation builderStanislaw Klekot
2017-11-17Don't try to load ci.erlang.mk when testing packagesLoïc Hoguin
[ci skip]
2017-11-15Fix missing core-misc target in testsThomas Nixon
This updates core_misc.mk to match the other core_*.mk files, whose tests are included via the include_core mechanism in Makefile.
2017-09-15Fix removal of COVER_DATA_DIR if not emptyLoïc Hoguin
2017-09-13COVER_DATA_DIR for *.coverdatanevar
Also make COVER_REPORT_DIR not override user value (if set before include erlang.mk). Use incl_app in CT cover spec.
2017-08-23Make Triq plugin pick tests from $(TEST_DIR)Krzysztof Jurewicz
This commit also changes Triq repository in package index to point to the leading fork. The original repository doesn’t work in Erlang 20.
2017-05-25Cleanup the relx test suiteLoïc Hoguin
Avoid duplicating everything between Windows and other platforms.
2017-05-25Update relx up to v3.23.0Stanislav Ovchar
2017-05-16Add a test for ErlyDTL with a custom tagLoïc Hoguin
2017-05-15Also test WITHOUT when updating Erlang.mkLoïc Hoguin
2017-05-15Add tweaks and tests for the WITHOUT featureLoïc Hoguin
2017-05-15Support plugins local to the applicationJean-Sébastien Pédron
If the application's Makefile specify either: DEP_PLUGINS = $(PROJECT) or e.g.: DEP_PLUGINS = $(PROJECT)/mk/dist.mk then load the plugin from the application instead of a dependency. This helps when you have an application with common Erlang modules and Erlang.mk plugins: your common application can load Erlang.mk plugins exactly like other applications depending on the common application.
2017-05-15Add dep_fetch_lnderwinlu
2017-05-13Add a test for EDOC_SRC_DIRS and tweak the feature a bitLoïc Hoguin
2017-05-13Convert legacy cover tests and fix a few issuesLoïc Hoguin
There are no more legacy tests. Enjoy!
2017-05-12Fix the test merged in the previous commitLoïc Hoguin
2017-05-12Add test for CT on root app with sub-appsAlexey Lebedeff
2017-05-12Support early-stage plugins through `$(DEP_EARLY_PLUGINS)`Jean-Sébastien Pédron
Regular plugins (`$(DEP_PLUGINS)`) are loaded near the end of Erlang.mk. This is fine when you want to modify variables initialized earlier in Erlang.mk or add new targets and variables. However, it doesn't allow you to declare more dependencies because they are loaded too late for that. This commit introduces a new variable, `$(DEP_EARLY_PLUGINS)`, which can be used to list plugins meant to be loaded near the beginning of Erlang.mk. Those allow to append to the list of dependencies. They work exactly like regular plugins otherwise. The default filename loaded is `early-plugins.mk`.
2017-05-12test/core_deps.mk: Wait for node in core-deps-relJean-Sébastien Pédron
When the test check the running applications in the started release, the node may not be up yet. So loop until the command returns a list of applications (instead of "Node is not running!"). This fixes some transient failures.
2017-04-27Use --gpg-no-sign in commits in testsLoïc Hoguin
2017-04-27Add a test for plugin templates and fix an issue with themLoïc Hoguin
2017-04-25Add test for plugins test buildsDaniel Goertzen
2017-04-25Fix of handling relx.config release versionKrister Svanlund
2017-04-25Stylistic changes to makedep tests2017.04.25Loïc Hoguin
2017-04-25core/erlc.mk: added src subfolders support in makedep.erlOleksiy Kebkal
2017-04-25Improve the newly added testLoïc Hoguin
2017-04-25Accumulate eunit failures in multi-appsStanislav Ovchar
2017-04-25compile apps in the right order by looking at their LOCAL_DEPSJeffrey Griffin
we also use LOCAL_DEPS at the top-level, if it exists, to determine which local apps to compile, in the interest of saving compile time for projects that have many apps and multiple release configurations
2017-04-25fix removing deps.log at toplevel when in a multi-app layoutJeffrey Griffin
`rm deps.log` was not being executed, because of 1) the ifeq around it, checking for an empty ALL_DEPS_DIRS, which i believe was a logical error; and 2) deps depended on apps, which means apps were compiled before its recipe was executed, and the `rm deps.log` would be executed after it had been written to by recursive make of the apps. the important reason to remove deps.log is so that dependencies get remade when they change. otherwise you'll get mysterious errors about missing dependencies if they need to be rebuilt, or worse, have wrong stale beam files bundled in your release. tests core-deps-apps and core-deps-apps-only now manually clean the cowlib dep and rebuild at the top-level to make sure cowlib gets rebuilt. both tests indeed fail without this fix. this attempts to fix #1 by removing the ifeq, and #2 by having deps and apps depend on deps.log, with deps.log 'built' (but actually removed) by a double-colon rule with no prerequisites (which means its recipe always be run).
2017-04-25Use $(if) instead of ifeq and add a test for RELX_TAR=0Loïc Hoguin
2017-04-10Only makedep and build asn1/xrl/mib files when necessaryLoïc Hoguin
Because we were unconditionally including the makedep file, it would be built even if the target was unrelated (like "make help"), and it would also trigger building of xrl and other files that produce Erlang code. Instead the makedep file is now included as a wildcard: if it exists it gets included, if it doesn't it's not, and if it's created in the middle of execution it gets included only then. More details on the technique can be found at http://make.mad-scientist.net/papers/advanced-auto-dependency-generation/ A test has been added to make sure the behavior does not come back at a later time.
2017-01-12Set ASN.1 compilation options using ERLC_ASN1_OPTS2017.01.12Klas Johansson
`ERLC_ASN1_OPTS` can be used to pass compiler options when compiling ASN.1 files. By default, Erlang.mk will leave this empty, but it can be redefined in a Makefile.