Fred Hebert
a27fd22c3f
Basic package aliasing tests
преди 9 години
Tristan Sloughter
d67a5bce52
fix pkgs provider output for new package index format
преди 9 години
Tristan Sloughter
f2f63013fe
override 'deps' now automatically overrides '{deps,default}'
преди 9 години
Tristan Sloughter
dae1b4cc82
improve error messages for packages by checking its existance before fetching
преди 9 години
Tristan Sloughter
391959dae8
use 'default' for default hex repo path in cache and include in info messages
преди 9 години
Tristan Sloughter
86e4c5d5ef
do not override user cli supplied outputdir for relx
преди 9 години
Tristan Sloughter
e853e12d7c
add back removed tests
преди 9 години
Tristan Sloughter
cf5390f018
replace use of dict of packages and registry with single ets table
преди 9 години
Tristan Sloughter
31a24ad4ff
this patch treats pkg and src deps as equals, so level decides winner
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.
преди 9 години
pvmart
293dfb79d6
speed up tests a bit by setting global_rebar_dir
преди 9 години
pvmart
c2d9aec502
update ct to play nice with previous commit
преди 9 години
Tristan Sloughter
073dbb71ec
handle new tests for mix package types (git/pkg)
преди 9 години
Fred Hebert
e25ba5d8ea
All dep overrides in packages are blocked
Just rework the error message.
преди 9 години
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.
преди 9 години
Fred Hebert
59579c0708
Add tests for mixed deps installs
Requires a rework of other test suites using the same dep-handling
mechanism.
преди 9 години
alisdair sullivan
d6a011981e
add support for `rebar3 eunit --file=...'
преди 9 години
Tristan Sloughter
d4bca1d6c5
update lock tests to not expect lock for non-default profile run
преди 9 години
Tristan Sloughter
ab92f1a292
install package deps in same level/profile order as src deps
преди 9 години
Tristan Sloughter
6d01729c68
upgrade depends on the lock provider and lock prv sets state
преди 9 години
Tristan Sloughter
3309fa8dc7
add test for clean --all
преди 9 години
Tristan Sloughter
90fbd6dbb9
add support for old format otp versions
преди 9 години
Tristan Sloughter
6e9df6cc57
parse old format of OTP versions
преди 9 години
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".
преди 10 години
Tristan Sloughter
c3c9db7ca6
do not install profile deps of deps
преди 9 години
Tristan Sloughter
6f95911d32
only look for top level apps and those directly under apps/ or lib/
преди 9 години
Fred Hebert
81bf52501d
Failing case for unstable upgrade lock files
преди 9 години
Tristan Sloughter
b6b32fc64e
ensure necessary directories exist to compile mibs files
преди 9 години
CarlosEDP
9e4bf8a3ba
Added version check based on commit 74c68478aa
преди 9 години
CarlosEDP
4d2873e311
Refactor tests to init/exec/end. Check OTP version to skip https test on OTP =< 15.
преди 9 години
CarlosEDP
d260c05d37
Added testcases for http and https proxy use.
преди 9 години
Fred Hebert
cfea721d98
wip: deps install refactor
преди 9 години
alisdair sullivan
77a85b4a68
remove `cover_print_enabled` and `cover_data_dir` config options
and replace with `cover_opts`
преди 9 години
Tristan Sloughter
1c66f0eb9f
setup hex httpc profile and http opts. needed also for proxy
преди 9 години
Tristan Sloughter
7e0734efda
add test of relx config sorting with 'extend release'
преди 9 години
Viacheslav V. Kovalev
99858f3b69
Use same random seeding function for random_name and random_vsn
преди 9 години
Daniel Widgren
ebfdbc695e
Fixed review comments
преди 9 години
Viacheslav V. Kovalev
44272e23b6
Some fixes after review
преди 9 години
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.
преди 10 години
Viacheslav V. Kovalev
ab98bc15a8
Fix rebar_utils:sh on windows
преди 10 години
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.
преди 10 години
Daniel Widgren
a029e957fd
Fixed two tests for windows 8.1 and added touch functionality
преди 10 години
Daniel Widgren
4eaa21cd27
Fixed so that release tests now pass. Got all green tests.
преди 10 години
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.
преди 10 години
Viacheslav V. Kovalev
473393a172
Fix rebar_utils:sh on windows
преди 10 години
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.
преди 10 години
Daniel Widgren
e3d32b10cc
Fixed two tests for windows 8.1 and added touch functionality
преди 10 години
Fred Hebert
8c8774f3e0
Make the test work on more versions
преди 9 години
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.
преди 9 години
Fred Hebert
23eb53ebfd
Adding tests for locks
преди 9 години
Tristan Sloughter
4bb2a0c710
Add error message for bad provider hook, fixes #521
преди 10 години