diff options
author | Anders Svensson <[email protected]> | 2012-11-14 20:07:17 +0100 |
---|---|---|
committer | Anders Svensson <[email protected]> | 2012-11-19 15:45:50 +0100 |
commit | b318cb48b9a2e7609d4406138600e4873dbce0c5 (patch) | |
tree | ae55e5f1f06aaf0c8a0eceb1ffa487dd05953d02 /lib/diameter/test/diameter_compiler_SUITE.erl | |
parent | 78105c1948ed14df8cbc6ff085f61624786771c0 (diff) | |
download | otp-b318cb48b9a2e7609d4406138600e4873dbce0c5.tar.gz otp-b318cb48b9a2e7609d4406138600e4873dbce0c5.tar.bz2 otp-b318cb48b9a2e7609d4406138600e4873dbce0c5.zip |
Minor test suite tweaks
Diffstat (limited to 'lib/diameter/test/diameter_compiler_SUITE.erl')
-rw-r--r-- | lib/diameter/test/diameter_compiler_SUITE.erl | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/lib/diameter/test/diameter_compiler_SUITE.erl b/lib/diameter/test/diameter_compiler_SUITE.erl index 4b792b5426..79bf9d32db 100644 --- a/lib/diameter/test/diameter_compiler_SUITE.erl +++ b/lib/diameter/test/diameter_compiler_SUITE.erl @@ -31,8 +31,8 @@ %% testcases -export([format/1, format/2, replace/1, replace/2, - generate/1, generate/4, generate/0, - examples/1, examples/0]). + generate/1, generate/4, + examples/1]). -export([dict/0]). %% fake dictionary module @@ -339,7 +339,7 @@ %% =========================================================================== suite() -> - [{timetrap, {minutes, 2}}]. + [{timetrap, {minutes, 10}}]. all() -> [format, @@ -407,9 +407,6 @@ re({RE, Repl}, Bin) -> %% %% Ensure success when generating code and compiling. -generate() -> - [{timetrap, {seconds, 2*length(?REPLACE)}}]. - generate(Config) -> Bin = proplists:get_value(base, Config), Rs = lists:zip(?REPLACE, lists:seq(1, length(?REPLACE))), @@ -436,9 +433,6 @@ generate(Mods, Bin, N, Mode) -> %% %% Compile dictionaries extracted from various standards. -examples() -> - [{timetrap, {seconds, 3*length(?EXAMPLES)}}]. - examples(_Config) -> Dir = filename:join([code:lib_dir(diameter, examples), "dict"]), [D || D <- ?EXAMPLES, _ <- [examples(?S(D), Dir)]]. |