aboutsummaryrefslogtreecommitdiffstats
path: root/core/test.mk
AgeCommit message (Collapse)Author
2018-05-07Escape double quotes when passing ERLC_OPTS during testsLoïc Hoguin
2017-05-12Make sure the build fails if a docs/rel/test/shell dep failsJean-Sébastien Pédron
Before this change, the build would continue, even if a dependency failed to build. This could lead to obscure errors in the middle of a testsuite for instance. With this change, the build fails immediately, exactly like when a regular dependency fails to build. While here, replace most uses of `|| exit $$?` with `set -e`. This simplifies error handling if we need to add more commands to each blocks. Also, echo error messages to stderr.
2016-10-21Update Copyright notices2016.10.21Loïc Hoguin
2015-12-24Add EUnit tests and documentationLoïc Hoguin
Also includes a fix for multi-application repositories.
2015-09-03Generate `$(PROJECT).d` before calling `make app-build`Jean-Sébastien Pédron
This ensures all generated dependencies are prepared and the .d file is ready before the actual build is started.
2015-07-21Don't use warning_as_errors for erlang.mk-style depsLoïc Hoguin
Fix a bug where deps that use erlang.mk didn't have the -Werror option suppressed automatically.
2015-07-04Add $(verbose) to avoid completely silencing commandsLoïc Hoguin
2015-07-02Reduce dependency on external programsLoïc Hoguin
This commit implements a core_find and core_ls function that can be used to list files recursively or not. A few other minute changes are included and a couple hacks removed.
2015-05-09Skip any handling of dependencies if SKIP_DEPS is definedLoïc Hoguin
This includes fetching and compilation. Example usage: SKIP_DEPS=1 make tests Should improve people's life when there are no Internets.
2015-05-09Merge branch 'cover' of https://github.com/zuiderkwast/erlang.mkLoïc Hoguin
Rebased and moved ct.cover.spec into the test/ directory.
2015-05-08Fully specify the ct pathsLoïc Hoguin
Avoids some annoying warnings when Common Test runs. I believe this is a regression.
2015-01-24Combined coverage report for eunit and ctViktor Söderqvist
2015-01-10Introduce test builds and unify testing tools interfaceLoïc Hoguin
The general idea is that erlang.mk now keeps track of what kind of build it generated. A test build is valid for all subsequent test target invocations. A normal build is only valid for itself and releases. This rework adds the ability to specify deps to eunit. The EUNIT_DIR variable is gone in favor of a more global TEST_DIR. The tests-ct target got renamed to ct and documented. Many more minor changes were done during the course of testing these changes.