summaryrefslogtreecommitdiff
path: root/src/rebar_ct.erl
Commit message (Collapse)AuthorAgeFilesLines
* Add ct_log_dir option, skip test dir with no SUITEDeadZen2012-08-071-10/+18
| | | | | | | 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.
* Fix R13B03 build (Reported-by: Sergey Nartimov)Tuncer Ayaz2012-07-281-4/+4
|
* Finalize app=, skip_app=, suite= deprecationsTuncer Ayaz2012-07-231-1/+1
|
* Do not use application:set_envTuncer Ayaz2012-07-231-13/+13
|
* rebar_ct: rename function for clarityTuncer Ayaz2012-06-211-2/+2
|
* Merge pull request #230 from hyperthunk/ct-nameDave Smith2012-06-081-4/+10
|\ | | | | Support ct_run using short name
| * Support ct_run using short nameTim Watson2012-05-221-4/+10
| | | | | | | | | | | | | | | | | | | | | | Not every system under test can be run with long names, and this makes rebar's common_test support useless in those environments, as it currently uses long names (test@hostname.domain) by default, without recourse to change them. This patch adds support for a {ct_use_short_names, boolean()} config variable, which allows the user to specify whether short or long names are required.
* | Remove ?FAIL in favor of ?ABORTDave Smith2012-06-081-4/+4
|/
* Support different log levelsTuncer Ayaz2012-01-171-6/+6
|
* Deprecate ct suite= option for suites= optionMagnus Klaar2012-01-061-12/+17
|
* Add support for customising common test directoryTim Watson2011-12-281-1/+2
| | | | | | | This patch allows users to specify the directory in which common_test source files can be found. Most common_test suites are integration, rather than unit tests and keeping the sources apart from test sources for other frameworks such as eunit and PropEr is a useful feature.
* Universally support apps=/skip_apps=Tuncer Ayaz2011-12-121-14/+1
|
* Fix the 'ct' target to work on Windows with MSYSJan Klötzke2011-10-201-1/+1
|
* Add awareness of 'app' parameter to ct moduleTino Breddin2011-08-041-2/+14
|
* Fix grep portability (Reported-by: Andrew Thompson)Tuncer Ayaz2011-07-141-1/+1
|
* Pass extra params to ct (thanks Mickael Remond)Tim Watson2011-04-061-6/+13
| | | | | This patch adds a `ct_extra_params` option to rebar.config, the value of which is appended to the shell command when executing common test.
* Fix code clarity and formattingTuncer Ayaz2011-03-221-17/+17
|
* Fix ct include option prefixShunichi Shinohara2011-03-221-1/+1
|
* Add -spec support to rebar_ct command lineTim Watson2011-02-211-21/+49
| | | | | | | | | | | | | This change adds support for executing ct test runs based on test specificiations, which was missing previously. The rebar_ct module now looks for any number of files with a name ending in `test.spec` and if it finds one or more, passes these after the `-spec` argument to ct_run instead of explicitly configuring the config, user config and coverage config variables. When no specifications are found, then the module behaves as it did before this change, and both the ct1 and (new) ct2 integration tests appear to show this is a backwards compatible patch.
* Clean up codeTuncer Ayaz2011-02-061-13/+14
|
* Clean up emacs file local variablesTuncer Ayaz2011-01-311-1/+1
|
* Fix indentation in rebar_ctTuncer Ayaz2011-01-131-20/+20
|
* Apply Tidier suggestionsTuncer Ayaz2011-01-131-1/+1
|
* Unify executable invocationJuhani Rankimies2011-01-061-2/+4
| | | | | Add flags to rebar_utils:sh to control output and error handling. Replace calls to os:cmd with calls to rebar_utils:sh.
* Add rebar code path to common test code pathBenjamin Nortier2010-12-091-2/+11
|
* Fix dialyzer warning for rebar_utils:sh/2 callTuncer Ayaz2010-09-291-8/+2
| | | | | rebar_utils:sh/2 terminates on error and does not return an error code as expected.
* Fixing bug 518; original patch by Tim Watson with some minor ↵Dave Smith2010-07-281-1/+29
| | | | cleanups/clarifications
* Initial cleanup pass on rebar_ct; removing other targets in favor of "ct" ↵Dave Smith2010-06-221-59/+50
| | | | (ala how eunit support works)
* Rolled back getopt to restore custom variablesTuncer Ayaz2010-01-011-4/+4
|
* Added vi modeline/emacs local variables to file headersTuncer Ayaz2009-12-311-0/+2
|
* Enhanced option parsing with new getopt and made rebar more user friendlyTuncer Ayaz2009-12-311-4/+4
|
* Deleted trailing whitespaceTuncer Ayaz2009-12-301-6/+6
|
* Fixing number of warnings and bugletsDave Smith2009-12-141-1/+1
|
* Added check for suite compilation failures to rebar_ct.Jon Meredith2009-12-041-4/+12
|
* Added rebar_ct to support common_test targets test, int_test and perf_test.Jon Meredith2009-12-031-0/+196