Skip to content

Commit

Permalink
[GR-12507] Document how to run a single TCK test.
Browse files Browse the repository at this point in the history
PullRequest: graal/2475
  • Loading branch information
tzezula committed Nov 15, 2018
2 parents a9471c2 + 39a0128 commit 4755687
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions truffle/docs/TCK.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@ example tests JavaScript with Java types:

`mx tck -Dtck.values=java-host -Dtck.language=js`

To run a single test specify the full test name. For example to run a test for SimpleLanguage `+` operator
with SimpleLanguage `number` and `big number` use:

`mx tck 'ExpressionTest#testExpression[sl::+(sl::number, sl::bigNumber)]'`

To run the TCK tests on the GraalVM it's enough to set the mx `--java-home` to point to the GraalVM:

`mx --java-home=<path_to_graalvm> tck`
Expand Down

0 comments on commit 4755687

Please sign in to comment.