[xiph-commits] r15248 - trunk/xspf/testcase
sping at svn.xiph.org
sping at svn.xiph.org
Wed Sep 3 15:41:06 PDT 2008
Author: sping
Date: 2008-09-03 15:41:05 -0700 (Wed, 03 Sep 2008)
New Revision: 15248
Modified:
trunk/xspf/testcase/schema_test.sh
Log:
Sanity check
Modified: trunk/xspf/testcase/schema_test.sh
===================================================================
--- trunk/xspf/testcase/schema_test.sh 2008-09-03 00:09:22 UTC (rev 15247)
+++ trunk/xspf/testcase/schema_test.sh 2008-09-03 22:41:05 UTC (rev 15248)
@@ -76,6 +76,14 @@
if [ ! -f "${CHECK_PY}" ]; then
echo "ERROR: check.py missing" ; exit 1
fi
+"${CHECK_PY}" --shell&>/dev/null
+if [[ $? == 2 ]]; then
+ echo 'check.py sanity check failed:'
+ echo '----------------------------------------------------'
+ "${CHECK_PY}" --shell
+ echo '----------------------------------------------------'
+ exit 1
+fi
echo "check.py r"`svn info ${CHECK_PY} | grep "Revision:" | sed -r "s/Revision: (.+)/\1/"` >> ${LOG_FILE}
echo "" >> ${LOG_FILE}
More information about the commits
mailing list