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
e462bc41
Commit
e462bc41
authored
7 years ago
by
Lukas Stadler
Browse files
Options
Downloads
Patches
Plain Diff
don't mark TCK test source as "internal"
parent
71e27e03
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
com.oracle.truffle.r.test/src/com/oracle/truffle/r/test/tck/FastRTckTest.java
+5
-5
5 additions, 5 deletions
....test/src/com/oracle/truffle/r/test/tck/FastRTckTest.java
with
5 additions
and
5 deletions
com.oracle.truffle.r.test/src/com/oracle/truffle/r/test/tck/FastRTckTest.java
+
5
−
5
View file @
e462bc41
...
...
@@ -29,7 +29,7 @@ import org.junit.Test;
import
com.oracle.truffle.api.source.Source
;
import
com.oracle.truffle.api.vm.PolyglotEngine
;
import
com.oracle.truffle.api.vm.PolyglotEngine.Builder
;
import
com.oracle.truffle.r.runtime.R
Sourc
e
;
import
com.oracle.truffle.r.runtime.R
Runtim
e
;
import
com.oracle.truffle.tck.TruffleTCK
;
public
class
FastRTckTest
extends
TruffleTCK
{
...
...
@@ -40,7 +40,7 @@ public class FastRTckTest extends TruffleTCK {
}
// @formatter:off
private
static
final
S
ource
INITIALIZATION
=
RSource
.
fromTextInternal
(
private
static
final
S
tring
INITIALIZATION
_CODE
=
"fourtyTwo <- function() {\n"
+
" 42L\n"
+
"}\n"
+
...
...
@@ -148,11 +148,11 @@ public class FastRTckTest extends TruffleTCK {
"builtinFunctionType <- function() 'builtin'\n"
+
"valueWithSource <- function() intValue\n"
+
"objectWithKeyInfoAttributes <- function() { list(rw=1, invocable=function(){ 'invoked' }) }\n"
+
"for (name in ls()) export(name, get(name))\n"
,
RSource
.
Internal
.
TCK_INIT
);
"for (name in ls()) export(name, get(name))\n"
;
// @formatter:on
private
static
final
Source
INITIALIZATION
=
Source
.
newBuilder
(
INITIALIZATION_CODE
).
name
(
"TCK"
).
mimeType
(
RRuntime
.
R_APP_MIME
).
build
();
@Override
protected
PolyglotEngine
prepareVM
(
Builder
builder
)
throws
Exception
{
PolyglotEngine
engine
=
builder
.
build
();
...
...
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