sogo/Tests/Integration/teststrings.sh
Wolfgang Sourdeau 5e94a939a8 Monotone-Parent: 766baf56d74d898b08d6a686cdd909e3825d8e2f
Monotone-Revision: 808d40a88677de09c4168d17acc5946afe8e9813

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2010-11-03T14:27:31
Monotone-Branch: ca.inverse.sogo
2010-11-03 14:27:31 +00:00

21 lines
339 B
Bash
Executable file

#!/bin/sh
TOPDIR=../..
if [ ! -f teststrings ]
then
make teststrings
fi
for stringfile in ${TOPDIR}/*/*/*.lproj/Localizable.strings
do
./teststrings "$stringfile" > /dev/null
code=$?
if test $code -eq 0;
then
echo "$stringfile: passed";
else
echo "$stringfile: failed (code: $code)";
fi
done