Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Q
QueryR
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Julien Lopez
QueryR
Commits
d754e0e5
Commit
d754e0e5
authored
9 years ago
by
Mick Jordan
Browse files
Options
Downloads
Plain Diff
Merge
parents
b8c2f89d
609e101f
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
com.oracle.truffle.r.test/src/com/oracle/truffle/r/test/tck/FastRTckTest.java
+54
-0
54 additions, 0 deletions
....test/src/com/oracle/truffle/r/test/tck/FastRTckTest.java
mx.fastr/mx_fastr.py
+6
-6
6 additions, 6 deletions
mx.fastr/mx_fastr.py
mx.fastr/suite.py
+1
-1
1 addition, 1 deletion
mx.fastr/suite.py
with
61 additions
and
7 deletions
com.oracle.truffle.r.test/src/com/oracle/truffle/r/test/tck/FastRTckTest.java
+
54
−
0
View file @
d754e0e5
...
...
@@ -165,6 +165,45 @@ public class FastRTckTest extends TruffleTCK {
return
"valuesObject"
;
}
@Override
public
void
readWriteBooleanValue
()
throws
Exception
{
// TODO not yet supported
}
@Override
public
void
readWriteDoubleValue
()
throws
Exception
{
// TODO not yet supported
}
@Override
public
void
readWriteCharValue
()
throws
Exception
{
// TODO not yet supported
}
@Override
public
void
readWriteShortValue
()
throws
Exception
{
// TODO not yet supported
}
@Override
public
void
readWriteByteValue
()
throws
Exception
{
// TODO not yet supported
}
@Override
public
void
readWriteIntValue
()
throws
Exception
{
// TODO not yet supported
}
@Override
public
void
readWriteFloatValue
()
throws
Exception
{
// TODO not yet supported
}
public
void
testAddComplexNumbersWithMethod
()
throws
Exception
{
// TODO not yet supported
}
@Override
@Test
public
void
testNull
()
{
...
...
@@ -211,6 +250,21 @@ public class FastRTckTest extends TruffleTCK {
// no floats in FastR
}
@Override
public
void
testPlusWithOneNegativeShort
()
throws
Exception
{
// no floats in FastR
}
@Override
public
void
testPlusWithDoubleFloatSameAsInt
()
throws
Exception
{
// no floats in FastR
}
@Override
public
void
testPlusWithLongMaxIntMinInt
()
throws
Exception
{
// no longs in FastR
}
@Override
public
void
testPlusWithLong
()
throws
Exception
{
// no longs in FastR
...
...
This diff is collapsed.
Click to expand it.
mx.fastr/mx_fastr.py
+
6
−
6
View file @
d754e0e5
...
...
@@ -87,7 +87,7 @@ def do_run_r(args, command, extraVmArgs=None, jdk=None, nonZeroIsFatal=True):
vmArgs
=
[
'
-cp
'
,
mx
.
classpath
(
_r_command_project
)]
# jvmci specific
if
_mx_jvmci
:
vmArgs
+=
[
'
-Dgraal.
option.
InliningDepthError=500
'
,
'
-Dgraal.
option.
EscapeAnalysisIterations=3
'
,
'
-XX:JVMCINMethodSizeLimit=1000000
'
]
vmArgs
+=
[
'
-Dgraal.InliningDepthError=500
'
,
'
-Dgraal.EscapeAnalysisIterations=3
'
,
'
-XX:JVMCINMethodSizeLimit=1000000
'
]
if
extraVmArgs
is
None
or
not
'
-da
'
in
extraVmArgs
:
# unless explicitly disabled we enable assertion checking
...
...
@@ -115,7 +115,7 @@ def _sanitize_vmArgs(jdk, vmArgs):
i
=
0
while
i
<
len
(
vmArgs
):
vmArg
=
vmArgs
[
i
]
if
'
graal
.option
'
in
vmArg
or
'
JVMCI
'
in
vmArg
:
if
'
graal
'
in
vmArg
or
'
JVMCI
'
in
vmArg
:
if
vm
and
vm
==
"
original
"
:
i
=
i
+
1
continue
...
...
@@ -352,10 +352,10 @@ def _junit_r_harness(args, vmArgs, junitArgs):
junitArgs
+=
[
'
--runlistener
'
,
runlistener
]
# suppress Truffle compilation by using a high threshold
vmArgs
+=
[
'
-Dgraal.
option.
TruffleCompilationThreshold=100000
'
]
vmArgs
+=
[
'
-Dgraal.TruffleCompilationThreshold=100000
'
]
if
_mx_jvmci
:
vmArgs
+=
[
'
-Dgraal.
option.
InliningDepthError=500
'
,
'
-Dgraal.
option.
EscapeAnalysisIterations=3
'
,
'
-XX:JVMCINMethodSizeLimit=1000000
'
,
'
-Xmx
4
G
'
]
vmArgs
+=
[
'
-Dgraal.InliningDepthError=500
'
,
'
-Dgraal.EscapeAnalysisIterations=3
'
,
'
-XX:JVMCINMethodSizeLimit=1000000
'
,
'
-Xmx
5
G
'
]
setREnvironment
()
jdk
=
get_default_jdk
()
...
...
@@ -541,8 +541,8 @@ def load_optional_suite(name, rev):
mx
.
build_suite
(
opt_suite
)
return
opt_suite
_r_apptests_rev
=
'
dfa1747a3b230ed6d8af55e229ec339eb58d38ed
'
_r_benchmarks_rev
=
'
72d53a9a99cf3ade1376e5c540a07e5095eb29f6
'
_r_apptests_rev
=
'
804b75871abe803f46af6b2a075cc3f6acfdd6e9
'
_r_benchmarks_rev
=
'
0b4f36819086323aebce7a2d7bc62949ff90950b
'
def
mx_post_parse_cmd_line
(
opts
):
# load optional suites, r_apptests first so r_benchmarks can find it
...
...
This diff is collapsed.
Click to expand it.
mx.fastr/suite.py
+
1
−
1
View file @
d754e0e5
...
...
@@ -27,7 +27,7 @@ suite = {
"
suites
"
:
[
{
"
name
"
:
"
graal
"
,
"
version
"
:
"
d2c1517a2487dc0c9803f141e79152fc75a4dbe6
"
,
"
version
"
:
"
f6b021195f0811495a1763d6259612d69db3d78f
"
,
"
urls
"
:
[
{
"
url
"
:
"
http://lafo.ssw.uni-linz.ac.at/hg/graal-compiler
"
,
"
kind
"
:
"
hg
"
},
{
"
url
"
:
"
https://curio.ssw.jku.at/nexus/content/repositories/snapshots
"
,
"
kind
"
:
"
binary
"
},
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment