Tristan Sloughter
073dbb71ec
handle new tests for mix package types (git/pkg)
pirms 9 gadiem
Fred Hebert
e25ba5d8ea
All dep overrides in packages are blocked
Just rework the error message.
pirms 9 gadiem
Fred Hebert
e880e16063
Review rule about dep priorities
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.
pirms 9 gadiem
Fred Hebert
59579c0708
Add tests for mixed deps installs
Requires a rework of other test suites using the same dep-handling
mechanism.
pirms 9 gadiem
alisdair sullivan
d6a011981e
add support for `rebar3 eunit --file=...'
pirms 9 gadiem
Tristan Sloughter
d4bca1d6c5
update lock tests to not expect lock for non-default profile run
pirms 9 gadiem
Tristan Sloughter
ab92f1a292
install package deps in same level/profile order as src deps
pirms 9 gadiem
Tristan Sloughter
6d01729c68
upgrade depends on the lock provider and lock prv sets state
pirms 9 gadiem
Tristan Sloughter
3309fa8dc7
add test for clean --all
pirms 9 gadiem
Tristan Sloughter
90fbd6dbb9
add support for old format otp versions
pirms 9 gadiem
Tristan Sloughter
6e9df6cc57
parse old format of OTP versions
pirms 9 gadiem
Derek Brown
04fedc7422
Add functions to validate OTP release in use
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".
pirms 10 gadiem
Tristan Sloughter
c3c9db7ca6
do not install profile deps of deps
pirms 9 gadiem
Tristan Sloughter
6f95911d32
only look for top level apps and those directly under apps/ or lib/
pirms 9 gadiem
Fred Hebert
81bf52501d
Failing case for unstable upgrade lock files
pirms 9 gadiem
Tristan Sloughter
b6b32fc64e
ensure necessary directories exist to compile mibs files
pirms 9 gadiem
CarlosEDP
9e4bf8a3ba
Added version check based on commit 74c68478aa
pirms 9 gadiem
CarlosEDP
4d2873e311
Refactor tests to init/exec/end. Check OTP version to skip https test on OTP =< 15.
pirms 9 gadiem
CarlosEDP
d260c05d37
Added testcases for http and https proxy use.
pirms 9 gadiem
Fred Hebert
cfea721d98
wip: deps install refactor
pirms 9 gadiem
alisdair sullivan
77a85b4a68
remove `cover_print_enabled` and `cover_data_dir` config options
and replace with `cover_opts`
pirms 9 gadiem
Tristan Sloughter
1c66f0eb9f
setup hex httpc profile and http opts. needed also for proxy
pirms 9 gadiem
Tristan Sloughter
7e0734efda
add test of relx config sorting with 'extend release'
pirms 9 gadiem
Viacheslav V. Kovalev
99858f3b69
Use same random seeding function for random_name and random_vsn
pirms 9 gadiem
Daniel Widgren
ebfdbc695e
Fixed review comments
pirms 9 gadiem
Viacheslav V. Kovalev
44272e23b6
Some fixes after review
pirms 9 gadiem
Viacheslav Kovalev
24815ebc5f
Fix rebar_hooks_SUITE:run_hooks_for_plugins/1
Test required `touch` utility to present on user's machine. Remove this dependency.
pirms 10 gadiem
Viacheslav V. Kovalev
ab98bc15a8
Fix rebar_utils:sh on windows
pirms 10 gadiem
Viacheslav Kovalev
4a605faab8
Fix multi_app_default_dirs test on windows.
Seed random with erlang:now() because os:timestamp precision is not enough
on windows.
pirms 10 gadiem
Daniel Widgren
a029e957fd
Fixed two tests for windows 8.1 and added touch functionality
pirms 10 gadiem
Daniel Widgren
4eaa21cd27
Fixed so that release tests now pass. Got all green tests.
pirms 10 gadiem
Viacheslav Kovalev
53831dc31b
Fix rebar_hooks_SUITE:run_hooks_for_plugins/1
Test required `touch` utility to present on user's machine. Remove this dependency.
pirms 10 gadiem
Viacheslav V. Kovalev
473393a172
Fix rebar_utils:sh on windows
pirms 10 gadiem
Viacheslav Kovalev
701f66aab2
Fix multi_app_default_dirs test on windows.
Seed random with erlang:now() because os:timestamp precision is not enough
on windows.
pirms 10 gadiem
Daniel Widgren
e3d32b10cc
Fixed two tests for windows 8.1 and added touch functionality
pirms 10 gadiem
Fred Hebert
8c8774f3e0
Make the test work on more versions
pirms 9 gadiem
Fred Hebert
36cc244607
Adding erl_first_files test
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.
pirms 9 gadiem
Fred Hebert
23eb53ebfd
Adding tests for locks
pirms 9 gadiem
Tristan Sloughter
4bb2a0c710
Add error message for bad provider hook, fixes #521
pirms 10 gadiem
Tristan Sloughter
f7ff07a87d
plugins provider
pirms 10 gadiem
Tristan Sloughter
cd8c03e1c4
check format of config file and print the bad section in the error
pirms 10 gadiem
James Fish
e1f7c8c5f9
Use the same dialyzer rebar.config options as rebar
* 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.
pirms 10 gadiem
Tristan Sloughter
e4c300417b
add artifact test
pirms 10 gadiem
alisdair sullivan
d2b62ea1f2
allow `src_dirs` and `extra_src_dirs` at the root of the rebar config
pirms 10 gadiem
Tristan Sloughter
7d33dbf6aa
store plugin providers in app_info's state for deps
pirms 10 gadiem
Fred Hebert
707cddbce7
Fix upgrade of atom-only packages
they would always be left unfound otherwise.
pirms 10 gadiem
Tristan Sloughter
4ff95cee31
add test for plugin with transitive deps
pirms 10 gadiem
Jean Parpaillon
7ff23a63dc
Add rebar.config 'excluded_apps' key.
Listed applications are simply ignored.
Allows for configuration time sub-application building.
pirms 10 gadiem
Tristan Sloughter
f772dcee2e
fix storing of pkg and src deps in app_info
pirms 10 gadiem
Tristan Sloughter
e65ad8c2ca
run hooks when building plugins
pirms 10 gadiem