Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mu-impl-fast
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
40
Issues
40
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
mu
mu-impl-fast
Commits
838561ab
Commit
838561ab
authored
Mar 27, 2017
by
John Zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added two more tests
parent
498338a5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
0 deletions
+19
-0
tests/test_jit/test_rpython.py
tests/test_jit/test_rpython.py
+19
-0
No files found.
tests/test_jit/test_rpython.py
View file @
838561ab
...
...
@@ -1105,6 +1105,25 @@ The light shines in the darkness, and the darkness has not overcome it.
assert
res
.
returncode
==
0
,
res
.
err
assert
res
.
out
==
'53b45a7e3fb6ccb2d9e43c45cb57b6b56c784def /tmp/john1.txt
\n
'
@
may_spawn_proc
def
test_rpytarget_richards
():
from
rpython.translator.goal.richards
import
entry_point
def
main
(
argv
):
res
,
t0
,
t1
=
entry_point
(
int
(
argv
[
1
]))
return
0
res
=
run_boot_image
(
main
,
'/tmp/test_richards-mu'
,
args
=
[
'5'
])
assert
res
.
resturncode
==
0
,
res
.
err
@
may_spawn_proc
def
test_rpytarget_testdicts
():
from
rpython.translator.goal.targettestdicts
import
entry_point
res
=
run_boot_image
(
entry_point
,
'/tmp/test_testdicts-mu'
,
args
=
[
'd'
,
'1534'
])
assert
res
.
returncode
==
0
,
res
.
err
assert
res
.
out
==
'0x5fe
\n
'
if
__name__
==
'__main__'
:
import
argparse
parser
=
argparse
.
ArgumentParser
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment