diff options
author | Fred Hebert <mononcqc@ferd.ca> | 2018-04-20 21:03:05 -0400 |
---|---|---|
committer | Fred Hebert <mononcqc@ferd.ca> | 2018-04-20 21:11:55 -0400 |
commit | 543fe579a6d7c71fb4ed6a898540b573f6255dd0 (patch) | |
tree | 8661d7683a6f4de5a58a2c4999503bc950d4da2b /src/rebar_prv_update.erl | |
parent | 9cfe33f97e83f060cb4394f0089c2998994af7f4 (diff) |
Fix precedence rules of erl_opts for test profile
When adding the 'TEST' macro to the test profile, we mistakenly sourced
the erl_opts values from the base profile rather than the test profile
itself.
This means that in cases where the base profile set an option such as
'no_debug_info' and a profile overrode it with 'debug_info', the default
options would get injected within the test profile, and broke the
precedence rules, yielding incompatible values.
This patch fixes things by adding the macro to the values sourced from
the test profile itself, fixing the issue.
Diffstat (limited to 'src/rebar_prv_update.erl')
0 files changed, 0 insertions, 0 deletions