Erlang build tool that makes it easy to compile and test Erlang applications, port drivers and releases.
Find a file
Chris Bernard 25538e071f Fixed 3 bugs in rebar_eunit. Added EUnit tests to capture them.
1.  When running the eunit command with the convention of putting
tests in "*_tests" modules, eunit would run those tests twice.  This
is because: 1) eunit:test/1 will naturally look for foo's tests both
in foo, and in foo_tests, and 2) eunit:test/1 was being folded over
all project modules.  The fix is to filter "*_tests" modules from the
list passed to eunit:test/1.

2.  When running the eunit command with cover enabled and tests in a
'test' directory, cover would error because it couldn't find the
source code for those tests.  This is because cover:analyze/3 will
only find module source in "." and "../src".  This is hard-coded in
cover :-(.  Since cover shouldn't be calculating code coverage on test
code anyway, the fix is to not fold cover:analyze/3 over
non-production code.

3.  When running the eunit command with cover enabled and a test suite
defined, cover would only attempt to calculate coverage on the the
test suite itself.  This was because only the suite was passed to
cover:analyze/3.  The fix is to fold cover:analyze/3 over all the
production code, filtering out the suite module if it is defined.
2010-03-04 20:53:12 -05:00
ebin Adding cleaner module to permit users to specify their own set of files to delete 2010-02-21 05:39:12 -07:00
include Overhaul env expansion so that rebar fully expands env refs prior to invoking the shell script. Also now using DRV_* env vars for compilation/linking of files found in c_src; this frees up "normal" CFLAGS/LDFLAGS for usage in sub build scripts. 2010-02-16 07:05:29 -07:00
priv Add install command target= var to bash completion 2010-02-27 00:07:00 +01:00
src Fixed 3 bugs in rebar_eunit. Added EUnit tests to capture them. 2010-03-04 20:53:12 -05:00
test Fixed 3 bugs in rebar_eunit. Added EUnit tests to capture them. 2010-03-04 20:53:12 -05:00
.hgignore Added support for the speficiation of test suite names 2010-02-03 22:27:09 +10:00
.hgtags Added tag RELEASE-1 for changeset e8747041ef63 2009-12-18 15:11:54 -07:00
bootstrap Add missing mode setting in Emacs file variables 2010-02-25 21:43:23 +01:00
HACKING Added HACKING, LICENSE and THANKS files 2009-12-31 20:31:22 +01:00
LICENSE Added HACKING, LICENSE and THANKS files 2009-12-31 20:31:22 +01:00
NOTES.org Initial commit 2009-11-25 15:23:42 -07:00
rebar.config Enable fail_on_warning by default 2009-12-14 09:27:58 -05:00
THANKS Added OJ Reeves to THANKS file 2010-01-09 14:52:55 +01:00