rebar/inttest
Andrew Thompson d983beafe9 Don't over-aggressively clean the code path in the presence of lib_dir directives
Rebar, when it encounters a lib_dir directive, caches the current code
path, adds the libdir(s) and returns the cached copy of the path. When
rebar has finished processing that directory, it restores the cached
path. This is problematic in the below scenario:

        /(lib_dir)->G
  A -> B -> C -> D -> E
   \-> F -> D -> E

When rebar is finished processing B, it restores the code path to what
it was before it processed B, removing C, D, E and G from the code path.
This means when it comes to process F, neither D or E are in the code
path, so any header includes, rebar plugins or parse transforms will not
be in the code path. Without the lib_dir directive, rebar does no code
path cleanups, so everything works fine.

This change makes rebar only remove the explicit lib_dir code paths it
added and adds an inttest that replicates the above scenario.
2013-10-16 19:58:02 -04:00
..
ct1 inttest: fix whitespace errors 2012-08-18 19:29:29 +02:00
ct2 Fix inttest/ct2 ct spec file location (Thanks Peter Andersson) 2012-09-03 11:48:36 +02:00
depplugins Fix searching for plugins 2013-05-19 16:33:29 +03:00
rgen1 Clean up emacs file local variables 2011-01-31 17:55:36 +01:00
t_custom_config Add support for non-Erlang/OTP (raw) dependencies 2012-10-11 02:06:08 -05:00
tdeps1 Adding user/email on created repos for travis CI 2013-04-22 13:45:41 -06:00
tdeps2 Additional travisci fixes 2013-04-23 06:42:16 -06:00
tdeps3 Don't over-aggressively clean the code path in the presence of lib_dir directives 2013-10-16 19:58:02 -04:00
tdeps_update Typo 2013-10-14 13:44:05 -04:00
thooks Add pre and post script support for all commands 2011-03-12 16:31:41 +01:00
tplugins Fix warning in inttest/tplugins/tplugins_rt.erl 2012-07-01 22:29:37 +02:00
bug_5_rt.erl Updating integration tests 2010-06-09 13:17:48 -06:00
retest Updating retest 2010-06-14 18:15:43 -06:00