summaryrefslogtreecommitdiff
path: root/src/rebar_prv_common_test.erl
Commit message (Collapse)AuthorAgeFilesLines
* use correct rebar_state for a dep, not the top level stateTristan Sloughter2015-08-161-4/+4
|
* Merge pull request #489 from kovyl2404/windows-ct-fixTristan Sloughter2015-06-271-13/+16
|\ | | | | Make test on windows green.
| * Rewrite code around remove_links/1 to make it clearerViacheslav V. Kovalev2015-06-271-7/+5
| |
| * Fix windows-related issuesViacheslav V. Kovalev2015-06-261-10/+15
| |
* | add an (almost) unique reference to message sent from the ct provideralisdair sullivan2015-06-261-5/+7
|/ | | | | | to itself so a selective receive can be used to retrieve it fixes #547
* ensure all `src_dirs` and `extra_src_dirs` are handled properlyalisdair sullivan2015-06-131-9/+11
| | | | | | when running `ct` tests fixes #513
* fix bareness issuesFred Hebert2015-05-311-1/+1
| | | | | | - Crashes in providers lib when no providers in a namespace are bare - Making sure bareness matches semantics; i.e. a bare provider is visible, a non-bare provider is hidden.
* don't add `{extra_src_dirs, ["test"]}` to `test` profilealisdair sullivan2015-05-201-2/+5
| | | | | | adding it results in ct test suites being compiled before they're properly copied so changes made to suites between runs are not reflected if a run fails before test dirs are copied
* Merge pull request #442 from tsloughter/tests_replace_pathsTristan Sloughter2015-05-201-2/+2
|\ | | | | purge loaded code when it conflicts with project apps in tests
| * purge loaded code when it conflicts with project apps in testsTristan Sloughter2015-05-181-2/+2
| |
* | install plugins from the global config to ~/.cache/pluginsTristan Sloughter2015-05-171-1/+1
|/
* when compiling ct dirs base compiler input dir on project rootalisdair sullivan2015-05-121-1/+1
| | | | | | rather than profile root fixes #415
* Merge pull request #409 from talentdeficit/ct_fixTristan Sloughter2015-05-091-10/+32
|\ | | | | delete all symlinks when copying from project files to `_build` tree to prevent any data from being overwritten
| * delete all symlinks when copying from project files to `_build` treealisdair sullivan2015-05-091-10/+32
| | | | | | | | | | | | to prevent any data from being overwritten fixes #395
* | fix tracking of all profiles dep pathsTristan Sloughter2015-04-221-1/+0
| |
* | real bootstrappingTristan Sloughter2015-04-221-1/+1
| |
* | track and cleanup code paths for different contextsTristan Sloughter2015-04-211-0/+6
| |
* | ct: compile tests from test dir to outdir instead of compiling copiesTristan Sloughter2015-04-171-6/+6
|/
* Improve error handling in ct providerJames Fish2015-04-121-18/+23
|
* disallow suites in project rootalisdair sullivan2015-04-111-0/+6
| | | | fixes #331
* Merge pull request #320 from tsloughter/dep_pluginsFred Hebert2015-04-051-3/+13
|\ | | | | install dep plugins & run provider hooks the same as shell hooks (Rereopen 316)
| * fixes from bad rebase against masterTristan Sloughter2015-04-041-2/+2
| |
| * support provider hooks on ct and eunitTristan Sloughter2015-04-041-4/+14
| |
* | Provide descriptions for all tasksFred Hebert2015-04-041-2/+2
|/
* modify `ct` provider to copy selected directories and compile themalisdair sullivan2015-04-031-263/+339
| | | | | | alongside their source (ie, if `some_tests` is a directory that contains test suites beams resulting from compiling them will be placed in `some_tests` in the appropriate `_build` directory
* use PRV_ERROR for formattable errorsFred Hebert2015-03-161-1/+2
| | | | Also expose it in rebar_api
* symlink extra test dirs and compile from there instead of fromalisdair sullivan2015-03-081-14/+23
| | | | root project
* compile source from the symlinked directories under `_build` toalisdair sullivan2015-03-081-2/+1
| | | | get correct compile paths included in module info
* update all examples in providers to use rebar3Tristan Sloughter2015-03-071-2/+2
|
* Fix handling of ct resultsJames Fish2015-03-051-23/+51
| | | | | | * Return error on failed and/or auto skipped tests * Print all results for quiet repeated tests * Sum results of repeated tests
* Don't include directories when testing subset of ct suitesJames Fish2015-03-041-7/+50
|
* fix issue where apps with a `rebar.config` were preventingalisdair sullivan2015-03-031-6/+5
| | | | rebar state from propogating appropriately
* include full path in pointer to `ct` outputalisdair sullivan2015-03-031-1/+1
|
* rename `_logs` and `_cover` dirs to `logs` and `cover`, respectivelyalisdair sullivan2015-03-031-1/+1
|
* move `_logs` and `_cover` to `_build` diralisdair sullivan2015-03-031-2/+2
|
* generate cover data (via the `{cover_enabled, true}` option inalisdair sullivan2015-03-031-5/+19
| | | | | | `rebar.config` or via the `-c\--cover` flag given to the appropriate task) from the `eunit` and `ct` tasks and add a `cover` task to write coverage analysis to disk
* modify `ct` and `eunit` to work with isolated `ebin` dirsalisdair sullivan2015-03-021-79/+75
|
* fix compile/3 call in common_test providerTristan Sloughter2015-03-011-1/+1
|
* update compile call from common test provider with new outdirTristan Sloughter2015-02-281-1/+2
|
* fix error where an exception in ct could hang rebar by monitoringalisdair sullivan2015-02-181-2/+4
| | | | the process where ct is performed
* suppress common_test output unless `rebar3 ct` is run with verbose switchalisdair sullivan2015-02-171-8/+33
|
* don't lose erl_opts when compiling for testsTristan Sloughter2015-01-231-2/+2
|
* use new `rebar_file_utils` functions in `eunit` and `ct` providersalisdair sullivan2015-01-161-10/+2
|
* change more instances of mistyped `erl_first_modules` toalisdair sullivan2015-01-151-1/+1
| | | | | | `erl_first_files` fixes #99
* replace single profile atom in providers with list of profilesTristan Sloughter2015-01-111-1/+1
|
* when compiling `common_test` or `eunit` use the same tmp diralisdair sullivan2015-01-091-5/+17
| | | | from run to run
* add support for a bare `test` directory when using `apps` libdirsalisdair sullivan2015-01-081-2/+26
|
* exclude `_checkouts` from directories to be precompiled foralisdair sullivan2015-01-081-2/+13
| | | | `common_test` and `eunit` providers
* adjust handling of `common_test` `dir` option and refactor provideralisdair sullivan2015-01-081-19/+33
| | | | option handling
* switch to `lists:ukeymerge` to merge `ct` opts for better behavioralisdair sullivan2015-01-071-13/+1
| | | | in presence of keys defined multiple times