From cf3ab5832ad7033219b0f6a806be12c0e9cc9816 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Wed, 29 Nov 2017 16:57:10 +0100 Subject: [PATCH] Add nowarn_export_all to all test suites --- test/compress_SUITE.erl | 1 + test/cowboy_test.erl | 1 + test/examples_SUITE.erl | 1 + test/h2spec_SUITE.erl | 1 + test/http2_SUITE.erl | 1 + test/http_SUITE.erl | 1 + test/loop_handler_SUITE.erl | 1 + test/metrics_SUITE.erl | 1 + test/misc_SUITE.erl | 1 + test/req_SUITE.erl | 1 + test/rest_handler_SUITE.erl | 1 + test/rfc7230_SUITE.erl | 1 + test/rfc7540_SUITE.erl | 1 + test/static_handler_SUITE.erl | 1 + test/stream_handler_SUITE.erl | 1 + test/tracer_SUITE.erl | 1 + test/ws_SUITE.erl | 1 + 17 files changed, 17 insertions(+) diff --git a/test/compress_SUITE.erl b/test/compress_SUITE.erl index 83e662a8..36f88650 100644 --- a/test/compress_SUITE.erl +++ b/test/compress_SUITE.erl @@ -14,6 +14,7 @@ -module(compress_SUITE). -compile(export_all). +-compile(nowarn_export_all). -import(ct_helper, [config/2]). -import(ct_helper, [doc/1]). diff --git a/test/cowboy_test.erl b/test/cowboy_test.erl index bdeb8010..23185b4b 100644 --- a/test/cowboy_test.erl +++ b/test/cowboy_test.erl @@ -14,6 +14,7 @@ -module(cowboy_test). -compile(export_all). +-compile(nowarn_export_all). -import(ct_helper, [config/2]). diff --git a/test/examples_SUITE.erl b/test/examples_SUITE.erl index ff0457af..69abe849 100644 --- a/test/examples_SUITE.erl +++ b/test/examples_SUITE.erl @@ -14,6 +14,7 @@ -module(examples_SUITE). -compile(export_all). +-compile(nowarn_export_all). -import(ct_helper, [config/2]). -import(ct_helper, [doc/1]). diff --git a/test/h2spec_SUITE.erl b/test/h2spec_SUITE.erl index fe93fdcc..3429bb36 100644 --- a/test/h2spec_SUITE.erl +++ b/test/h2spec_SUITE.erl @@ -14,6 +14,7 @@ -module(h2spec_SUITE). -compile(export_all). +-compile(nowarn_export_all). -import(ct_helper, [config/2]). -import(ct_helper, [doc/1]). diff --git a/test/http2_SUITE.erl b/test/http2_SUITE.erl index 6eaa11dc..7730b583 100644 --- a/test/http2_SUITE.erl +++ b/test/http2_SUITE.erl @@ -14,6 +14,7 @@ -module(http2_SUITE). -compile(export_all). +-compile(nowarn_export_all). -import(ct_helper, [config/2]). -import(ct_helper, [doc/1]). diff --git a/test/http_SUITE.erl b/test/http_SUITE.erl index b4c6cc79..203378c2 100644 --- a/test/http_SUITE.erl +++ b/test/http_SUITE.erl @@ -15,6 +15,7 @@ -module(http_SUITE). -compile(export_all). +-compile(nowarn_export_all). -import(ct_helper, [config/2]). -import(cowboy_test, [gun_open/1]). diff --git a/test/loop_handler_SUITE.erl b/test/loop_handler_SUITE.erl index 6012b00f..39627a58 100644 --- a/test/loop_handler_SUITE.erl +++ b/test/loop_handler_SUITE.erl @@ -14,6 +14,7 @@ -module(loop_handler_SUITE). -compile(export_all). +-compile(nowarn_export_all). -import(ct_helper, [config/2]). -import(ct_helper, [doc/1]). diff --git a/test/metrics_SUITE.erl b/test/metrics_SUITE.erl index 3107447a..6af44923 100644 --- a/test/metrics_SUITE.erl +++ b/test/metrics_SUITE.erl @@ -14,6 +14,7 @@ -module(metrics_SUITE). -compile(export_all). +-compile(nowarn_export_all). -import(ct_helper, [config/2]). -import(ct_helper, [doc/1]). diff --git a/test/misc_SUITE.erl b/test/misc_SUITE.erl index 6d398488..f61e1e45 100644 --- a/test/misc_SUITE.erl +++ b/test/misc_SUITE.erl @@ -14,6 +14,7 @@ -module(misc_SUITE). -compile(export_all). +-compile(nowarn_export_all). -import(ct_helper, [config/2]). -import(ct_helper, [doc/1]). diff --git a/test/req_SUITE.erl b/test/req_SUITE.erl index 9fa73e5a..50001b22 100644 --- a/test/req_SUITE.erl +++ b/test/req_SUITE.erl @@ -14,6 +14,7 @@ -module(req_SUITE). -compile(export_all). +-compile(nowarn_export_all). -import(ct_helper, [config/2]). -import(ct_helper, [doc/1]). diff --git a/test/rest_handler_SUITE.erl b/test/rest_handler_SUITE.erl index d48690b9..ec7c97d6 100644 --- a/test/rest_handler_SUITE.erl +++ b/test/rest_handler_SUITE.erl @@ -14,6 +14,7 @@ -module(rest_handler_SUITE). -compile(export_all). +-compile(nowarn_export_all). -import(ct_helper, [config/2]). -import(ct_helper, [doc/1]). diff --git a/test/rfc7230_SUITE.erl b/test/rfc7230_SUITE.erl index ea843a41..b0b4777c 100644 --- a/test/rfc7230_SUITE.erl +++ b/test/rfc7230_SUITE.erl @@ -14,6 +14,7 @@ -module(rfc7230_SUITE). -compile(export_all). +-compile(nowarn_export_all). -import(ct_helper, [doc/1]). -import(cowboy_test, [gun_open/1]). diff --git a/test/rfc7540_SUITE.erl b/test/rfc7540_SUITE.erl index 65321aab..7404f8b1 100644 --- a/test/rfc7540_SUITE.erl +++ b/test/rfc7540_SUITE.erl @@ -14,6 +14,7 @@ -module(rfc7540_SUITE). -compile(export_all). +-compile(nowarn_export_all). -import(ct_helper, [config/2]). -import(ct_helper, [doc/1]). diff --git a/test/static_handler_SUITE.erl b/test/static_handler_SUITE.erl index e8d496c7..5b02e019 100644 --- a/test/static_handler_SUITE.erl +++ b/test/static_handler_SUITE.erl @@ -14,6 +14,7 @@ -module(static_handler_SUITE). -compile(export_all). +-compile(nowarn_export_all). -import(ct_helper, [config/2]). -import(ct_helper, [doc/1]). diff --git a/test/stream_handler_SUITE.erl b/test/stream_handler_SUITE.erl index 02234b4d..04e1dcf8 100644 --- a/test/stream_handler_SUITE.erl +++ b/test/stream_handler_SUITE.erl @@ -14,6 +14,7 @@ -module(stream_handler_SUITE). -compile(export_all). +-compile(nowarn_export_all). -import(ct_helper, [config/2]). -import(ct_helper, [doc/1]). diff --git a/test/tracer_SUITE.erl b/test/tracer_SUITE.erl index b4eb3cf0..b84305cd 100644 --- a/test/tracer_SUITE.erl +++ b/test/tracer_SUITE.erl @@ -14,6 +14,7 @@ -module(tracer_SUITE). -compile(export_all). +-compile(nowarn_export_all). -import(ct_helper, [config/2]). -import(ct_helper, [doc/1]). diff --git a/test/ws_SUITE.erl b/test/ws_SUITE.erl index ad4e15e2..99307d8c 100644 --- a/test/ws_SUITE.erl +++ b/test/ws_SUITE.erl @@ -14,6 +14,7 @@ -module(ws_SUITE). -compile(export_all). +-compile(nowarn_export_all). -import(ct_helper, [config/2]). -import(ct_helper, [doc/1]).