aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/test
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2015-01-30 10:07:45 +0100
committerBjörn Gustavsson <[email protected]>2015-02-12 13:14:15 +0100
commit8e8a0daea3a50ce5db7e4b7fbbbc056ad3c35dd6 (patch)
treea1e41c6aba9081af1d6537e1fe3bfe4903db69d9 /lib/compiler/test
parentfc108451e7b72957bd165aeee17c914e1f8f9eca (diff)
downloadotp-8e8a0daea3a50ce5db7e4b7fbbbc056ad3c35dd6.tar.gz
otp-8e8a0daea3a50ce5db7e4b7fbbbc056ad3c35dd6.tar.bz2
otp-8e8a0daea3a50ce5db7e4b7fbbbc056ad3c35dd6.zip
test_lib: Include test_server.hrl using -include_lib
This module is the last that uses -include() instead of include_lib(). With that change, a quick smoke test can be done simply like this: PATH=$ERL_TOP/bin:$PATH erlc -W0 *.erl Without the change, you would also need to add -I $ERL_TOP/lib/test_server/include to the command line.
Diffstat (limited to 'lib/compiler/test')
-rw-r--r--lib/compiler/test/test_lib.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/compiler/test/test_lib.erl b/lib/compiler/test/test_lib.erl
index e8f469c5b4..a5e2855f8c 100644
--- a/lib/compiler/test/test_lib.erl
+++ b/lib/compiler/test/test_lib.erl
@@ -18,7 +18,7 @@
%%
-module(test_lib).
--include("test_server.hrl").
+-include_lib("test_server/include/test_server.hrl").
-compile({no_auto_import,[binary_part/2]}).
-export([id/1,recompile/1,parallel/0,uniq/0,opt_opts/1,get_data_dir/1,
smoke_disasm/1,p_run/2,binary_part/2]).