Commit 516b6a6c authored by wwalkowski's avatar wwalkowski

No commit message

No commit message
parent 6cccc2cb
......@@ -15,7 +15,7 @@ do
rm -f /cygdrive/c/sikuliLog.txt
# Sleep until it is time to launch the tool
# bash ./sleep.sh
bash ./sleep.sh
rm -f $LOGFILE
......
......@@ -64,25 +64,30 @@ then
#size=`cat /cygdrive/c/dlnaDiffs.txt | wc -c`
size=`diff ./dlnaCttTestResultsSummary_no_dates.csv ./dlnaCttTestResultsSummary_last_no_dates.csv | wc -c`
echo "size = $size"
echo "" >> /cygdrive/c/outputCount.txt
if [ $size > 0 ]
cd - >/dev/null 2>&1
echo "size = $size"
if [ $size -gt 0 ]
then
echo "There are changes in the results since the last run" >> /cygdrive/c/outputCount.txt
email All < /cygdrive/c/outputCount.txt \
-s "Automated DLNA CTT test results" \
-a /cygdrive/c/dlnaCttTestResults.zip \
-a /cygdrive/c/dlnaDiffs.txt \
-a /cygdrive/c/dlnaCttTestResultsSummary.csv
else
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 \
email All < /cygdrive/c/outputCount.txt \
-s "Automated DLNA CTT test results" \
-a /cygdrive/c/dlnaCttTestResults.zip \
-a /cygdrive/c/dlnaDiffs.txt \
-a /cygdrive/c/dlnaCttTestResultsSummary.csv
fi
# Copy csv file to SVN directory for checking in
mv /cygdrive/c/dlnaCttTestResultsSummary.csv "/cygdrive/c/Subversion/QA/dlna_ctt/MarketDMS Automated Results/"
......
......@@ -74,18 +74,23 @@ then
cd - >/dev/null 2>&1
if [ $size > 0 ]
if [ $size -gt 0 ]
then
echo "There are changes in the results since the last run" >> /cygdrive/c/mcvtOutputCount.txt
email All < /cygdrive/c/mcvtOutputCount.txt \
-s "Automated MCVT CTT test results" \
-a /cygdrive/c/mcvtCttTestResults.zip \
-a /cygdrive/c/mcvtDiffs.txt \
-a /cygdrive/c/mcvtCttTestResultsSummary.csv
else
echo "No changes in the results since the last run" >> /cygdrive/c/mcvtOutputCount.txt
fi
email All < /cygdrive/c/mcvtOutputCount.txt \
email All < /cygdrive/c/mcvtOutputCount.txt \
-s "Automated MCVT CTT test results" \
-a /cygdrive/c/mcvtCttTestResults.zip \
-a /cygdrive/c/mcvtDiffs.txt \
-a /cygdrive/c/mcvtCttTestResultsSummary.csv
fi
rm -f /cygdrive/c/mcvtOutputCount.txt
rm -f /cygdrive/c/outputCount.txt
......
......@@ -67,21 +67,25 @@ then
echo "" >> /cygdrive/c/outputCount.txt
if [ $size > 0 ]
cd - >/dev/null 2>&16
if [ $size -gt 0 ]
then
echo "There are changes in the results since the last run" >> /cygdrive/c/outputCount.txt
else
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 \
email All < /cygdrive/c/outputCount.txt \
-s "Automated UPnP CTT test results" \
-a /cygdrive/c/upnpCttTestResults.zip \
-a /cygdrive/c/upnpDiffs.txt \
-a /cygdrive/c/upnpCttTestResultsSummary.csv
else
echo "No changes in the results since the last run" >> /cygdrive/c/outputCount.txt
email All < /cygdrive/c/outputCount.txt \
-s "Automated UPnP CTT test results" \
-a /cygdrive/c/upnpCttTestResults.zip \
-a /cygdrive/c/upnpCttTestResultsSummary.csv
fi
# Copy uctt file to SVN directory for checking in
mv /cygdrive/c/upnpCttTestResults.uctt "/cygdrive/c/Subversion/QA/upnp_ctt/MarketDMS Automated 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