diff graal/com.oracle.truffle.ruby.test/specs/rubytruffle @ 13514:0fbee3eb71f0

Ruby: import project.
author Chris Seaton <chris.seaton@oracle.com>
date Mon, 06 Jan 2014 17:12:09 +0000
parents
children 174aebb02383
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/graal/com.oracle.truffle.ruby.test/specs/rubytruffle	Mon Jan 06 17:12:09 2014 +0000
@@ -0,0 +1,20 @@
+#!/bin/bash
+
+# The command this file executes is what mx would execute, just taken out of
+# the mx wrapper because it appears to interfere with MSpec, and we need a
+# 'executable' (a shell script will do) to run.
+#
+# If this file isn't working for you try generating one for your setup. You
+# will need to do this for example if your Java isn't 1.7.0u45. You can use
+# the command below - the -v flag gives you the Java command, then just append
+# "$@".
+#
+#     $TRUFFLE_DIR/mxtool/mx -v --vm server-nograal ruby -ea -- --home $TRUFFLE_DIR "$@"
+
+TRUFFLE_DIR=../../..
+
+$TRUFFLE_DIR/jdk1.7.0_45/product/bin/java \
+  -server-nograal -d64 -ea \
+  -cp $TRUFFLE_DIR/lib/jline-2.10.jar:$TRUFFLE_DIR/lib/jrubyparser-0.5.0.jar:$TRUFFLE_DIR/lib/jruby-stdlib-1.7.4.jar:$TRUFFLE_DIR/lib/jnr-posix-3.0.0.jar:$TRUFFLE_DIR/lib/jnr-constants-0.8.4.jar:$TRUFFLE_DIR/lib/jnr-ffi-1.0.4.jar:$TRUFFLE_DIR/lib/jffi-1.2.1.jar:$TRUFFLE_DIR/lib/jffi-1.2.1-native.jar:$TRUFFLE_DIR/lib/jnr-x86asm-1.0.2.jar:$TRUFFLE_DIR/lib/asm-4.0.jar:$TRUFFLE_DIR/lib/asm-analysis-4.0.jar:$TRUFFLE_DIR/lib/asm-commons-4.0.jar:$TRUFFLE_DIR/lib/asm-tree-4.0.jar:$TRUFFLE_DIR/lib/asm-util-4.0.jar:$TRUFFLE_DIR/graal/com.oracle.truffle.api/bin:$TRUFFLE_DIR/graal/com.oracle.truffle.ruby.runtime/bin:$TRUFFLE_DIR/graal/com.oracle.truffle.api.dsl/bin:$TRUFFLE_DIR/graal/com.oracle.truffle.ruby.nodes/bin:$TRUFFLE_DIR/graal/com.oracle.truffle.ruby.parser/bin:$TRUFFLE_DIR/graal/com.oracle.truffle.ruby.shell/bin \
+  com.oracle.truffle.ruby.shell.Shell \
+  --home $TRUFFLE_DIR "$@"