summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
...
| * Rebuild PLT when beams no longer existJames Fish2015-10-311-2/+32
| |
* | Merge pull request #895 from talentdeficit/delay_eunit_validationFred Hebert2015-11-011-6/+12
|\ \ | |/ |/| delay validation of eunit tests until just before running
| * delay validation of eunit tests until just before runningalisdair sullivan2015-10-301-6/+12
| |
* | dedup `src_dirs` and `extra_src_dirs` on readalisdair sullivan2015-10-302-12/+12
|/
* refactor `rebar_erlc_compiler`alisdair sullivan2015-10-267-94/+679
| | | | | | | | | | | | | | | | | | | * modify compiler interface to work on either application objects or directories containing source files * compile all sources in `src_dirs` to the application `ebin` dir and all sources in `extra_src_dirs` to a directory mirroring it's position in the app's `_build` directory. for example, `apps/foo/more` would compile to `_build/default/lib/foo/more` for `extra_src_dirs` in the root of a project with multiple applications (so orphan directories that don't "belong" to an application) compile to `_build/default/extras/more` * copy directories specified in `extra_src_dirs` into the `_build` directory so tools like `ct` and `xref` that expect source to be in a particular location still work * clean compiled artifacts from all `extra_src_dirs` * alter `eunit`, `ct` and `cover` to work with the new directory structure * billions of new tests
* Revert "add an export to allow specifing arbitrary extra erl files to be ↵alisdair sullivan2015-10-261-30/+1
| | | | | | compiled" This reverts commit 9d82215296205d2d30c152c7d7c6fcb8e4a92443.
* Support proper paths in non-erl first filesFred Hebert2015-10-121-2/+51
| | | | | This passes the directory to the option to ensure it works with more than configs at the root of the project.
* Tests for warningsFred Hebert2015-10-051-2/+32
|
* shiny and new test suite for eunit provideralisdair sullivan2015-09-296-518/+422
|
* fix test names in `eunit_test_SUITE`alisdair sullivan2015-09-291-46/+46
|
* inject `eunit_compile_opts`, `eunit_first_files` and `TEST` macroalisdair sullivan2015-09-292-5/+78
| | | | prior to running compile and compile prehooks
* add `application' flag and additional testsalisdair sullivan2015-09-291-9/+74
|
* add `error_on_warning' option to eunit provideralisdair sullivan2015-09-291-24/+78
|
* reworked eunit provider to allow access to full range of eunit testsalisdair sullivan2015-09-291-96/+38
|
* add test to not upgrade unrelated transitive dep during upgradeTristan Sloughter2015-09-261-1/+21
|
* only upgrade children and transitive children of dep being upgradedTristan Sloughter2015-09-261-2/+8
| | | | | | | | | | This commit replaces the method of upgrading by unlocking all transitive deps by one that utilizes the parent element of each app to only unlock transitive deps of children of the top level deps being upgraded. Additionally the run function of upgrade_SUITE is modified to only create the mock updates before the upgrade provider is run, instead of before any provider is run, which would cause improper behavior in install_deps.
* Merge pull request #837 from talentdeficit/extract_path_utilsFred Hebert2015-09-251-2/+2
|\ | | | | fix canonical path tests on windows
| * fix canonical path tests on windowsalisdair sullivan2015-09-251-2/+2
| |
* | Merge pull request #826 from talentdeficit/expose_more_sourcesFred Hebert2015-09-251-2/+31
|\ \ | | | | | | add an export to allow specifing arbitrary extra erl files to be compiled
| * | add an export to allow specifing arbitrary extra erl files to be compiledalisdair sullivan2015-09-211-2/+31
| | | | | | | | | | | | to `rebar_erlc_compiler`
* | | Merge pull request #806 from talentdeficit/ct_data_dir_testsFred Hebert2015-09-251-4/+15
|\ \ \ | | | | | | | | test for ensuring `data_dir` is set correctly in ct configs
| * | | add comment for `data_dir' test in `rebar_ct_SUITE'alisdair sullivan2015-09-141-0/+1
| | | |
| * | | test for ensuring `data_dir` is set correctly in ct configsalisdair sullivan2015-09-141-4/+14
| |/ / | | | | | | | | | | | | | | | this test almost certainly only fails under very limited circumstances limiting it's utility. it is known to fail with some versions of rebar3 when this test is run via `rebar3 ct --cover`
* | | Merge pull request #800 from talentdeficit/extract_path_utilsFred Hebert2015-09-252-7/+55
|\ \ \ | | |/ | |/| extract `retarget_path/2', `relative_path/2' and `reduce_path/1' and add tests
| * | function name changes:alisdair sullivan2015-09-141-18/+18
| | | | | | | | | | | | | | | `reduce_path/1` -> `canonical_path/1` `relative_path/2` -> `path_from_ancestor/2`
| * | extract `retarget_path/2', `relative_path/2' and `reduce_path/1' andalisdair sullivan2015-09-132-7/+55
| |/ | | | | | | add tests
* | handle newly added deps to config even when lock is emptyTristan Sloughter2015-09-241-1/+33
| |
* | Fix for R15B03Takeru Ohta2015-09-121-3/+5
| |
* | Change option name from "plt_include_all_deps" to "plt_apps"Takeru Ohta2015-09-121-6/+6
| |
* | Add a testcase for 'plt_include_all_deps' dialyzer optionTakeru Ohta2015-09-081-2/+69
| |
* | Add rebar_localfs_resource module for testing purposesTakeru Ohta2015-09-081-0/+38
|/
* add test for 'rebar3 plugins list' to ensure it can runTristan Sloughter2015-09-061-1/+8
|
* hooks/artifacts are always run/resolved from an app unless at top of umbrellaTristan Sloughter2015-09-061-4/+18
|
* Merge pull request #760 from tsloughter/app_info_stateFred Hebert2015-09-033-29/+28
|\ | | | | move state into app_info
| * remove state record from app_info recordTristan Sloughter2015-08-311-2/+1
| |
| * wip: move state into app_infoTristan Sloughter2015-08-312-27/+27
| |
* | Revert "Revert "only load packages when needed""Fred Hebert2015-09-021-1/+1
| |
* | Revert "only load packages when needed"Fred Hebert2015-09-021-1/+1
| |
* | only load packages when neededTristan Sloughter2015-09-021-1/+1
|/
* Merge pull request #716 from talentdeficit/eunit_file_argFred Hebert2015-08-271-2/+58
|\ | | | | add support for `rebar3 eunit --file=...'
| * add support for `rebar3 eunit --file=...'alisdair sullivan2015-08-151-2/+58
| |
* | Merge pull request #748 from tsloughter/pkg_attributeFred Hebert2015-08-272-1/+145
|\ \ | | | | | | support pkg attribute on dep to declare package name different from app name
| * | Basic package aliasing testsFred Hebert2015-08-262-1/+145
| | |
* | | fix pkgs provider output for new package index formatTristan Sloughter2015-08-241-1/+11
|/ /
* | override 'deps' now automatically overrides '{deps,default}'Tristan Sloughter2015-08-231-2/+42
| |
* | use 'default' for default hex repo path in cache and include in info messagesTristan Sloughter2015-08-221-1/+2
| |
* | do not override user cli supplied outputdir for relxTristan Sloughter2015-08-221-4/+29
| |
* | add back removed testsTristan Sloughter2015-08-211-3/+15
| |
* | replace use of dict of packages and registry with single ets tableTristan Sloughter2015-08-212-39/+42
| |
* | this patch treats pkg and src deps as equals, so level decides winnerTristan Sloughter2015-08-213-26/+8
| | | | | | | | | | | | | | | | Instead fetching and resolving src deps (which could depend on pkg deps) and then pkg deps this patch combines the two into a single set of iterations by level. The only difference between src and pkg deps in this new install_deps is how their deps list is found -- from the config or lock file for src deps and from the neighbors of the vertex for pkg.