Skip to content

Commit

Permalink
Added script to check CLI arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
ethauvin committed Jan 29, 2024
1 parent 5060de1 commit 033a119
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions checkcliargs.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 033a119

Please sign in to comment.