diff options
author | Björn Gustavsson <[email protected]> | 2012-11-07 16:30:37 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2013-01-10 07:45:07 +0100 |
commit | 94ca384fe91708d6e750a1c9ac32dedcb9ad16a9 (patch) | |
tree | b6a11282ddcf733886c34819ac975fbd78da5d5a /lib/stdlib/test/erl_eval_SUITE.erl | |
parent | 95a477e970cbf88a336408335a482938c12e2e27 (diff) | |
download | otp-94ca384fe91708d6e750a1c9ac32dedcb9ad16a9.tar.gz otp-94ca384fe91708d6e750a1c9ac32dedcb9ad16a9.tar.bz2 otp-94ca384fe91708d6e750a1c9ac32dedcb9ad16a9.zip |
erl_eval: Don't test parameterized modules
Diffstat (limited to 'lib/stdlib/test/erl_eval_SUITE.erl')
-rw-r--r-- | lib/stdlib/test/erl_eval_SUITE.erl | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/lib/stdlib/test/erl_eval_SUITE.erl b/lib/stdlib/test/erl_eval_SUITE.erl index 47792d1052..04d49770cb 100644 --- a/lib/stdlib/test/erl_eval_SUITE.erl +++ b/lib/stdlib/test/erl_eval_SUITE.erl @@ -1160,24 +1160,6 @@ do_funs(LFH, EFH) -> concat(["begin F = fun(F, N) -> [", M, ":count_down(F,N) || X <-[1]] end, F(F,2) end."]), [[[0]]], ['F'], LFH, EFH), - - %% Tests for a bug found by the Dialyzer - used to crash. - case test_server:is_native(erl_eval) of - true -> - %% Parameterized modules are not supported by HiPE. - ok; - false -> - check(fun() -> Pmod = erl_eval_helper:new(42), Pmod:add(5) end, - "begin Pmod = erl_eval_helper:new(42), Pmod:add(5) end.", - 47, - ['Pmod'], LFH, EFH), - check(fun() -> Pmod = erl_eval_helper:new(42), - B = Pmod:add(7), B end, - "begin Pmod = erl_eval_helper:new(42), " - "B = Pmod:add(7), B end.", - 49, - ['B','Pmod'], LFH, EFH) - end, ok. count_down(F, N) when N > 0 -> |