Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | rebar_ct: fix wording in comments | Tuncer Ayaz | 2012-11-18 | 1 | -5/+5 |
| | |||||
* | ct: skip instead of halt on missing/unknown suite | Arjan Scherpenisse | 2012-10-31 | 1 | -3/+10 |
| | | | | | | | | | | | | | | | | | | | | | | This allows `rebar ct suites=abc` to consider all suites when you have a rebar setup with multiple sub_dirs. Previously, rebar halted after it could not find the suite in the first dir. But the suite might be present in another dir (when sub_dirs contains multiple dirs). This commit makes it so instead of halting, it prints a warning and continues with looking for the suite in the other `sub_dir`s. Note -- This uses try/catch to cause the test to be skipped because otherwise I needed to adjust the return values of 4 functions, the code path is pretty deeply nested here. Otherwise the whole call chain needed to be adjusted for this return value: `run_test -> make_cmd -> get_suites -> find_suite_path` IMHO, I think for exceptional cases like this it is fine to use throw; specially since only the {skip} is catched and nothing else. | ||||
* | rebar_ct: ?DEBUG log ct_run command | Tuncer Ayaz | 2012-09-03 | 1 | -0/+1 |
| | |||||
* | rebar_ct: do not export variable from case | Tuncer Ayaz | 2012-09-02 | 1 | -7/+6 |
| | |||||
* | Fix whitespace errors in rebar_ct and rebar_eunit | Tuncer Ayaz | 2012-08-22 | 1 | -1/+1 |
| | |||||
* | Fix #295 (consider *_SUITE.beam in ct skip check) | Tuncer Ayaz | 2012-08-19 | 1 | -1/+1 |
| | |||||
* | Add ct_log_dir option, skip test dir with no SUITE | DeadZen | 2012-08-07 | 1 | -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 Ayaz | 2012-07-28 | 1 | -4/+4 |
| | |||||
* | Finalize app=, skip_app=, suite= deprecations | Tuncer Ayaz | 2012-07-23 | 1 | -1/+1 |
| | |||||
* | Do not use application:set_env | Tuncer Ayaz | 2012-07-23 | 1 | -13/+13 |
| | |||||
* | rebar_ct: rename function for clarity | Tuncer Ayaz | 2012-06-21 | 1 | -2/+2 |
| | |||||
* | Merge pull request #230 from hyperthunk/ct-name | Dave Smith | 2012-06-08 | 1 | -4/+10 |
|\ | | | | | Support ct_run using short name | ||||
| * | Support ct_run using short name | Tim Watson | 2012-05-22 | 1 | -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 ?ABORT | Dave Smith | 2012-06-08 | 1 | -4/+4 |
|/ | |||||
* | Support different log levels | Tuncer Ayaz | 2012-01-17 | 1 | -6/+6 |
| | |||||
* | Deprecate ct suite= option for suites= option | Magnus Klaar | 2012-01-06 | 1 | -12/+17 |
| | |||||
* | Add support for customising common test directory | Tim Watson | 2011-12-28 | 1 | -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 Ayaz | 2011-12-12 | 1 | -14/+1 |
| | |||||
* | Fix the 'ct' target to work on Windows with MSYS | Jan Klötzke | 2011-10-20 | 1 | -1/+1 |
| | |||||
* | Add awareness of 'app' parameter to ct module | Tino Breddin | 2011-08-04 | 1 | -2/+14 |
| | |||||
* | Fix grep portability (Reported-by: Andrew Thompson) | Tuncer Ayaz | 2011-07-14 | 1 | -1/+1 |
| | |||||
* | Pass extra params to ct (thanks Mickael Remond) | Tim Watson | 2011-04-06 | 1 | -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 formatting | Tuncer Ayaz | 2011-03-22 | 1 | -17/+17 |
| | |||||
* | Fix ct include option prefix | Shunichi Shinohara | 2011-03-22 | 1 | -1/+1 |
| | |||||
* | Add -spec support to rebar_ct command line | Tim Watson | 2011-02-21 | 1 | -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 code | Tuncer Ayaz | 2011-02-06 | 1 | -13/+14 |
| | |||||
* | Clean up emacs file local variables | Tuncer Ayaz | 2011-01-31 | 1 | -1/+1 |
| | |||||
* | Fix indentation in rebar_ct | Tuncer Ayaz | 2011-01-13 | 1 | -20/+20 |
| | |||||
* | Apply Tidier suggestions | Tuncer Ayaz | 2011-01-13 | 1 | -1/+1 |
| | |||||
* | Unify executable invocation | Juhani Rankimies | 2011-01-06 | 1 | -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 path | Benjamin Nortier | 2010-12-09 | 1 | -2/+11 |
| | |||||
* | Fix dialyzer warning for rebar_utils:sh/2 call | Tuncer Ayaz | 2010-09-29 | 1 | -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 Smith | 2010-07-28 | 1 | -1/+29 |
| | | | | cleanups/clarifications | ||||
* | Initial cleanup pass on rebar_ct; removing other targets in favor of "ct" ↵ | Dave Smith | 2010-06-22 | 1 | -59/+50 |
| | | | | (ala how eunit support works) | ||||
* | Rolled back getopt to restore custom variables | Tuncer Ayaz | 2010-01-01 | 1 | -4/+4 |
| | |||||
* | Added vi modeline/emacs local variables to file headers | Tuncer Ayaz | 2009-12-31 | 1 | -0/+2 |
| | |||||
* | Enhanced option parsing with new getopt and made rebar more user friendly | Tuncer Ayaz | 2009-12-31 | 1 | -4/+4 |
| | |||||
* | Deleted trailing whitespace | Tuncer Ayaz | 2009-12-30 | 1 | -6/+6 |
| | |||||
* | Fixing number of warnings and buglets | Dave Smith | 2009-12-14 | 1 | -1/+1 |
| | |||||
* | Added check for suite compilation failures to rebar_ct. | Jon Meredith | 2009-12-04 | 1 | -4/+12 |
| | |||||
* | Added rebar_ct to support common_test targets test, int_test and perf_test. | Jon Meredith | 2009-12-03 | 1 | -0/+196 |