f045996ac6
Monotone-Parent: ae0c0cd3dbc947562a3dbd28f513f46bcd28a5b4 Monotone-Revision: f6ec5191473f90384de5c3301569150128a2ae63 Monotone-Author: ludovic@Sophos.ca Monotone-Date: 2011-10-07T15:27:41 Monotone-Branch: ca.inverse.sogo
25 lines
367 B
Bash
Executable file
25 lines
367 B
Bash
Executable file
#!/bin/bash
|
|
|
|
TOPDIR=../..
|
|
RC=0
|
|
|
|
if [ ! -f teststrings ]
|
|
then
|
|
make
|
|
fi
|
|
|
|
for stringfile in ${TOPDIR}/*/*/*.lproj/Localizable.strings
|
|
do
|
|
./obj/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
|