Added script to check CLI arguments
This commit is contained in:
parent
5060de11a2
commit
033a119801
1 changed files with 12 additions and 0 deletions
12
checkcliargs.sh
Executable file
12
checkcliargs.sh
Executable file
|
@ -0,0 +1,12 @@
|
|||
#!/bin/bash
|
||||
|
||||
MAIN="org.pitest.mutationtest.commandline.MutationCoverageReport"
|
||||
TMPNEW=/tmp/checkcliargs-new
|
||||
TMPOLD=/tmp/checkcliargs-old
|
||||
|
||||
java -cp "lib/test/*" $MAIN --help >$TMPNEW
|
||||
java -cp "examples/lib/test/*" $MAIN --help >$TMPOLD
|
||||
|
||||
diff $TMPOLD $TMPNEW
|
||||
|
||||
rm -rf $TMPNEW $TMPOLD
|
Loading…
Add table
Add a link
Reference in a new issue