Execute cliargs script before running tests

This commit is contained in:
Erik C. Thauvin 2024-05-28 14:27:54 -07:00
parent ec50e5272b
commit e6230a3644
Signed by: erik
GPG key ID: 776702A6A2DA330E
6 changed files with 23 additions and 13 deletions

7
scripts/cliargs.sh Executable file
View file

@ -0,0 +1,7 @@
#!/bin/bash
java -cp "lib/test/*" org.pitest.mutationtest.commandline.MutationCoverageReport --help |\
grep "^.*--.*" |\
sed -e "s/\* --/--/" -e "s/ .*//" |\
sort |\
sed -e '/testPlugin/d' -e '/--help/d' -e '/---/d' > src/test/resources/pitest-args.txt