Commit Graph

6 Commits

Author SHA1 Message Date
Peter Wang
88047bbb45 Delete Erlang from tests.
tests/general/float_test.exp3:
tests/general/float_test.m:
tests/general/read_dir_regression.exp4:
tests/general/read_dir_regression.m:
tests/hard_coded/remove_file.exp2:
tests/hard_coded/remove_file.m:
    Delete Erlang backend specific expected outputs.

tests/hard_coded/Mmakefile:
tests/hard_coded/erlang_deconstruct.exp:
tests/hard_coded/erlang_deconstruct.m:
tests/hard_coded/existential_list.exp:
tests/hard_coded/existential_list.m:
tests/valid/Mmakefile:
tests/valid/erl_ite_vars.m:
tests/valid/zf_erlang_bug.m:
    Delete erlang target specific tests.

tests/*:
    Delete Erlang foreign procs and foreign types.
2020-10-27 11:10:11 +11:00
Julien Fischer
1c7e8c7cef More documentation of expected outputs.
tests/hard_coded/uint_bitwise.m:
tests/hard_coded/bitwise_int.m:
    As above.

tests/hard_coded/string_strip.exp2:
    Delete this: it was for the IL backend, which no longer exists.
    All our current backends just match the .exp file.
2018-09-05 15:06:35 +10:00
Julien Fischer
9ba6fb4701 Fix an off-by-one error in the bitwise tests.
tests/hard_coded/bitwise_int*.m:
tests/hard_coded/uint_bitwise.m:
    Fix an off-by-one error in the C code that prints integers in
    their binary representation.
2017-09-08 01:33:50 -04:00
Zoltan Somogyi
05be9d1349 Fix a test case broken by the new modes of uint.xor. 2017-06-06 12:25:14 +02:00
Julien Fischer
4421be3dbb Fix a test case failure in asm_fast.gc
tests/hard_coded/uint_bitwise.m:
    The C foreign procs in this module require the definition of
    ML_BITS_PER_UINT; add the required foreign_import_module pragma.
    (This currently "works" in many other grades because uint.mh gets
    implicitly imported.)
2017-05-21 01:07:24 +10:00
Julien Fischer
f5769f0d58 Implement checked shifts for uints.
library/uint.m:
     Add checked left and right shift operations on uints.

tests/hard_coded/Mmakefile:
tests/hard_coded/uint_bitwise.m:
     Test bitwise operators on uints.

tests/hard_coded/uint_bitwise.exp:
     Expected output for 64-bit machines.

tests/hard_coded/uint_bitwise.exp2:
     Expected output for 32-bit machines (as well as the
     C# and Java grades).
2017-05-07 13:59:09 +10:00