WARNING! Access to this system is limited to authorised users only.
Unauthorised users may be subject to prosecution.
Unauthorised access to this system is a criminal offence under Australian law (Federal Crimes Act 1914 Part VIA)
It is a criminal offence to:
(1) Obtain access to data without authority. -Penalty 2 years imprisonment.
(2) Damage, delete, alter or insert data without authority. -Penalty 10 years imprisonment.
User activity is monitored and recorded. Anyone using this system expressly consents to such monitoring and recording.

To protect your data, the CISO officer has suggested users to enable 2FA as soon as possible.
Currently 2.7% of users enabled 2FA.

Commit 759cf42a authored by John Zhang's avatar John Zhang
Browse files

add dtoa test

parent 1fc42b41
......@@ -1158,6 +1158,19 @@ def test_rpytarget_richards():
res = run_boot_image(main, '/tmp/test_richards-mu', args=['5'])
assert res.returncode == 0, res.err
def test_dtoa():
from rpython.rlib.rdtoa import dtoa
from rpython.translator.mu.tool.debug_print import print_
def main(argv):
return 0
res = run_boot_image(main, '/tmp/test_print_float-mu', args=['2'])
assert res.returncode == 0, res.err
assert res.out == '3.14\n'
@pytest.mark.xfail(reason='KeyError exception')
def test_rpytarget_testdicts():
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment