Regression testing questions...

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
James Huk

Regression testing questions...

Post by James Huk »

OK, today I got a few questions about regression testing.

1.Is there a way to get exact patch using git and regression testing? I
mean, if I found that, as in tutorial:

a460a2df43aa8eae10b1db028c6020829b009c54 is first bad commit
commit a460a2df43aa8eae10b1db028c6020829b009c54
Author: Stefan Doesinger <[email protected]>
Date: Sat Jun 9 14:27:41 2007 +0200
wined3d: Store the gl information in a per adapter structure and initialize
it only once.
:040000 040000 d8ae35832fcdbca8de07acae73b9e21564ced413
1720cc38fb598110071c9ee4f21f8f61b6f764c3 M dlls

can I get exact .patch file from this somehow?

2.Is there a way (other then installation of older distros on Virtual
machines) to fix compilation problems with older wine versions? I got good
wine-0.9.15 (yes, I know it is very old...) and bad 0.9.16 and compilation
fails on newer distros (works fine on Ubuntu 6.06 for example).

3,If as above – wine where regression occurred is rather old, and I know
that to this day this regression is still present – should I test with wine
good 0.9.15 and bad 0.9.16 or good 0.9.15 and current git as bad?

Thanks in advance and sorry for my English ;]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-us ... chment.htm>
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

Regression testing questions...

Post by austin987 »

On Fri, Apr 17, 2009 at 6:01 PM, James Huk <[email protected]> wrote:
OK, today I got a few questions about regression testing.

1.Is there a way to get exact patch using git and regression testing? I
mean, if I found that, as in tutorial:

a460a2df43aa8eae10b1db028c6020829b009c54 is first bad commit
commit a460a2df43aa8eae10b1db028c6020829b009c54
Author: Stefan Doesinger <[email protected]>
Date: Sat Jun 9 14:27:41 2007 +0200
wined3d: Store the gl information in a per adapter structure and initialize
it only once.
:040000 040000 d8ae35832fcdbca8de07acae73b9e21564ced413
1720cc38fb598110071c9ee4f21f8f61b6f764c3 M dlls

can I get exact .patch file from this somehow?
$ git show a460a2df43aa8eae10b1db028c6020829b009c54 > foobar.patch
2.Is there a way (other then installation of older distros on Virtual
machines) to fix compilation problems with older wine versions? I got good
wine-0.9.15 (yes, I know it is very old...) and bad 0.9.16 and compilation
fails on newer distros (works fine on Ubuntu 6.06 for example).
http://wiki.winehq.org/ReverseRegressionTesting
3,If as above – wine where regression occurred is rather old, and I know
that to this day this regression is still present – should I test with wine
good 0.9.15 and bad 0.9.16 or good 0.9.15 and current git as bad?
Use 0.9.16, it's _a lot_ less to test.

--
-Austin
Locked