2003-12-04 03:01:39 +01:00
|
|
|
#!/bin/sh
|
|
|
|
|
2004-03-25 00:40:06 +01:00
|
|
|
TOPSRCDIR="$1"
|
|
|
|
shift
|
|
|
|
|
2003-12-04 03:01:39 +01:00
|
|
|
echo "/* Automatically generated -- do not edit! */"
|
2004-06-16 00:45:15 +02:00
|
|
|
echo "#include \"resource.h\""
|
2003-12-04 03:01:39 +01:00
|
|
|
echo "STRINGTABLE {"
|
|
|
|
|
|
|
|
i=0
|
|
|
|
for test
|
|
|
|
do
|
|
|
|
echo "$i \"$test\""
|
2004-06-16 00:45:15 +02:00
|
|
|
i=`expr $i + 1`
|
2003-12-04 03:01:39 +01:00
|
|
|
done
|
2004-03-20 20:21:39 +01:00
|
|
|
|
2004-06-16 00:45:15 +02:00
|
|
|
i=0
|
2004-03-25 00:40:06 +01:00
|
|
|
cd $TOPSRCDIR
|
2006-06-27 11:17:22 +02:00
|
|
|
if [ -d .git ]
|
|
|
|
then
|
|
|
|
git-ls-files -c -s --abbrev=10 -- "dlls/*/tests/*.c" |\
|
|
|
|
sed -ne "s|^[0-7]* \([0-9a-f]*\) [0-9] \(.*\)$|\2:\1|p"
|
|
|
|
else
|
|
|
|
for dir in dlls/*/tests; do
|
|
|
|
sed -ne "s|^/\([^.]*.c\)/\([^/]*\).*|$dir/\1:\2|p" $dir/CVS/Entries 2>/dev/null
|
|
|
|
done
|
|
|
|
fi |\
|
|
|
|
while read line; do
|
|
|
|
echo "REV_INFO+$i \"$line\""
|
2004-03-25 00:40:06 +01:00
|
|
|
i=`expr $i + 1`
|
|
|
|
done
|
2004-03-20 20:21:39 +01:00
|
|
|
|
2003-12-04 03:01:39 +01:00
|
|
|
echo "}"
|
|
|
|
|
|
|
|
i=0
|
|
|
|
for test
|
|
|
|
do
|
2004-06-16 00:45:15 +02:00
|
|
|
echo "$i TESTRES \"$test\""
|
2003-12-30 20:09:25 +01:00
|
|
|
i=`expr $i + 1`
|
2003-12-04 03:01:39 +01:00
|
|
|
done
|