Commit bf83afbb authored by Kevin Bi's avatar Kevin Bi
Browse files

"Added headers and short descriptions to the scripts for tacoco"

parent 7a2559c5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
#!/bin/bash

# This script removes the files that run-tacoco and clean-tacoco create
rm cp.txt jacoco.exec *.json
+5 −4
Original line number Diff line number Diff line
#!/bin/bash

# This script creates the compact.json file and the compact-cov-matrix.json file, execute this script after run-tacoco
# The command line arg descriptions are as follows: 
# NOTE do not include an ending backslash for any of the command line arg
# $1 command line arg, absolute path of system-under-test's root 
# $2 command line arg, refers to the name of the file/program that is going to be compacted
@@ -8,7 +10,6 @@
mvn -q exec:java -Panalyzer -Dtacoco.sut=$1 -Dtacoco.json=${2}-compact.json -Dtacoco.exec=jacoco.exec -Dtacoco.pp -Dtacoco.fmt=COMPACT
echo ${2}-compact.json


FILEPATH=${3}/${2}-compact.json
echo $FILEPATH
mvn -q exec:java -Preader -Dtacoco.json="${FILEPATH}"