Commit e576004d authored by wwalkowski's avatar wwalkowski

No commit message

No commit message
parent 811f99b8
......@@ -58,17 +58,22 @@ then
cp /cygdrive/c/dlnaCttTestResultsSummary.csv .
diff -u <(sed 's/,201.*//g' ./dlnaCttTestResultsSummary_last.csv) <(sed 's/,201.*//g' ./dlnaCttTestResultsSummary.csv) | grep "^+Pass\|^+Fail\|^+Warn" > /cygdrive/c/dlnaDiffs.txt
#size=`cat /cygdrive/c/dlnaDiffs.txt | wc -c`
size=`diff ./dlnaCttTestResultsSummary.csv ./dlnaCttTestResultsSummary_last.csv | wc -c`
echo "size = $size"
cd - >/dev/null 2>&1
echo "" >> /cygdrive/c/outputCount.txt
size=`cat /cygdrive/c/dlnaDiffs.txt | wc -c`
if [ $size > 0 ]
then
echo "\nThere are changes in the results since the last run" >> /cygdrive/c/outputCount.txt
echo "There are changes in the results since the last run" >> /cygdrive/c/outputCount.txt
else
echo "\nNo changes in the results since the last run" >> /cygdrive/c/outputCount.txt
echo "No changes in the results since the last run" >> /cygdrive/c/outputCount.txt
fi
cd - >/dev/null 2>&1
email All < /cygdrive/c/outputCount.txt \
-s "Automated DLNA CTT test results" \
......
......@@ -57,20 +57,26 @@ then
diff -u <(sed 's/,201.*//g' ./mcvtCttTestResultsSummary_last.csv) <(sed 's/,201.*//g' ./mcvtCttTestResultsSummary.csv) | grep "^+Pass\|^+Fail\|^+Warn" > /cygdrive/c/mcvtDiffs.txt
cd - >/dev/null 2>&1
# The java code adds a message that the files can be found in SVN,
# but we need to change that message to refer to mcvt directory
# instead of dlna directory
sed s/dlna_ctt/mcvt_ctt/ < /cygdrive/c/outputCount.txt > /cygdrive/c/mcvtOutputCount.txt
size=`cat /cygdrive/c/mcvtDiffs.txt | wc -c`
#size=`cat /cygdrive/c/mcvtDiffs.txt | wc -c`
size=`diff ./mcvtCttTestResultsSummary.csv ./mcvtCttTestResultsSummary_last.csv | wc -c`
echo "size = $size"
echo "" >> /cygdrive/c/mcvtOutputCount.txt
cd - >/dev/null 2>&1
if [ $size > 0 ]
then
echo "\nThere are changes in the results since the last run" >> /cygdrive/c/mcvtOutputCount.txt
echo "There are changes in the results since the last run" >> /cygdrive/c/mcvtOutputCount.txt
else
echo "\nNo changes in the results since the last run" >> /cygdrive/c/mcvtOutputCount.txt
echo "No changes in the results since the last run" >> /cygdrive/c/mcvtOutputCount.txt
fi
email All < /cygdrive/c/mcvtOutputCount.txt \
......
......@@ -56,17 +56,22 @@ then
cp /cygdrive/c/upnpCttTestResultsSummary.csv .
diff -u <(sed 's/,201.*//g' ./upnpCttTestResultsSummary_last.csv) <(sed 's/,201.*//g' ./upnpCttTestResultsSummary.csv) | grep "^+PASS\|^+FAIL\|^+WARN" > /cygdrive/c/upnpDiffs.txt
#size=`cat /cygdrive/c/upnpDiffs.txt | wc -c`
size=`diff ./upnpCttTestResultsSummary.csv ./upnpCttTestResultsSummary_last.csv | wc -c`
echo "size = $size"
cd - >/dev/null 2>&1
echo "" >> /cygdrive/c/outputCount.txt
size=`cat /cygdrive/c/upnpDiffs.txt | wc -c`
if [ $size > 0 ]
then
echo "\nThere are changes in the results since the last run" >> /cygdrive/c/outputCount.txt
echo "There are changes in the results since the last run" >> /cygdrive/c/outputCount.txt
else
echo "\nNo changes in the results since the last run" >> /cygdrive/c/outputCount.txt
echo "No changes in the results since the last run" >> /cygdrive/c/outputCount.txt
fi
cd - >/dev/null 2>&1
email All < /cygdrive/c/outputCount.txt \
-s "Automated UPnP CTT test results" \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment