wine/programs/winetest/maketest
Ferenc Wagner a122499a98 - Extract revision info from CVS/Entries.
- #include "winetest.rc" into gui.rc.  MinGW can't link in
  more than one resource files.
- Enlarge chunk size of network transfer.
2004-03-24 23:40:06 +00:00

40 lines
645 B
Bash
Executable File

#!/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
i=`expr $i + 1`
echo "$i \"$test\""
done
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
echo "}"
i=0
for test
do
i=`expr $i + 1`
echo "$i USERDATA \"$test\""
done