Ryan Zezeski
e7be6874d7
Pass compile flags to protobuffs
...
By default protobuffs doesn't create beams with debug info. This
causes issues when running dialyzer which requires debug info. Read
the `erl_opts` config and pass it down to protobuffs compiler.
2012-09-03 12:10:14 +02:00
Tuncer Ayaz
d22a2bb81f
rebar_ct: ?DEBUG log ct_run command
2012-09-03 11:40:53 +02:00
Tuncer Ayaz
f460eb14bc
rebar_ct: do not export variable from case
2012-09-02 21:30:59 +02:00
Tuncer Ayaz
f0bf3503cb
Update port_env for Mountain Lion (Noticed-by: Tony Rogvall)
2012-09-01 11:13:34 +02:00
Tuncer Ayaz
f22337b68f
Comment eunit_test:function_wrapper/2 TODO
2012-09-01 11:11:24 +02:00
Tuncer Ayaz
8aadd65a34
rebar_eunit: adapt to R15B02 changes
2012-08-31 22:07:42 +02:00
Tuncer Ayaz
3cc8fb2855
rebar_reltool: remove blank lines
2012-08-30 22:20:02 +02:00
Dmitriy Kargapolov
9c7259d8a2
Add dynamic .script support for overlay vars file
2012-08-30 22:18:09 +02:00
Markus Näsman
2d139ea6c2
Stop cover server between eunit runs for speed
...
Cover gets slower and slower for each application. This is due to the
cover_server internal state. Stopping the cover server between
eunit+cover runs, emptying the cover_server state, gives a ~5-6x speed
improvement when analyzing many Erlang modules. Stopping the cover
server replaces the earlier practice of doing a cover:reset before each
run. On a project consisting of 62 dependencies with a total of 1866
Erlang modules the running time of rebar eunit decreased from ~20
minutes to ~3 minutes.
2012-08-30 17:27:43 +02:00
Tuncer Ayaz
ff8337f9b0
Fix whitespace error in rebar_eunit
2012-08-22 19:17:17 +02:00
Tuncer Ayaz
f528c397f8
Fix whitespace errors in rebar_ct and rebar_eunit
2012-08-22 19:14:35 +02:00
Tuncer Ayaz
3c0d97bf2c
Cleanup and comment
2012-08-20 13:55:55 +02:00
Roberto Ostinelli
60516dc406
Fix tests= option not running generator tests
2012-08-20 12:58:34 +02:00
Roberto Ostinelli
fa6618f2b4
Add experimental tests= filter without eunit suites
2012-08-20 12:58:31 +02:00
Tuncer Ayaz
9dd8e7f2ee
Fix #295 (consider *_SUITE.beam in ct skip check)
2012-08-19 15:25:13 +02:00
Tuncer Ayaz
6c1694980c
Fix whitespace error
2012-08-18 17:19:42 +02:00
Joe DeVivo
991e2ce8e1
Add erlc override from erl_opts: outdir
2012-08-18 17:19:23 +02:00
Tuncer Ayaz
fc7df16e31
Clarify comments
2012-08-12 14:03:44 +02:00
Tuncer Ayaz
bdee72fae8
rebar_eunit: add tests= TODO item
2012-08-11 23:10:06 +02:00
Roberto Ostinelli
69dc9ec933
Add experimental tests= filter for eunit suites
2012-08-11 23:08:21 +02:00
Tuncer Ayaz
563607bc02
Change escript zip archive creation as suggested by Siri Hansen
...
1. manually insert directory entries to work around issues fixed in
R15B02 erl_prim_loader
2. put the escript archive's beams in appname/appname/ebin
Tested with R13B03 and R15B01.
2012-08-11 18:47:25 +02:00
Tuncer Ayaz
795f9345a7
New upstream mustache.erl
2012-08-11 15:04:09 +02:00
Tuncer Ayaz
5d6b82390f
rebar_eunit: fix typo
2012-08-10 16:05:00 +02:00
Tuncer Ayaz
8f3873e061
rebar_utils: refactor get_experimental and get_deprecated funs
2012-08-10 14:28:42 +02:00
Tuncer Ayaz
75a6de27e7
rebar_qc: ensure_dir/1 the same way as in rebar_eunit
2012-08-09 18:44:08 +02:00
Tuncer Ayaz
e47d643ea3
Use separate dirs for eunit and qc
2012-08-09 18:37:26 +02:00
Tuncer Ayaz
b5e0d6d5db
Fix rebar_core:restore_code_path (Reported-by: Siri Hansen)
...
Use erl_prim_loader:read_file_info instead of filelib:is_file to make
sure paths inside the escript archive are handled properly.
2012-08-09 16:15:10 +02:00
Tuncer Ayaz
16091f9934
rebar_utils: fix whitespace error
2012-08-09 16:14:42 +02:00
Tuncer Ayaz
99b645e4a3
Separate eunit and qc compile options
2012-08-09 14:04:53 +02:00
Tuncer Ayaz
803f6e8ecd
Replace test-compile with compile_only=true option
2012-08-09 14:04:53 +02:00
Tuncer Ayaz
e5569e6862
rebar_qc: use lists:flatmap/2
2012-08-08 23:28:00 +02:00
Tuncer Ayaz
3f2ad54ebc
rebar_qc: fix #292 (Reported-by: Brian L. Troutwine)
2012-08-08 23:27:47 +02:00
Lev Walkin
f2f294d812
Do not rewrite .app file if it didn't change
2012-08-08 00:52:54 +02:00
Edwin Fine
ca8d7cc95d
Ensure edocs are also built if only overview.edoc changes
2012-08-08 00:52:42 +02:00
DeadZen
f1d35f9d06
Add ct_log_dir option, skip test dir with no SUITE
...
When rebar ct executes with its default common test directory of "test",
it will generate a hardcoded "logs" directory in every application with
a test directory present, causing an overlap with eunit's test framework
so even test directories with only eunit tests will be processed by ct.
2012-08-07 14:22:59 +02:00
Tuncer Ayaz
888bbc8ee2
Fix whitespace error
2012-08-07 14:03:58 +02:00
Tuncer Ayaz
fdc1425a3b
Use rebar_utils:test_dir/0 for coverdata export file
2012-08-07 14:02:13 +02:00
David Åberg
43d5b6257e
Enable export of cover data from eunit testrun
2012-08-07 13:44:40 +02:00
Tuncer Ayaz
aec71f93cb
Clean up specs
2012-08-06 19:52:09 +02:00
Tuncer Ayaz
1b9f2a5981
rebar_utils: fix whitespace error
2012-08-06 19:35:46 +02:00
Tuncer Ayaz
491d52298e
Re-use rebar_utils:ebin_dir()
2012-08-06 19:00:18 +02:00
Tuncer Ayaz
e2492eb37f
rebar_utils: call get_cwd/1 locally
2012-08-06 19:00:03 +02:00
Tuncer Ayaz
870f8cfbb4
rebar_utils: clean up specs
2012-08-06 18:52:33 +02:00
Tuncer Ayaz
70c82ba1c1
Fix arg order in rebar_erlc_compiler:compile_mib/3
2012-08-06 17:44:13 +02:00
Tuncer Ayaz
0b18b208e2
Only print absolute filename if not in base_dir
2012-08-05 19:56:27 +02:00
Tuncer Ayaz
4f19572ff9
Remove two comments
2012-08-04 14:04:59 +02:00
Tuncer Ayaz
392adcf967
Refactor setup_env rebar_config funs
2012-08-04 14:04:27 +02:00
Tuncer Ayaz
c9ddb8325a
Quote EUnit User's guide about _tests.beam handling
2012-07-31 16:39:25 +02:00
Tuncer Ayaz
ad2e94b96b
Add experimental notice to test-compile and shell
2012-07-31 15:39:36 +02:00
Tuncer Ayaz
636c02f0be
Fix R13B03 build (Reported-by: Sergey Nartimov)
2012-07-28 19:51:57 +02:00