Adjust -include in some tests to work with both bazel and make
This commit is contained in:
		
							parent
							
								
									b71d19d014
								
							
						
					
					
						commit
						9666aeed63
					
				| 
						 | 
				
			
			@ -13,7 +13,7 @@
 | 
			
		|||
-include_lib("eunit/include/eunit.hrl").
 | 
			
		||||
-include_lib("rabbit_common/include/rabbit.hrl").
 | 
			
		||||
-include_lib("rabbit_common/include/rabbit_framing.hrl").
 | 
			
		||||
-include("rabbit_fifo.hrl").
 | 
			
		||||
-include("src/rabbit_fifo.hrl").
 | 
			
		||||
 | 
			
		||||
%%%===================================================================
 | 
			
		||||
%%% Common Test callbacks
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -10,8 +10,8 @@
 | 
			
		|||
-compile(export_all).
 | 
			
		||||
 | 
			
		||||
-include_lib("eunit/include/eunit.hrl").
 | 
			
		||||
-include("rabbit_fifo.hrl").
 | 
			
		||||
-include("rabbit_fifo_dlx.hrl").
 | 
			
		||||
-include("src/rabbit_fifo.hrl").
 | 
			
		||||
-include("src/rabbit_fifo_dlx.hrl").
 | 
			
		||||
-include_lib("rabbit_common/include/rabbit.hrl").
 | 
			
		||||
 | 
			
		||||
%%%===================================================================
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -9,8 +9,8 @@
 | 
			
		|||
-include_lib("proper/include/proper.hrl").
 | 
			
		||||
-include_lib("common_test/include/ct.hrl").
 | 
			
		||||
-include_lib("eunit/include/eunit.hrl").
 | 
			
		||||
-include("rabbit_fifo.hrl").
 | 
			
		||||
-include("rabbit_fifo_dlx.hrl").
 | 
			
		||||
-include("src/rabbit_fifo.hrl").
 | 
			
		||||
-include("src/rabbit_fifo_dlx.hrl").
 | 
			
		||||
-include_lib("rabbit_common/include/rabbit.hrl").
 | 
			
		||||
 | 
			
		||||
-define(record_info(T,R),lists:zip(record_info(fields,T),tl(tuple_to_list(R)))).
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -11,7 +11,7 @@
 | 
			
		|||
-include_lib("common_test/include/ct.hrl").
 | 
			
		||||
-include_lib("eunit/include/eunit.hrl").
 | 
			
		||||
-include_lib("rabbit_common/include/rabbit.hrl").
 | 
			
		||||
-include("rabbit_fifo_v0.hrl").
 | 
			
		||||
-include("src/rabbit_fifo_v0.hrl").
 | 
			
		||||
 | 
			
		||||
%%%===================================================================
 | 
			
		||||
%%% Common Test callbacks
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -8,7 +8,7 @@
 | 
			
		|||
 | 
			
		||||
-include_lib("eunit/include/eunit.hrl").
 | 
			
		||||
-include_lib("rabbit_common/include/rabbit.hrl").
 | 
			
		||||
-include("rabbit_stream_coordinator.hrl").
 | 
			
		||||
-include("src/rabbit_stream_coordinator.hrl").
 | 
			
		||||
 | 
			
		||||
-define(STATE, rabbit_stream_coordinator).
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -19,7 +19,7 @@
 | 
			
		|||
-compile(export_all).
 | 
			
		||||
 | 
			
		||||
-include_lib("eunit/include/eunit.hrl").
 | 
			
		||||
-include("rabbit_stream_sac_coordinator.hrl").
 | 
			
		||||
-include("src/rabbit_stream_sac_coordinator.hrl").
 | 
			
		||||
 | 
			
		||||
%%%===================================================================
 | 
			
		||||
%%% Common Test callbacks
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue