Commit graph

1611 commits

Author SHA1 Message Date
Tuncer Ayaz
5f995bfdc0 Fix a few minor formatting inconsistencies
* fix overlong lines
* where appropriate use %% instead of %
2014-06-29 21:13:45 +02:00
varnerac-ubnt
35ee457176 Fix bug 271
Moves ct_extra_params to the end of the generated ct_run command.
This allows users to pass commands to the underlying emulator
using -erl_args. The included rt test demonstrates that it is
possible to pass an addtional option to ct_run and -erl_args at
the same time. Finally, the test executes in regular and verbose
modes because rebar constructs the ct_run command differently in
verbose mode.
2014-06-27 15:35:56 -05:00
Luis Rascão
41095e73e2 fix indentation issues 2014-06-26 23:29:26 +01:00
Fred Hebert
0d1ae7a468 Bump to 2.5.0 2014-06-23 14:50:38 -04:00
Fred Hebert
0b1e6b3779 Revert "Merge pull request #281 from tuncer/rebar-h-internal"
This reverts commit 07e2232847, reversing
changes made to 37cf470ae9.
2014-06-23 13:48:49 -04:00
terrencehan
a17ee35004 Fix upgrade error 2014-06-20 16:32:26 +08:00
Fred Hebert
24ce11c381 Bump Rebar to 2.4.0 2014-06-18 11:52:56 -04:00
Fred Hebert
e1237caee5 Merge pull request #260 from dgud/dgud/windows-fix-paths
Quote include/lib paths
2014-06-18 11:26:29 -04:00
Tristan Sloughter
8a0d8ad7a5 Merge pull request #285 from nevar/fix_inheritance
Fix #249 (erlc regression)
2014-06-15 14:48:12 -05:00
Tristan Sloughter
09355b0e63 Merge pull request #296 from runcom/add_gen_event_template
Add gen_event template
2014-06-15 14:48:01 -05:00
Tomas Janousek
da10a0578c Add test for C dependencies 2014-06-15 17:22:26 +02:00
Tomas Janousek
3a549d3e37 Check C source dependencies in needs_compile 2014-06-15 17:22:26 +02:00
Antonio Murdaca
c9a301d04c Add gen_event template 2014-06-15 14:18:00 +02:00
Tristan Sloughter
29a16cbabe Merge pull request #195 from fgallaire/switch_template_instructions
Switch template instructions
2014-06-14 21:55:44 -05:00
Tristan Sloughter
1e2af5fa51 Merge pull request #112 from tuncer/horvand-cover-for-qc
Add code coverage analysis functionality to `qc'
2014-06-14 12:46:01 -05:00
Tuncer Ayaz
1363ba3038 Wrap cover:stop() call as rebar_cover_utils:exit/0 2014-06-14 19:23:45 +02:00
Tuncer Ayaz
8fea315b0b rebar_eunit: disambiguate internal naming
Partially revert naming changes introduced in 93689703c1:
CoverageModules -> FilteredModules
get_coverage_modules -> get_matching_modules

Having the name "coverage" meaning "filtered/selected modules" can be
confused with code coverage.
2014-06-14 19:23:45 +02:00
Andras Horvath
4a6dc223b7 Add code coverage analysis functionality to `qc'
- Use `cover' with QuickCheck testing
- Reuse the `cover_*' rebar.config options
- Refactor cover-related code to separate module (`qc_cover_utils')
  for use with both `eunit' and `qc'
2014-06-14 19:23:45 +02:00
Tristan Sloughter
6a4d80e385 Revert "Merge pull request #171 from fenollp/using-stdlib"
This reverts commit 3297ffec2c, reversing
changes made to 0401debb3c.
2014-06-14 12:10:08 -05:00
Tristan Sloughter
07e2232847 Merge pull request #281 from tuncer/rebar-h-internal
Move include/rebar.hrl to src/rebar.hrl
2014-06-14 11:19:43 -05:00
Tristan Sloughter
37cf470ae9 Merge pull request #130 from yamt/ct-fixes
ct fixes
2014-06-14 11:18:54 -05:00
Tristan Sloughter
9380583f6c Merge pull request #229 from tolbrino/tb-patch-env
Add REBAR to environment before executing hooks
2014-06-13 19:25:21 -05:00
Tristan Sloughter
3297ffec2c Merge pull request #171 from fenollp/using-stdlib
Some optimisation/refactoring using stdlib's functions
2014-06-13 19:24:58 -05:00
Tristan Sloughter
0401debb3c Merge pull request #119 from deadok22/qualified-test-spec
Add qualified name tests specification (see #118)
2014-06-13 19:22:22 -05:00
Fred Hebert
992a8f06ac Merge pull request #288 from tuncer/fix-176
Fix #176
2014-06-13 08:42:37 -04:00
Fred Hebert
fe16668a20 Merge pull request #136 from waisbrot/add-p4-support
Add support for the Perforce VCS client via the "p4" tool
2014-06-13 08:42:21 -04:00
Pierre Fenoll
258ab8a623 Rebasing. Fix differences with c26b0c7 c996e98 b690842. 2014-06-13 14:39:15 +02:00
Pierre Fenoll
e3d2142df5 Local corrections on string processing:
* Corrected regexp: `[x|y]` -> `[xy]`.
* Used an re:replace/4 option instead of multiple IOlist functions.
2014-06-13 02:22:26 +02:00
Luis Rascao
411d703666 bootstrap now accepts --help usage flag 2014-06-12 14:05:35 +01:00
Tristan Sloughter
908028858f Merge pull request #292 from matwey/namespaced_types
Namespaced types: fix build for 17.0
2014-06-11 16:38:48 -05:00
Matwey V. Kornilov
4e67d254db Add erlang 17.0 to travis 2014-06-08 14:34:16 +04:00
Matwey V. Kornilov
4de9ea5574 Add namespaced_types to bootstrap script. 2014-06-08 14:34:10 +04:00
Matwey V. Kornilov
a7e05f57d1 Fix build for 17.0 using the solutiong proposed by @tsloughter
We use namespaced_types option to choose between dict() and dict:dict() types.
2014-06-08 14:34:04 +04:00
Tino Breddin
9c23dfef72 Add REBAR to environment before executing hooks
REBAR will be set to the rebar binary which was executed and runs the
builds. Enables the use of the same binary for rebar invocations as
part of a pre or post hook like so:

    ${REBAR} escriptize
2014-06-02 13:36:52 +02:00
Tristan Sloughter
7936f9e873 Merge pull request #290 from tuncer/erlc-case-of
erlc: replace if expression with case of
2014-05-30 07:52:14 -05:00
Tuncer Ayaz
949d565527 erlc: replace if expression with case of
Motivated by the bug fix in 2c4d7d1.
2014-05-30 14:43:04 +02:00
Fred Hebert
6fda9b8f88 Merge pull request #289 from tuncer/semicolon-vs-comma
erlc: fix typo in update_erlcinfo/3 clause
2014-05-30 08:12:38 -04:00
Slava Yurin
49c25642b3 Fix #249 (erlc regression)
The combination of changes to rebar_erlc_compiler, and the fact
that erl_first_files is inherited, caused a regression. To fix
that, ensure every project uses its own .rebar/erlcinfo. While at
it, fix the issue that erl_first_files entries were not included
when initializing the dep digraph.

Reported-by: Louis-Philippe Gauthier
Reported-by: Roland Karlsson

Thanks: Tuncer Ayaz
2014-05-30 18:55:09 +07:00
Tuncer Ayaz
2c4d7d1d9b erlc: fix typo in update_erlcinfo/3 clause 2014-05-30 13:52:29 +02:00
Slava Yurin
23c63f7003 Regression test for #249 2014-05-30 18:24:57 +07:00
YAMAMOTO Takashi
5e91322e4a use the effective deps dir instead of hardcoding "deps"
suggested by @tuncer
2014-05-30 14:48:15 +09:00
YAMAMOTO Takashi
ad588a70b7 fix double "the" in a comment
noted by @tuncer
2014-05-30 14:38:39 +09:00
YAMAMOTO Takashi
9713dafcb5 Fix spec file look up
When trying to skip spec files under deps/ directory,
ignore "deps" component which is also included in Cwd.
For example, "/home/deps/src/myapp/test/cover.spec"
contains "deps" component but should not be skipped if
Cwd is "/home/deps/src/myapp/".
2014-05-30 14:37:37 +09:00
YAMAMOTO Takashi
7fd5a2d630 Fix a format of a debug output 2014-05-30 14:37:37 +09:00
Tuncer Ayaz
cb52df91d1 Fix #176
Extend CONTRIBUTING.md with regards to tests and credit.
2014-05-29 21:16:27 +02:00
Sergey Savenko
93689703c1 Add qualified name tests specification (see #118)
Augment 'tests' option of 'rebar eunit' command with ability to specify
tests to run using module-qualified names. This change also forced me
to change the way modules for coverage and for testing itself are
selected - module-qualified tests specifications are now taken into
consideration. Extend tests to cover new functionality. Update
dialyzer_reference accordingly.
2014-05-29 22:38:14 +04:00
Fred Hebert
46c979eaaf adding Alexander Verbitsky to THANKS file 2014-05-29 14:31:34 -04:00
Fred Hebert
f47af30e65 Merge pull request #284 from habibutsu/master
Error 'Command not found' when sname is used
2014-05-29 13:44:11 -04:00
Fred Hebert
763f5dc9ef Merge pull request #280 from talentdeficit/bettershell
improve output when using `rebar shell`
2014-05-27 08:10:23 -04:00
Habibutsu
12ca1fb126 Error 'Command not found' when sname is used
When a node is configured with -sname the REMSH_NAME_PART argument should be defined with using command 'hostname' but error occurs due extra space
2014-05-27 11:22:24 +03:00