summaryrefslogtreecommitdiff
path: root/test/rebar_release_SUITE.erl
Commit message (Collapse)AuthorAgeFilesLines
* Fix ordering of overlays and overlay vars in RelxFred Hebert2017-08-151-7/+33
| | | | | | | | | | | | | | | | | | | | | Specifically, this impacts profiles. It appears that relx as a whole requires its configuration to be merged in one tuple order (New takes precedence over Old), whereas the overlays require the opposite (Old takes precedence over New) since the operation order on disk is important to work well. This patch reorders overlay values such that the overlay of a profile takes place *after* the basic overlay, ensuring that the profile actions take place after the basic ones; this allows profiles to properly overwrite files as expected (see #1609) This is done while adequately maintaining the order of operations that were required as part of #1563 Overlay vars of profiles are also checked to be working fine, along with a test. This fixes #1247 and #1609
* Avoid reversing relx overlays.Anthony Molinaro2017-06-011-0/+25
| | | | | This mostly moves a lists:reverse/1 which ensures that profile overlays are run first but keeps the order of overlays otherwise.
* Add test case for relx overlay varsLuis Rascao2016-02-051-1/+56
| | | | | Makes use of several var types: integers, strings, binaries, binary strings and tuples.
* merge overlay entries into a single {overlay, list()} for relxTristan Sloughter2016-01-101-1/+23
|
* add tests for setting per-profile sys_config variables for relxTristan Sloughter2015-12-061-5/+64
|
* do not override user cli supplied outputdir for relxTristan Sloughter2015-08-221-4/+29
|
* add test of relx config sorting with 'extend release'Tristan Sloughter2015-06-281-1/+20
|
* Test cases to exercise the dev_mode release optionKelly McLaughlin2015-03-231-3/+43
| | | | | | | | | | Add one test case to verify the dev_mode option for a release and another to verify overriding the dev_mode option in a profile for a release. Verification of proper dev_mode functioning is done in the rebar_test_utils:check_results/2 function by checking if all the directories in the release lib dir are symlinks or not and comparing that result to the dev_mode expectation passed as input to the check_results function.
* release and tar testsTristan Sloughter2015-02-221-0/+52