a134cbe2cb
Monotone-Parent: c80984a4695d7e15164ed59ed14c2b823311be38 Monotone-Revision: 986c53393f0caccafae8ec72f8b2d56477f587b6 Monotone-Author: jraby@inverse.ca Monotone-Date: 2011-05-20T19:46:13 Monotone-Branch: ca.inverse.sogo
25 lines
375 B
Bash
Executable file
25 lines
375 B
Bash
Executable file
#!/bin/bash
|
|
|
|
TOPDIR=../..
|
|
RC=0
|
|
|
|
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)";
|
|
RC=$(($RC+$code))
|
|
fi
|
|
done
|
|
|
|
exit $RC
|