Age | Commit message (Collapse) | Author |
|
|
|
They're already in ERL_LIBS.
|
|
I've reworked how the multi-apps projects are built. In particular
I've made sure the test build is made from the top-level once, and
then only tests are run on this build. It used to build multiple
times and some builds would not include test mode, not good. I've
also fixed issues with running tests in parallel.
All tests now pass with -j8 on my machine. It's possible more
issues remain that are not covered by tests yet though.
|
|
Also don't run eunit if there's no src/test directory.
|
|
|
|
|
|
Also make COVER_REPORT_DIR not override user value (if set before
include erlang.mk).
Use incl_app in CT cover spec.
|
|
|
|
|
|
Allow eunit test to access to project's priv_dir.
|
|
I'm not sure how to reproduce the issue some people experienced
(OS, make version maybe? who knows) but I got a report that this
fixes it. It's also definitely the "right" way to do this.
|
|
|
|
Also includes a fix for multi-application repositories.
|
|
|
|
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.
|
|
Rebased and moved ct.cover.spec into the test/ directory.
|
|
There is no value in a verbose mode for eunit by default because
eunit will print errors of failing tests regardless of what mode
is used. Verbose mode only seem to output what modules are tested
and what tests pass in those modules, in addition to errors.
Disabling verbose will make errors much easier to notice.
|
|
|
|
|
|
Also added a copyright line in the eunit plugin due to the
extensive work I have done there a few days ago.
|
|
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.
|
|
Use "+A0 -noinput -boot start_clean" as start argument.
Use halt/{1,2} to shutdown the VM faster.
|
|
|