Skip to content

Commit 9bb4dcd

Browse files
mattias-mohlinGitHub Enterprise
authored andcommitted
Added sample command line
1 parent 194a4a2 commit 9bb4dcd

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

art-comp-test/runner/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,10 @@ With the above arguments the script will run all tests and print the results in
3838
If you pass the argument `--port` the script will start a web server which you can access from a web browser on the specified port. For example, passing `--port=4444` makes the web server available at `http://localhost:4444/`.
3939
By default the web server is only running while the tests execute, but you can pass `--terminateWebServer==never` if you want it to keep running also after test execution is completed. `--terminateWebServer==ifNoFailures` is another alternative in case the web server only should keep running in case one or more tests failed.
4040

41+
Here is an example of a complete command-line that runs the script in interactive mode by starting a web server:
42+
43+
```shell
44+
node app.js --targetConfig=WinT.x64-MinGw-12.2.0 --testDir=../tests --javaVM=C:/openjdk/jdk-21.0.4.7-hotspot/bin/java --artCompilerJar=C:/VSCode/data/extensions/secure-dev-ops.code-realtime-ce-2.0.8/bin/artcompiler.jar --targetRTSDir=C:/VSCode/data/extensions/secure-dev-ops.code-realtime-ce-2.0.8/TargetRTS --port=4444
45+
```
46+
4147
By default all tests in the specified test folder will execute, and they will execute in parallel groups to speed up the overall execution. You can limit execution to only some tests by means of the `--testCases` argument. Specify the names of tests to run (i.e. the folder names) separated by comma. If you have a powerful machine with lots of cores you can raise the `--maxParallel` option from the default 5 to a higher number. This controls how many tests are placed in each group that executes in parallel. Setting it to 1 disables parallel execution and all tests will then execute serially one after the other.

0 commit comments

Comments
 (0)