mirror of
https://github.com/reactos/reactos.git
synced 2024-11-10 00:34:39 +00:00
107c3d29cb
-sync winetest to WINE-rc1 -add a rbuild file for winetest (not added to build yet) note: minor winetest modifications should be made like loading tests from a folder at startup svn path=/trunk/; revision=33556
25 lines
498 B
Bash
25 lines
498 B
Bash
#!/bin/sh
|
|
|
|
TOPSRCDIR="$1"
|
|
shift
|
|
|
|
echo "/* Automatically generated -- do not edit! */"
|
|
echo "STRINGTABLE {"
|
|
|
|
i=0
|
|
cd $TOPSRCDIR
|
|
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\""
|
|
i=`expr $i + 1`
|
|
done
|
|
|
|
echo "}"
|