annotate graal/com.oracle.truffle.ruby.test/specs/rubytruffle @ 13896:cf1f97283122

Merge.
author Doug Simon <doug.simon@oracle.com>
date Thu, 06 Feb 2014 18:47:57 +0100
parents 174aebb02383
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
13514
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
1 #!/bin/bash
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
2
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
3 # The command this file executes is what mx would execute, just taken out of
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
4 # the mx wrapper because it appears to interfere with MSpec, and we need a
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
5 # 'executable' (a shell script will do) to run.
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
6 #
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
7 # If this file isn't working for you try generating one for your setup. You
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
8 # will need to do this for example if your Java isn't 1.7.0u45. You can use
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
9 # the command below - the -v flag gives you the Java command, then just append
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
10 # "$@".
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
11 #
13746
174aebb02383 Ruby: change GRAAL_DIR to TRUFFLE_DIR.
Chris Seaton <chris.seaton@oracle.com>
parents: 13514
diff changeset
12 # $GRAAL_DIR/mxtool/mx -v --vm server-nograal ruby -ea -- --home $GRAAL_DIR "$@"
13514
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
13
13746
174aebb02383 Ruby: change GRAAL_DIR to TRUFFLE_DIR.
Chris Seaton <chris.seaton@oracle.com>
parents: 13514
diff changeset
14 GRAAL_DIR=../../..
13514
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
15
13746
174aebb02383 Ruby: change GRAAL_DIR to TRUFFLE_DIR.
Chris Seaton <chris.seaton@oracle.com>
parents: 13514
diff changeset
16 $GRAAL_DIR/jdk1.7.0_45/product/bin/java \
13514
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
17 -server-nograal -d64 -ea \
13746
174aebb02383 Ruby: change GRAAL_DIR to TRUFFLE_DIR.
Chris Seaton <chris.seaton@oracle.com>
parents: 13514
diff changeset
18 -cp $GRAAL_DIR/lib/jline-2.10.jar:$GRAAL_DIR/lib/jrubyparser-0.5.0.jar:$GRAAL_DIR/lib/jruby-stdlib-1.7.4.jar:$GRAAL_DIR/lib/jnr-posix-3.0.0.jar:$GRAAL_DIR/lib/jnr-constants-0.8.4.jar:$GRAAL_DIR/lib/jnr-ffi-1.0.4.jar:$GRAAL_DIR/lib/jffi-1.2.1.jar:$GRAAL_DIR/lib/jffi-1.2.1-native.jar:$GRAAL_DIR/lib/jnr-x86asm-1.0.2.jar:$GRAAL_DIR/lib/asm-4.0.jar:$GRAAL_DIR/lib/asm-analysis-4.0.jar:$GRAAL_DIR/lib/asm-commons-4.0.jar:$GRAAL_DIR/lib/asm-tree-4.0.jar:$GRAAL_DIR/lib/asm-util-4.0.jar:$GRAAL_DIR/graal/com.oracle.truffle.api/bin:$GRAAL_DIR/graal/com.oracle.truffle.ruby.runtime/bin:$GRAAL_DIR/graal/com.oracle.truffle.api.dsl/bin:$GRAAL_DIR/graal/com.oracle.truffle.ruby.nodes/bin:$GRAAL_DIR/graal/com.oracle.truffle.ruby.parser/bin:$GRAAL_DIR/graal/com.oracle.truffle.ruby.shell/bin \
13514
0fbee3eb71f0 Ruby: import project.
Chris Seaton <chris.seaton@oracle.com>
parents:
diff changeset
19 com.oracle.truffle.ruby.shell.Shell \
13746
174aebb02383 Ruby: change GRAAL_DIR to TRUFFLE_DIR.
Chris Seaton <chris.seaton@oracle.com>
parents: 13514
diff changeset
20 --home $GRAAL_DIR "$@"