summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDave Smith <dizzyd@dizzyd.com>2013-06-17 15:21:11 -0700
committerDave Smith <dizzyd@dizzyd.com>2013-06-17 15:21:11 -0700
commitd3c125de27df6c25fe28764e36ed99f212861c0b (patch)
treee1b5d9c46733eb6597278ea1469de01e2f2c9d05 /src
parent3a9559651cf529885332b387240ef3f32823250a (diff)
parent209ca73b91e7f787ad8c5545ad14610601a3972d (diff)
Merge pull request #47 from uwiger/master
rebar_eunit:reset_after_eunit/1 mustn't remove 'included_applications'
Diffstat (limited to 'src')
-rw-r--r--src/rebar_eunit.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rebar_eunit.erl b/src/rebar_eunit.erl
index 55e6a72..c997842 100644
--- a/src/rebar_eunit.erl
+++ b/src/rebar_eunit.erl
@@ -666,7 +666,8 @@ reset_after_eunit({OldProcesses, WasAlive, OldAppEnvs, _OldACs}) ->
end,
ok = application:unset_env(App, K)
end || App <- Apps, App /= rebar,
- {K, _V} <- application:get_all_env(App)],
+ {K, _V} <- application:get_all_env(App),
+ K =/= included_applications],
reconstruct_app_env_vars(Apps),