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 28b7d94e authored by qinsoon's avatar qinsoon
Browse files

[wip] two more tests passed (other two broke, fixing them)

parent 8f68f667
......@@ -43,8 +43,8 @@ pub fn resolve_symbol(symbol: String) -> Address {
let error = unsafe {dlerror()};
if !error.is_null() {
let cstr = unsafe {CStr::from_ptr(error)};
println!("cannot find symbol: {}", symbol);
println!("{}", cstr.to_str().unwrap());
error!("cannot find symbol: {}", symbol);
error!("{}", cstr.to_str().unwrap());
panic!("failed to resolve symbol");
......@@ -1033,7 +1033,7 @@ def test_make_boot_image_simple():
c_exit(rffi.cast(rffi.INT, 0))
return 0
return 0
res = run_boot_image(pypy_mu_entry, '/tmp/test_make_boot_image_mu', True, ['abc', '123'])
exe = '/tmp/test_make_boot_image_mu'
......@@ -1041,7 +1041,7 @@ def test_make_boot_image_simple():
assert res.returncode == 0, res.err
assert res.out == '%s\nabc\n123\n' % exe
@pytest.mark.xfail(reason = "debugging on this")
@pytest.mark.xfail(reason = "going to debugg on this")
def test_rpytarget_print_argv():
def main(argv):
......@@ -1054,7 +1054,6 @@ def test_rpytarget_print_argv():
assert res.returncode == 0, res.err
assert res.out == '[%s, abc, 123]\n' % exe
@pytest.mark.xfail(reason = "debugging on this")
def test_rpython_helloworld():
def main(argv):
......@@ -1066,7 +1065,6 @@ def test_rpython_helloworld():
assert res.returncode == 0, res.err
assert res.out == 'hello world\n'
@pytest.mark.xfail(reason = "new test")
def test_rpython_print_number():
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