diff options
author | Siri Hansen <[email protected]> | 2017-04-12 12:35:52 +0200 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2017-04-12 12:35:52 +0200 |
commit | 1a2e7f14aafaac1209458dcedebd4fe723e0f302 (patch) | |
tree | 4fddb50cfcbd458ac60eff62ecd780eb1438d57e /lib/tools/test/make_SUITE_data | |
parent | 3a29920a05cedee8c1f7501ee7b1aa22e068efed (diff) | |
download | otp-1a2e7f14aafaac1209458dcedebd4fe723e0f302.tar.gz otp-1a2e7f14aafaac1209458dcedebd4fe723e0f302.tar.bz2 otp-1a2e7f14aafaac1209458dcedebd4fe723e0f302.zip |
[tools/make] Add current directory to include path
This is to ensure that files are recompiled if a .hrl file in the
current directory is changed.
Diffstat (limited to 'lib/tools/test/make_SUITE_data')
-rw-r--r-- | lib/tools/test/make_SUITE_data/incl_src/test_incl2.erl | 9 | ||||
-rw-r--r-- | lib/tools/test/make_SUITE_data/test_incl.hrl | 1 | ||||
-rw-r--r-- | lib/tools/test/make_SUITE_data/test_incl1.erl | 9 |
3 files changed, 19 insertions, 0 deletions
diff --git a/lib/tools/test/make_SUITE_data/incl_src/test_incl2.erl b/lib/tools/test/make_SUITE_data/incl_src/test_incl2.erl new file mode 100644 index 0000000000..d0db98c19a --- /dev/null +++ b/lib/tools/test/make_SUITE_data/incl_src/test_incl2.erl @@ -0,0 +1,9 @@ +-module(test_incl2). +-compile(export_all). +-include("test_incl.hrl"). + +f1() -> + ?d. + +f2() -> + true. diff --git a/lib/tools/test/make_SUITE_data/test_incl.hrl b/lib/tools/test/make_SUITE_data/test_incl.hrl new file mode 100644 index 0000000000..3a1bcfadd0 --- /dev/null +++ b/lib/tools/test/make_SUITE_data/test_incl.hrl @@ -0,0 +1 @@ +-define(d,"defined"). diff --git a/lib/tools/test/make_SUITE_data/test_incl1.erl b/lib/tools/test/make_SUITE_data/test_incl1.erl new file mode 100644 index 0000000000..4a1dd0e73d --- /dev/null +++ b/lib/tools/test/make_SUITE_data/test_incl1.erl @@ -0,0 +1,9 @@ +-module(test_incl1). +-compile(export_all). +-include("test_incl.hrl"). + +f1() -> + ?d. + +f2() -> + true. |