aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/test/test_lib.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2010-03-17 16:02:18 +0100
committerBjörn Gustavsson <[email protected]>2010-03-26 08:09:25 +0100
commite74235df989995f5bd2b66b7102857446ff10d11 (patch)
tree137f935bc340b8ade52f8b3cf5bdfd1a70930ebb /lib/compiler/test/test_lib.erl
parent57cb16f84fd21443d3ad9951473f1e0960c6a26e (diff)
downloadotp-e74235df989995f5bd2b66b7102857446ff10d11.tar.gz
otp-e74235df989995f5bd2b66b7102857446ff10d11.tar.bz2
otp-e74235df989995f5bd2b66b7102857446ff10d11.zip
compiler tests: Test the 'inline' option better
Clone some test suites and compile them with the 'inline' option to test inlining more thorughly.
Diffstat (limited to 'lib/compiler/test/test_lib.erl')
-rw-r--r--lib/compiler/test/test_lib.erl4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/compiler/test/test_lib.erl b/lib/compiler/test/test_lib.erl
index 231b86b0b6..844bbfc4b9 100644
--- a/lib/compiler/test/test_lib.erl
+++ b/lib/compiler/test/test_lib.erl
@@ -58,6 +58,7 @@ opt_opts(Mod) ->
(no_gc_bifs) -> true;
(no_stack_trimming) -> true;
(debug_info) -> true;
+ (inline) -> true;
(_) -> false
end, Opts).
@@ -68,5 +69,6 @@ opt_opts(Mod) ->
get_data_dir(Config) ->
Data0 = ?config(data_dir, Config),
{ok,Data1,_} = regexp:sub(Data0, "_no_opt_SUITE", "_SUITE"),
- {ok,Data,_} = regexp:sub(Data1, "_post_opt_SUITE", "_SUITE"),
+ {ok,Data2,_} = regexp:sub(Data1, "_post_opt_SUITE", "_SUITE"),
+ {ok,Data,_} = regexp:sub(Data2, "_inline_SUITE", "_SUITE"),
Data.