Skip to content
Snippets Groups Projects
Commit e462bc41 authored by Lukas Stadler's avatar Lukas Stadler
Browse files

don't mark TCK test source as "internal"

parent 71e27e03
No related branches found
No related tags found
No related merge requests found
......@@ -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.RSource;
import com.oracle.truffle.r.runtime.RRuntime;
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 Source INITIALIZATION = RSource.fromTextInternal(
private static final String 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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment