new old winetests

Dimitrie O. Paun dpaun at rogers.com
Sat Nov 22 11:10:20 CST 2003


On November 22, 2003 11:45 am, Dimitrie O. Paun wrote:
> Yes, there was a problem. For unknown reasons, for msvcrt
> I get this:
> const char* subtests_for_test5[] = {
>     "cpp^M",
>     "file^M",
>     "heap^M",
>     "scanf^M",
> };

Here is the fix for this one (to maketests):

-           wine $filename | sed '1,/^Valid/d;s/    \(.*\)/    "\1",/'
+           wine $filename | sed '1,/^Valid/d;s/    \([0-9a-zA-Z_]*\)/    "\1",/'


BTW, there's no need to make the script bash specific,
we can use expr instead:

-    i=$(($i+1))
+    i=`expr $i + 1`

> > >    -- renames removeDir to remove_dir for consistency
> >
> > That function may be an overkill anyway. 

I think we need it. Tests will/may create test dirs, with test files,
and so on. We need to be able to wipe the slate clean.

-- 
Dimi.




More information about the wine-devel mailing list