summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
...
* | 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.
* | speed up tests a bit by setting global_rebar_dirpvmart2015-08-201-0/+2
| |
* | update ct to play nice with previous commitpvmart2015-08-192-5/+5
| |
* | handle new tests for mix package types (git/pkg)Tristan Sloughter2015-08-161-38/+15
| |
* | All dep overrides in packages are blockedFred Hebert2015-08-161-1/+1
| | | | | | | | Just rework the error message.
* | Review rule about dep prioritiesFred Hebert2015-08-161-2/+3
| | | | | | | | | | On a single app's dep list, the first noted wins if there's a duplicate between packages and sources, rather than favoring source there anyway.
* | Add tests for mixed deps installsFred Hebert2015-08-168-92/+286
| | | | | | | | | | Requires a rework of other test suites using the same dep-handling mechanism.
* | update lock tests to not expect lock for non-default profile runTristan Sloughter2015-08-131-3/+12
| |
* | install package deps in same level/profile order as src depsTristan Sloughter2015-08-131-2/+2
|/
* upgrade depends on the lock provider and lock prv sets stateTristan Sloughter2015-08-021-6/+4
|
* add test for clean --allTristan Sloughter2015-07-281-2/+36
|
* add support for old format otp versionsTristan Sloughter2015-07-251-1/+11
|
* parse old format of OTP versionsTristan Sloughter2015-07-241-0/+8
|
* Add functions to validate OTP release in useDerek Brown2015-07-241-1/+50
| | | | | | | | | | | | In the spirit of Original Rebar's "require_min_otp_vsn", this adds rebar_utils:check_min_otp_version/1 (taking a string containing the minimum version) and rebar_utils:check_blacklisted_otp_versions/1 (taking a list of regular expression strings), as well as tests in rebar_utils_SUITE. They're currently only called by the tests- how/where to best place calls to them from non-test code needs to be determined (at which point two corresponding rebar.config keys can be supported). For example, the version probably shouldn't be enforced when just running "rebar3 help".
* do not install profile deps of depsTristan Sloughter2015-07-182-2/+35
|
* only look for top level apps and those directly under apps/ or lib/Tristan Sloughter2015-07-166-37/+37
|
* Failing case for unstable upgrade lock filesFred Hebert2015-07-082-5/+35
|
* ensure necessary directories exist to compile mibs filesTristan Sloughter2015-07-061-3/+49
|
* Merge pull request #579 from carlosedp/add-proxyTristan Sloughter2015-07-051-1/+67
|\ | | | | Add proxy support to bootstrap and rebar3. Enhancement #561.
| * Added version check based on commit ↵CarlosEDP2015-07-041-4/+7
| | | | | | | | https://github.com/ferd/rebar3/commit/74c68478aac948beccc80e68c5ac6a9eb578eceb
| * Refactor tests to init/exec/end. Check OTP version to skip https test on OTP ↵CarlosEDP2015-07-031-39/+45
| | | | | | | | =< 15.
| * Added testcases for http and https proxy use.CarlosEDP2015-07-031-1/+58
| |
* | wip: deps install refactorFred Hebert2015-07-022-8/+58
| |
* | Merge pull request #583 from talentdeficit/remove_cover_print_enabledTristan Sloughter2015-07-011-20/+1
|\ \ | |/ |/| remove `cover_print_enabled` and `cover_data_dir` config options and replace with `cover_opts`
| * remove `cover_print_enabled` and `cover_data_dir` config optionsalisdair sullivan2015-07-011-20/+1
| | | | | | | | and replace with `cover_opts`
* | setup hex httpc profile and http opts. needed also for proxyTristan Sloughter2015-06-291-4/+4
| |
* | Merge pull request #557 from tsloughter/relx_argsFred Hebert2015-06-281-1/+20
|\ \ | | | | | | only reverse some relx args, fixes profile usage for relx
| * | add test of relx config sorting with 'extend release'Tristan Sloughter2015-06-281-1/+20
| | |
* | | Use same random seeding function for random_name and random_vsnViacheslav V. Kovalev2015-06-281-3/+8
| | |
* | | Fixed review commentsDaniel Widgren2015-06-261-19/+1
| | |
* | | Some fixes after reviewViacheslav V. Kovalev2015-06-262-5/+6
| | |
* | | Fixed so that release tests now pass. Got all green tests.Daniel Widgren2015-06-261-1/+19
| | |
* | | Fix rebar_hooks_SUITE:run_hooks_for_plugins/1Viacheslav Kovalev2015-06-261-1/+1
| | | | | | | | | | | | Test required `touch` utility to present on user's machine. Remove this dependency.
* | | Fix rebar_utils:sh on windowsViacheslav V. Kovalev2015-06-261-2/+15
| | |
* | | Fix multi_app_default_dirs test on windows.Viacheslav Kovalev2015-06-261-2/+2
| | | | | | | | | | | | | | | Seed random with erlang:now() because os:timestamp precision is not enough on windows.
* | | Fixed two tests for windows 8.1 and added touch functionalityDaniel Widgren2015-06-261-3/+5
|/ /
* | Make the test work on more versionsFred Hebert2015-06-261-1/+1
| |
* | Adding erl_first_files testFred Hebert2015-06-262-3/+45
| | | | | | | | | | | | The test works by using a parse transform that stamps modules with an attribute as it runs them. It then compiles everything, loads the module, and makes sure the stamps respect the defined order.
* | Adding tests for locksFred Hebert2015-06-251-11/+23
| |
* | Add error message for bad provider hook, fixes #521Tristan Sloughter2015-06-191-1/+1
| |
* | plugins providerTristan Sloughter2015-06-182-132/+202
| |
* | check format of config file and print the bad section in the errorTristan Sloughter2015-06-182-2/+2
| |
* | Use the same dialyzer rebar.config options as rebarJames Fish2015-06-061-9/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * All configuration is moved to `{dialyzer, PropList}` * `dialyzer_warnings` renamed `warnings` * `dialyzer_plt_warnings` renamed `get_warnings` * `dialyzer_plt_apps` renamed `plt_extra_apps` * `dialyzer_plt_dir` renamed `plt_location` * `{plt_location, local}` uses profile base directory * `dialyzer_plt` removed * `dialyzer_plt_prefix` sets prefix of PLT name (default "rebar3") * `dialyzer_base_plt_apps` renamed `base_plt_apps` * `dialyzer_base_plt_dir` renamed `base_plt_location` * `{base_plt_location, global}` uses rebar3's global cache directory * `dialyzer_base_plt` removed * `base_plt_prefix` sets prefix of PLT name (default "rebar3") PLT files are always named `<prefix>_<otp_version>_plt` to match rebar. `plt_prefix` and `base_plt_prefix` are not available in rebar, where the prefix is always set to the project's top level application.
* | add artifact testTristan Sloughter2015-06-021-1/+29
| |
* | allow `src_dirs` and `extra_src_dirs` at the root of the rebar configalisdair sullivan2015-05-301-4/+91
| |
* | Merge pull request #474 from tsloughter/fix_plugin_installTristan Sloughter2015-05-293-12/+61
|\ \ | | | | | | fixing plugin install and paths
| * | store plugin providers in app_info's state for depsTristan Sloughter2015-05-282-18/+15
| | |
| * | add test for plugin with transitive depsTristan Sloughter2015-05-272-4/+56
| | |
* | | Merge pull request #481 from ferd/fix-atom-pkg-upgradeTristan Sloughter2015-05-282-3/+34
|\ \ \ | |/ / |/| | Fix upgrade of atom-only packages
| * | Fix upgrade of atom-only packagesFred Hebert2015-05-282-3/+34
| | | | | | | | | | | | they would always be left unfound otherwise.