From 9727a2211ce829f8984edc47b83467897082ccf9 Mon Sep 17 00:00:00 2001 From: Steve Vinoski Date: Sat, 27 Jan 2024 09:58:38 -0500 Subject: [PATCH] Add nowarn_export_all to files using export_all --- test/auth_SUITE.erl | 1 + test/config_encoding_SUITE.erl | 1 + test/cookies_SUITE.erl | 1 + test/copy_error_log_SUITE.erl | 1 + test/deflate_SUITE.erl | 1 + test/dhfile_SUITE.erl | 1 + test/dynopts_SUITE.erl | 1 + test/ehtml_SUITE.erl | 1 + test/gconf_SUITE.erl | 1 + test/headers_SUITE.erl | 1 + test/host_header_SUITE.erl | 1 + test/ipmask_SUITE.erl | 1 + test/json2_SUITE.erl | 1 + test/jsonrpc_SUITE.erl | 1 + test/main_SUITE.erl | 1 + test/maxconn_SUITE.erl | 1 + test/mime_types_SUITE.erl | 1 + test/multipart_post_parsing_SUITE.erl | 1 + test/no_docroot_SUITE.erl | 1 + test/proc_cleanup_SUITE.erl | 1 + test/redirect_SUITE.erl | 1 + test/revproxy_SUITE.erl | 1 + test/sconf_SUITE.erl | 1 + test/srcdir_SUITE.erl | 1 + test/ssl_sni_SUITE.erl | 1 + test/subconfig_SUITE.erl | 1 + test/webdav_SUITE.erl | 1 + test/websockets_SUITE.erl | 1 + test/yaws_api_SUITE.erl | 1 + test/yaws_compile_SUITE.erl | 1 + test/yaws_ls_SUITE.erl | 1 + test/yaws_rpc_SUITE.erl | 1 + test/yaws_sessions_server_SUITE.erl | 1 + www/ybed.erl | 1 + 34 files changed, 34 insertions(+) diff --git a/test/auth_SUITE.erl b/test/auth_SUITE.erl index 87c0ef0d9..4f99ae973 100644 --- a/test/auth_SUITE.erl +++ b/test/auth_SUITE.erl @@ -2,6 +2,7 @@ -include("testsuite.hrl"). +-compile(nowarn_export_all). -compile(export_all). all() -> diff --git a/test/config_encoding_SUITE.erl b/test/config_encoding_SUITE.erl index 80324c38b..6858d93e3 100644 --- a/test/config_encoding_SUITE.erl +++ b/test/config_encoding_SUITE.erl @@ -2,6 +2,7 @@ -include("testsuite.hrl"). +-compile(nowarn_export_all). -compile(export_all). all() -> diff --git a/test/cookies_SUITE.erl b/test/cookies_SUITE.erl index 35348df82..228eee3d5 100644 --- a/test/cookies_SUITE.erl +++ b/test/cookies_SUITE.erl @@ -2,6 +2,7 @@ -include("testsuite.hrl"). +-compile(nowarn_export_all). -compile(export_all). all() -> diff --git a/test/copy_error_log_SUITE.erl b/test/copy_error_log_SUITE.erl index 228658067..ea83dad4d 100644 --- a/test/copy_error_log_SUITE.erl +++ b/test/copy_error_log_SUITE.erl @@ -2,6 +2,7 @@ -include("testsuite.hrl"). +-compile(nowarn_export_all). -compile(export_all). all() -> diff --git a/test/deflate_SUITE.erl b/test/deflate_SUITE.erl index 5765003bc..ec84d73a7 100644 --- a/test/deflate_SUITE.erl +++ b/test/deflate_SUITE.erl @@ -3,6 +3,7 @@ -include("testsuite.hrl"). -include_lib("kernel/include/file.hrl"). +-compile(nowarn_export_all). -compile(export_all). all() -> diff --git a/test/dhfile_SUITE.erl b/test/dhfile_SUITE.erl index 8638f6102..6da4550a8 100644 --- a/test/dhfile_SUITE.erl +++ b/test/dhfile_SUITE.erl @@ -3,6 +3,7 @@ -include("testsuite.hrl"). -include_lib("kernel/include/file.hrl"). +-compile(nowarn_export_all). -compile(export_all). all() -> diff --git a/test/dynopts_SUITE.erl b/test/dynopts_SUITE.erl index 431a96d0c..8aa5b2e7d 100644 --- a/test/dynopts_SUITE.erl +++ b/test/dynopts_SUITE.erl @@ -2,6 +2,7 @@ -include("testsuite.hrl"). +-compile(nowarn_export_all). -compile(export_all). all() -> diff --git a/test/ehtml_SUITE.erl b/test/ehtml_SUITE.erl index 8e441591c..eb6c14909 100644 --- a/test/ehtml_SUITE.erl +++ b/test/ehtml_SUITE.erl @@ -2,6 +2,7 @@ -include("testsuite.hrl"). +-compile(nowarn_export_all). -compile(export_all). all() -> diff --git a/test/gconf_SUITE.erl b/test/gconf_SUITE.erl index c4f3b1edb..cf012e857 100644 --- a/test/gconf_SUITE.erl +++ b/test/gconf_SUITE.erl @@ -2,6 +2,7 @@ -include("testsuite.hrl"). +-compile(nowarn_export_all). -compile(export_all). all() -> diff --git a/test/headers_SUITE.erl b/test/headers_SUITE.erl index 5e3061e13..71d497a31 100644 --- a/test/headers_SUITE.erl +++ b/test/headers_SUITE.erl @@ -2,6 +2,7 @@ -include("testsuite.hrl"). +-compile(nowarn_export_all). -compile(export_all). all() -> diff --git a/test/host_header_SUITE.erl b/test/host_header_SUITE.erl index 9f69246a6..9f4a6c014 100644 --- a/test/host_header_SUITE.erl +++ b/test/host_header_SUITE.erl @@ -3,6 +3,7 @@ -include("testsuite.hrl"). -include_lib("kernel/include/file.hrl"). +-compile(nowarn_export_all). -compile(export_all). all() -> diff --git a/test/ipmask_SUITE.erl b/test/ipmask_SUITE.erl index 2fb36ab92..bbda9b9c6 100644 --- a/test/ipmask_SUITE.erl +++ b/test/ipmask_SUITE.erl @@ -2,6 +2,7 @@ -include("testsuite.hrl"). +-compile(nowarn_export_all). -compile(export_all). all() -> diff --git a/test/json2_SUITE.erl b/test/json2_SUITE.erl index 744d95b5f..b67d8dd73 100644 --- a/test/json2_SUITE.erl +++ b/test/json2_SUITE.erl @@ -2,6 +2,7 @@ -include("testsuite.hrl"). +-compile(nowarn_export_all). -compile(export_all). all() -> diff --git a/test/jsonrpc_SUITE.erl b/test/jsonrpc_SUITE.erl index 993b271e5..6946ea155 100644 --- a/test/jsonrpc_SUITE.erl +++ b/test/jsonrpc_SUITE.erl @@ -3,6 +3,7 @@ -include("testsuite.hrl"). -include_lib("kernel/include/file.hrl"). +-compile(nowarn_export_all). -compile(export_all). all() -> diff --git a/test/main_SUITE.erl b/test/main_SUITE.erl index 4b2b307f9..4fee6e74e 100644 --- a/test/main_SUITE.erl +++ b/test/main_SUITE.erl @@ -3,6 +3,7 @@ -include("testsuite.hrl"). -include_lib("kernel/include/file.hrl"). +-compile(nowarn_export_all). -compile(export_all). all() -> diff --git a/test/maxconn_SUITE.erl b/test/maxconn_SUITE.erl index 5cbfa9580..4263a6844 100644 --- a/test/maxconn_SUITE.erl +++ b/test/maxconn_SUITE.erl @@ -3,6 +3,7 @@ -include("testsuite.hrl"). -include_lib("kernel/include/file.hrl"). +-compile(nowarn_export_all). -compile(export_all). all() -> diff --git a/test/mime_types_SUITE.erl b/test/mime_types_SUITE.erl index 11c65b5a0..b1e3bfe8f 100644 --- a/test/mime_types_SUITE.erl +++ b/test/mime_types_SUITE.erl @@ -2,6 +2,7 @@ -include("testsuite.hrl"). +-compile(nowarn_export_all). -compile(export_all). all() -> diff --git a/test/multipart_post_parsing_SUITE.erl b/test/multipart_post_parsing_SUITE.erl index e54f35d8e..8c7f4dafe 100644 --- a/test/multipart_post_parsing_SUITE.erl +++ b/test/multipart_post_parsing_SUITE.erl @@ -2,6 +2,7 @@ -include("testsuite.hrl"). +-compile(nowarn_export_all). -compile(export_all). all() -> diff --git a/test/no_docroot_SUITE.erl b/test/no_docroot_SUITE.erl index ccb4642df..9d1ffa2d4 100644 --- a/test/no_docroot_SUITE.erl +++ b/test/no_docroot_SUITE.erl @@ -2,6 +2,7 @@ -include("testsuite.hrl"). +-compile(nowarn_export_all). -compile(export_all). all() -> diff --git a/test/proc_cleanup_SUITE.erl b/test/proc_cleanup_SUITE.erl index 5083ea9ad..e3fe83257 100644 --- a/test/proc_cleanup_SUITE.erl +++ b/test/proc_cleanup_SUITE.erl @@ -3,6 +3,7 @@ -include("testsuite.hrl"). +-compile(nowarn_export_all). -compile(export_all). %% Explicitly export supervisor's callback because of a "bug" in R15/16 diff --git a/test/redirect_SUITE.erl b/test/redirect_SUITE.erl index 558af75e9..da5ca1b10 100644 --- a/test/redirect_SUITE.erl +++ b/test/redirect_SUITE.erl @@ -2,6 +2,7 @@ -include("testsuite.hrl"). +-compile(nowarn_export_all). -compile(export_all). all() -> diff --git a/test/revproxy_SUITE.erl b/test/revproxy_SUITE.erl index 15618d454..567de0ada 100644 --- a/test/revproxy_SUITE.erl +++ b/test/revproxy_SUITE.erl @@ -3,6 +3,7 @@ -include("testsuite.hrl"). -include_lib("kernel/include/file.hrl"). +-compile(nowarn_export_all). -compile(export_all). all() -> diff --git a/test/sconf_SUITE.erl b/test/sconf_SUITE.erl index 351392c02..311a7ceb9 100644 --- a/test/sconf_SUITE.erl +++ b/test/sconf_SUITE.erl @@ -2,6 +2,7 @@ -include("testsuite.hrl"). +-compile(nowarn_export_all). -compile(export_all). all() -> diff --git a/test/srcdir_SUITE.erl b/test/srcdir_SUITE.erl index c77793319..5e326fb22 100644 --- a/test/srcdir_SUITE.erl +++ b/test/srcdir_SUITE.erl @@ -3,6 +3,7 @@ -include("testsuite.hrl"). -include_lib("kernel/include/file.hrl"). +-compile(nowarn_export_all). -compile(export_all). all() -> diff --git a/test/ssl_sni_SUITE.erl b/test/ssl_sni_SUITE.erl index 8d48f1318..41b6337e1 100644 --- a/test/ssl_sni_SUITE.erl +++ b/test/ssl_sni_SUITE.erl @@ -3,6 +3,7 @@ -include("testsuite.hrl"). -include_lib("kernel/include/file.hrl"). +-compile(nowarn_export_all). -compile(export_all). all() -> diff --git a/test/subconfig_SUITE.erl b/test/subconfig_SUITE.erl index de36f1997..72d010d74 100644 --- a/test/subconfig_SUITE.erl +++ b/test/subconfig_SUITE.erl @@ -2,6 +2,7 @@ -include("testsuite.hrl"). +-compile(nowarn_export_all). -compile(export_all). all() -> diff --git a/test/webdav_SUITE.erl b/test/webdav_SUITE.erl index 9b4969ecc..703ffa18b 100644 --- a/test/webdav_SUITE.erl +++ b/test/webdav_SUITE.erl @@ -3,6 +3,7 @@ -include("testsuite.hrl"). -include_lib("kernel/include/file.hrl"). +-compile(nowarn_export_all). -compile(export_all). all() -> diff --git a/test/websockets_SUITE.erl b/test/websockets_SUITE.erl index 5871c6ba9..6dc459483 100644 --- a/test/websockets_SUITE.erl +++ b/test/websockets_SUITE.erl @@ -2,6 +2,7 @@ -include("testsuite.hrl"). +-compile(nowarn_export_all). -compile(export_all). diff --git a/test/yaws_api_SUITE.erl b/test/yaws_api_SUITE.erl index eb383c0b7..1f1991c85 100644 --- a/test/yaws_api_SUITE.erl +++ b/test/yaws_api_SUITE.erl @@ -2,6 +2,7 @@ -include("testsuite.hrl"). +-compile(nowarn_export_all). -compile(export_all). all() -> diff --git a/test/yaws_compile_SUITE.erl b/test/yaws_compile_SUITE.erl index 24b12d083..40c3298d2 100644 --- a/test/yaws_compile_SUITE.erl +++ b/test/yaws_compile_SUITE.erl @@ -2,6 +2,7 @@ -include("testsuite.hrl"). +-compile(nowarn_export_all). -compile(export_all). all() -> diff --git a/test/yaws_ls_SUITE.erl b/test/yaws_ls_SUITE.erl index 3d5b97d97..51bb5d515 100644 --- a/test/yaws_ls_SUITE.erl +++ b/test/yaws_ls_SUITE.erl @@ -2,6 +2,7 @@ -include("testsuite.hrl"). +-compile(nowarn_export_all). -compile(export_all). all() -> diff --git a/test/yaws_rpc_SUITE.erl b/test/yaws_rpc_SUITE.erl index 4e9391155..c10e7e466 100644 --- a/test/yaws_rpc_SUITE.erl +++ b/test/yaws_rpc_SUITE.erl @@ -2,6 +2,7 @@ -include("testsuite.hrl"). +-compile(nowarn_export_all). -compile(export_all). all() -> diff --git a/test/yaws_sessions_server_SUITE.erl b/test/yaws_sessions_server_SUITE.erl index a7232653f..88366793f 100644 --- a/test/yaws_sessions_server_SUITE.erl +++ b/test/yaws_sessions_server_SUITE.erl @@ -2,6 +2,7 @@ -include("testsuite.hrl"). +-compile(nowarn_export_all). -compile(export_all). all() -> diff --git a/www/ybed.erl b/www/ybed.erl index 3b33689c3..1a08db71a 100644 --- a/www/ybed.erl +++ b/www/ybed.erl @@ -1,4 +1,5 @@ -module(ybed). +-compile(nowarn_export_all). -compile(export_all). start() ->