Sweden-Number/programs/winetest/maketest

40 lines
645 B
Plaintext
Raw Normal View History

#!/bin/sh
if [ -z "$WINE_BUILD" ]; then
WINE_BUILD="`date +%Y%m%d.%H%M-auto`"
echo "warning: using automatically generated BUILD tag: $WINE_BUILD" 1>&2
fi
TOPSRCDIR="$1"
shift
echo "/* Automatically generated -- do not edit! */"
echo "STRINGTABLE {"
echo "0 \"$WINE_BUILD\""
i=0
for test
do
2003-12-30 20:09:25 +01:00
i=`expr $i + 1`
echo "$i \"$test\""
done
2004-03-20 20:21:39 +01:00
i=30000
cd $TOPSRCDIR
for dir in dlls/*/tests; do
sed -ne "s|^/\([^.]*.c\)/\([^/]*\).*|$dir/\1:\2|p" $dir/CVS/Entries 2>/dev/null
done |\
while read; do
echo "$i \"$REPLY\""
i=`expr $i + 1`
done
2004-03-20 20:21:39 +01:00
echo "}"
i=0
for test
do
2003-12-30 20:09:25 +01:00
i=`expr $i + 1`
echo "$i USERDATA \"$test\""
done