#!/bin/sh
# Runs an analysis with the built MutabilityDetector.jar for a quick check that nothing is fundamentally broken.


MD_JAR=$1
RT_JAR=$JAVA_HOME/jre/lib/rt.jar
COMMAND="java -jar ${MD_JAR} --verbose -cp $RT_JAR"

echo "Running command: ${COMMAND}"
START=`date`
$COMMAND
END=`date`

echo "Started:		${START}"
echo "Ended:			${END}"

exit 0

#!/bin/sh
# Runs an analysis with the built MutabilityDetector.jar for a quick check that nothing is fundamentally broken.


MD_JAR=$1
JAR_TO_ANALYSE=$2
if [ -z "$JAR_TO_ANALYSE" ]; then
  JAR_TO_ANALYSE=$JAVA_HOME/jre/lib/rt.jar
fi

COMMAND="java -jar ${MD_JAR} --verbose -cp $JAR_TO_ANALYSE"

echo "Running command: ${COMMAND}"
START=`date`
$COMMAND
END=`date`

echo "Started:		${START}"
echo "Ended:			${END}"

exit 0

Allow specifying jar to analyse in the sanity check script. Default to rt.jar if not specified.
Allow specifying jar to analyse in the sanity check script. Default to rt.jar if not specified.

git-svn-id: ed609ce04ec9e3c0bc25e071e87814dd6d976548@472 c7a0535c-eda6-11de-83d8-6d5adf01d787
