-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add some tests for the Jaunch configurator itself
- Loading branch information
Showing
1 changed file
with
41 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
Setup: | ||
|
||
$ cd "$TESTDIR/../app" | ||
|
||
Now test stuff. | ||
|
||
$ ./jaunch/jaunch-linux-x64 | ||
Hello! You have found the Jaunch configurator. | ||
Your curiosity is an asset. :-) | ||
|
||
This program is intended to be called internally by Jaunch's native | ||
launcher executable. Normally, you do not need to run it yourself. | ||
|
||
However, if you wish, you can test its behavior by passing command line | ||
arguments in the same manner as you would to Jaunch's native launcher, | ||
prepended by the name of the native launcher executable. | ||
|
||
For example, if your native launcher is called fizzbuzz, you could try: | ||
|
||
jaunch fizzbuzz --heap 2g --debugger 8000 | ||
|
||
and watch how Jaunch transforms the arguments. | ||
|
||
You can learn similar information using Jaunch's --dry-run option: | ||
|
||
fizzbuzz --heap 2g --debugger 8000 --dry-run | ||
|
||
For more details, check out the jaunch.toml file. Happy Jaunching! | ||
[1] | ||
|
||
$ jaunch/jaunch-linux-x64 parsy a b c | ||
LAUNCH | ||
/*/libjvm.so (glob) | ||
2 | ||
-Djava.class.path=/*/lib/parsington-3.1.0.jar* (glob) | ||
-Xmx128m | ||
org/scijava/parsington/Main | ||
3 | ||
a | ||
b | ||
c |