=== source code for op_SUITE:t_not/1
=== Test case started with:
op_SUITE:t_not([{watchdog,<0.20979.4142>},
{tc_logfile,"/home/pi/R16B03/otp-support/release/tests/test_server/ct_run.test_server@localhost.2014-01-03_13.54.23/tests.emulator_test.logs/run.2014-01-03_13.56.47/op_suite.t_not.html"},
{tc_group_properties,[]},
{tc_group_path,[]},
{data_dir,"/home/pi/R16B03/otp-support/release/tests/emulator_test/op_SUITE_data/"},
{priv_dir,"/home/pi/R16B03/otp-support/release/tests/test_server/ct_run.test_server@localhost.2014-01-03_13.54.23/tests.emulator_test.logs/run.2014-01-03_13.56.47/log_private/"},
{nodenames,[]}])
=== Current directory is "/home/pi/R16B03/otp-support/release/tests/test_server/ct_run.test_server@localhost.2014-01-03_13.54.23"
=== Started at 2014-01-03 15:28:21
-module(op_tests).
-compile(export_all).
-compile([{hipe,[{regalloc,linear_scan}]}]).
guard_tests() ->
ok.
body_tests() ->
put(last, {'not',{atom,0,true}}),
false = not id(true),
put(last, {'not',{atom,0,false}}),
true = not id(false),
put(last, {'not',{integer,0,42}}),
{'EXIT',_} = (catch not id(42)),
put(last, {'not',{atom,0,bad}}),
{'EXIT',_} = (catch not id(bad)),
ok.
bif_tests() ->
put(last, {'not',{atom,0,true}}),
false = erlang:'not'(id(true)),
put(last, {'not',{atom,0,false}}),
true = erlang:'not'(id(false)),
put(last, {'not',{integer,0,42}}),
{'EXIT',_} = (catch erlang:'not'(id(42))),
put(last, {'not',{atom,0,bad}}),
{'EXIT',_} = (catch erlang:'not'(id(bad))),
ok.
id(I) ->
I.
Compiling []
transform_module : 0.00 s 3.8 kB
lint_module : 0.01 s 3.8 kB
expand_module : 0.00 s 4.5 kB
core_module : 0.01 s 13.1 kB
core_fold_module : 0.00 s 10.6 kB
core_transforms : 0.00 s 10.6 kB
core_dsetel_module : 0.01 s 10.6 kB
kernel_module : 0.00 s 17.7 kB
v3_life : 0.01 s 15.9 kB
v3_codegen : 0.00 s 10.0 kB
beam_a : 0.01 s 9.7 kB
beam_block : 0.00 s 12.6 kB
beam_except : 0.00 s 10.8 kB
beam_bool : 0.00 s 10.8 kB
beam_type : 0.01 s 10.1 kB
beam_split : 0.00 s 8.9 kB
beam_dead : 0.00 s 9.7 kB
beam_jump : 0.01 s 8.8 kB
beam_peep : 0.00 s 8.6 kB
beam_clean : 0.00 s 8.6 kB
beam_bsm : 0.00 s 8.6 kB
beam_receive : 0.00 s 8.6 kB
beam_trim : 0.00 s 8.6 kB
beam_flatten : 0.00 s 7.4 kB
beam_z : 0.00 s 7.4 kB
beam_validator : 0.00 s 7.4 kB
beam_asm : 0.00 s 0.3 kB
=== Ended at 2014-01-03 15:28:21
=== successfully completed test case
=== returned value = {comment,"4 cases"}
Test run history
| Top level test index