alisdair sullivan
a4711d00ac
add test for foo_SUITE_data files
pirms 9 gadiem
alisdair sullivan
639906bdb5
put `extra' ct test suites in `extras/apps/APPNAME' rather than `extras'
this allows repeated test suite names across apps without conflicts
pirms 9 gadiem
alisdair sullivan
9acd23f727
allow ct suites to be specified at the root of a project (or root of app)
previously rebar3 dropped suites declared at the root of the project (via
`--suite=whatever_SUITE' probably) and warned. this was because the compiler
would recursively copy and compile everything in the directory indicated by
the test suite. this changes the copy mechanism to only copy erl source files
and directories that end with `_SUITE_data' into the `extras' dir in `_build'
pirms 9 gadiem
alisdair sullivan
48c372d68d
whitespace cleanup
pirms 9 gadiem
Fred Hebert
fe470e534c
Merge pull request #923 from tsloughter/hex_cdn
support temporary cdn change with HEX_CDN os var
pirms 9 gadiem
Tristan Sloughter
c4c7ca4244
support temporary cdn change with HEX_CDN os var
pirms 9 gadiem
Tristan Sloughter
ddc64cd66b
Merge pull request #988 from ferd/schutm-wrong-paths
Fix wrong relative path resolution
pirms 9 gadiem
Tristan Sloughter
362d5c81e7
Merge pull request #986 from ferd/fix-bad-tpl-index-handling
A bad template index does not crash; shows warning
pirms 9 gadiem
Fred Hebert
9e01db6852
Add tests for base_dir reconfiguration
Tests both absolutes and relative paths.
pirms 9 gadiem
Fred Hebert
bc98358643
Merge branch 'master' of https://github.com/schutm/rebar3 into schutm-wrong-paths
pirms 9 gadiem
Fred Hebert
c66bce829c
Merge pull request #983 from priestjim/feature/cover_totals
Add support for total code coverage
pirms 9 gadiem
Fred Hebert
d201d7f4a6
A bad template index does not crash; shows warning
This should fix #955
The test is implicit as a bad index previously silently crashed rebar3.
By adding the bad index to the `new` suite's files, we can show that
things keep running.
pirms 9 gadiem
Panagiotis PJ Papadomitsos
ae9c1fa0f8
Account for division by zero
pirms 9 gadiem
Panagiotis PJ Papadomitsos
8c055a7d96
Add support for total code coverage
pirms 9 gadiem
schutm
d0180cc94d
Fix wrong relative path resolution
pirms 9 gadiem
Fred Hebert
21ae3145df
Merge pull request #967 from talentdeficit/mib_include_fix
symlink mib hrl output in apps `include' directories
pirms 9 gadiem
alisdair sullivan
6f70b7fc88
remove mib header file in `priv/mibs/include'
pirms 9 gadiem
Fred Hebert
540a5c354a
Merge pull request #970 from tsloughter/certifi_0.3.0
upgrade certifi to latest release
pirms 9 gadiem
Tristan Sloughter
b6d70568d8
upgrade certifi to latest release
pirms 9 gadiem
alisdair sullivan
d9ae98e4d8
symlink mib hrl output in apps `include' directories
this restores compatibility with rebar2 and erlang.mk
pirms 9 gadiem
Tristan Sloughter
b1da2ec067
Merge pull request #965 from ferd/tsloughter-tup_umerge
fix tupple merging for realsies.
pirms 9 gadiem
Fred Hebert
769e14c542
Actually fix tuple merging.
Full rewrite, code should be understandable now.
pirms 9 gadiem
Fred Hebert
bc7ba735eb
Merge branch 'tup_umerge' of https://github.com/tsloughter/rebar3 into tsloughter-tup_umerge
pirms 9 gadiem
Tristan Sloughter
d76b25e62d
Merge pull request #963 from ferd/tup_merge-tests
Tup merge tests
pirms 9 gadiem
Tristan Sloughter
540f2ebb0f
add tests for setting per-profile sys_config variables for relx
pirms 9 gadiem
Fred Hebert
f0876ae8c7
Fix tuple umerging
- proper segregation of comparison between tuple terms and non-tuple
terms. Guards weren't specific enough and that meant the wrong clauses
of guards would be triggered
- proper deduplication of entries in the list. An additional N passes
are required (we co-opt the reverse step to be more efficient) because
while the original lists:umerge easily removes dupes, this is
requiring more logic here since `[a,{a,b},{a,b,c},a,{a,b,c}]` is a
possible interleaving and we'd want `[a,{a,b},{a,b,c}]` -- comparison
of direct neighbours isn't enough.
pirms 9 gadiem
Fred Hebert
5b7bf677f8
Add test cases for tuple deduplication
(the tests fail)
pirms 9 gadiem
Fred Hebert
46181c8bf5
Merge pull request #948 from toland/fix_mib_compiler
Fix a small bug in the MIB compiler when building dependencies
pirms 9 gadiem
Phil Toland
afbf729532
Added tests and fixed a bug
pirms 9 gadiem
Tristan Sloughter
2de7ce25e4
Merge pull request #935 from tokenrove/fix-eunit-verbose
Default to no eunit formatter if verbose specified
pirms 9 gadiem
Julian Squires
6140ef6e67
Default to no eunit formatter if verbose specified
The previous default meant that verbose output would not be emitted.
pirms 9 gadiem
Fred Hebert
4b9a0835af
Merge pull request #949 from tsloughter/eunit_config
fetch eunit_formatters config not from the command args but from the config
pirms 9 gadiem
Tristan Sloughter
4935b8dc99
fetch eunit_formatters config not from the command args but from the config
pirms 9 gadiem
Phil Toland
be09be6d6b
Fix a small bug in the MIB compiler when building dependencies
When compiling a dependency with a MIB file the generated hrl file is left in
the root project directory in a file called "include". This has the perverse
effect of messing up the search path for include files causing any dependencies
with files in their "include" directory to fail to build after that.
pirms 9 gadiem
Fred Hebert
a025066940
Merge pull request #945 from tsloughter/auto_update
auto-update the registry if a pkg isn't found, fail if it still isn't found
pirms 9 gadiem
Tristan Sloughter
2242daaec9
auto-update the registry if a pkg isn't found, fail if it still isn't found
pirms 9 gadiem
Fred Hebert
35ea867495
Merge pull request #943 from tsloughter/s3_compat
remove backward_compat entry from travis s3
pirms 9 gadiem
Tristan Sloughter
fd7a6c4fed
remove backward_compat entry from travis s3
pirms 9 gadiem
Fred Hebert
901620fb60
Merge pull request #942 from tsloughter/relx_profiles
special handling of relx configs in profiles
pirms 9 gadiem
Tristan Sloughter
996da460b0
special handling of relx configs in profiles
Relx config need new values at the end of the list and
profile additions prepended. So now in apply_profile in
the case it is a relx config we prepend the config list.
This does, however, mean that a profile release can not
'extend' a release defined in the default profile since
the one being extended would have its definition after
the profile release and thus relx would not be able to
use its values for extending.
pirms 9 gadiem
Fred Hebert
be1853531e
Merge pull request #941 from tsloughter/cp_r_p
preserve attributes when copying files in rebar_utils:cp_r for unix
pirms 9 gadiem
Tristan Sloughter
f4a318f8f5
preserve attributes when copying files in rebar_utils:cp_r for unix
pirms 9 gadiem
Fred Hebert
c3af4ef89b
Merge pull request #934 from tsloughter/dedup_providers
don't add a provider if the same namespace and name already exists
pirms 9 gadiem
Tristan Sloughter
d67ea4a511
just delete erlware_commons rebar.config.script, it isn't needed for rebar3
pirms 9 gadiem
Tristan Sloughter
740d8a3c74
if a provider of the same namespace and name already exists, skip adding new provider
pirms 9 gadiem
Tristan Sloughter
d2628b6940
Merge pull request #930 from ferd/handle-new-flag
Handle force flags in leading position
pirms 9 gadiem
Fred Hebert
bf347caa55
Handle force flags in leading position
The checking of flags and the parsing of arguments is separated up.
pirms 9 gadiem
Tristan Sloughter
73c3c5552a
Merge pull request #928 from ferd/bump-cth_readable
Ct output improvements
pirms 9 gadiem
Fred Hebert
69254eac40
Ct output improvements
- eunit assert look better
- lager logs to the html logs
pirms 9 gadiem
Fred Hebert
8fe010a887
Merge pull request #927 from tsloughter/eunit_18_2
upgrade eunit_formatters to 0.3.1 for OTP18 bug fix
pirms 9 gadiem