From f22949680eb728659476b268f487d2a50019357b Mon Sep 17 00:00:00 2001 From: Fred T-H Date: Thu, 24 Dec 2009 14:00:04 -0500 Subject: make it possible to include ct.hrl using include_lib It is major annoyance that ct.hrl cannot be included using "-include_lib". The problem is that ct.hrl in turn includes the test_server include files using "-include". Fix it by using "-include_lib" in ct.hrl. --- lib/common_test/include/ct.hrl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/common_test/include') diff --git a/lib/common_test/include/ct.hrl b/lib/common_test/include/ct.hrl index ad3b3374c4..663d08e0a7 100644 --- a/lib/common_test/include/ct.hrl +++ b/lib/common_test/include/ct.hrl @@ -17,6 +17,6 @@ %% %CopyrightEnd% %% --include("test_server.hrl"). +-include_lib("test_server/include/test_server.hrl"). -compile({parse_transform,ct_line}). -- cgit v1.2.3