~ubuntu-dev/mplayer/ubuntu-feisty

« back to all changes in this revision

Viewing changes to DOCS/HTML/en/bugreports_regression_test.html

  • Committer: Reinhard Tartler
  • Date: 2006-07-08 08:47:54 UTC
  • Revision ID: siretart@tauware.de-20060708084754-c3ff228cc9c2d8de
upgrade to pre8

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>B.2.�How to do regression testing using CVS</title><link rel="stylesheet" href="default.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.68.1"><link rel="start" href="index.html" title="MPlayer - The Movie Player"><link rel="up" href="bugreports.html" title="Appendix�B.�How to report bugs"><link rel="prev" href="bugreports_fix.html" title="B.1.�How to fix bugs"><link rel="next" href="bugreports_report.html" title="B.3.�How to report bugs"><link rel="preface" href="howtoread.html" title="How to read this documentation"><link rel="chapter" href="intro.html" title="Chapter�1.�Introduction"><link rel="chapter" href="install.html" title="Chapter�2.�Installation"><link rel="chapter" href="usage.html" title="Chapter�3.�Usage"><link rel="chapter" href="cd-dvd.html" title="Chapter�4.�CD/DVD usage"><link rel="chapter" href="faq.html" title="Chapter�5.�Frequently Asked Questions"><link rel="chapter" href="containers.html" title="Chapter�6.�Containers"><link rel="chapter" href="codecs.html" title="Chapter�7.�Codecs"><link rel="chapter" href="video.html" title="Chapter�8.�Video output devices"><link rel="chapter" href="audio.html" title="Chapter�9.�Audio output devices"><link rel="chapter" href="tv.html" title="Chapter�10.�TV"><link rel="chapter" href="ports.html" title="Chapter�11.�Ports"><link rel="chapter" href="mencoder.html" title="Chapter�12.�Basic usage of MEncoder"><link rel="chapter" href="encoding-guide.html" title="Chapter�13.�Encoding with MEncoder"><link rel="appendix" href="mailinglists.html" title="Appendix�A.�Mailing lists"><link rel="appendix" href="bugreports.html" title="Appendix�B.�How to report bugs"><link rel="appendix" href="bugs.html" title="Appendix�C.�Known bugs"><link rel="appendix" href="skin.html" title="Appendix�D.�MPlayer skin format"><link rel="appendix" href="users-vs-dev.html" title="Appendix�E.�Developer cries"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">B.2.�How to do regression testing using CVS</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="bugreports_fix.html">Prev</a>�</td><th width="60%" align="center">Appendix�B.�How to report bugs</th><td width="20%" align="right">�<a accesskey="n" href="bugreports_report.html">Next</a></td></tr></table><hr></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="bugreports_regression_test"></a>B.2.�How to do regression testing using CVS</h2></div></div></div><p>
 
1
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>B.3.�How to do regression testing using Subversion</title><link rel="stylesheet" href="default.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.68.1"><link rel="start" href="index.html" title="MPlayer - The Movie Player"><link rel="up" href="bugreports.html" title="Appendix�B.�How to report bugs"><link rel="prev" href="bugreports_fix.html" title="B.2.�How to fix bugs"><link rel="next" href="bugreports_report.html" title="B.4.�How to report bugs"><link rel="preface" href="howtoread.html" title="How to read this documentation"><link rel="chapter" href="intro.html" title="Chapter�1.�Introduction"><link rel="chapter" href="install.html" title="Chapter�2.�Installation"><link rel="chapter" href="usage.html" title="Chapter�3.�Usage"><link rel="chapter" href="cd-dvd.html" title="Chapter�4.�CD/DVD usage"><link rel="chapter" href="faq.html" title="Chapter�5.�Frequently Asked Questions"><link rel="chapter" href="containers.html" title="Chapter�6.�Containers"><link rel="chapter" href="codecs.html" title="Chapter�7.�Codecs"><link rel="chapter" href="video.html" title="Chapter�8.�Video output devices"><link rel="chapter" href="audio.html" title="Chapter�9.�Audio output devices"><link rel="chapter" href="tv.html" title="Chapter�10.�TV"><link rel="chapter" href="ports.html" title="Chapter�11.�Ports"><link rel="chapter" href="mencoder.html" title="Chapter�12.�Basic usage of MEncoder"><link rel="chapter" href="encoding-guide.html" title="Chapter�13.�Encoding with MEncoder"><link rel="appendix" href="mailinglists.html" title="Appendix�A.�Mailing lists"><link rel="appendix" href="bugreports.html" title="Appendix�B.�How to report bugs"><link rel="appendix" href="bugs.html" title="Appendix�C.�Known bugs"><link rel="appendix" href="skin.html" title="Appendix�D.�MPlayer skin format"><link rel="appendix" href="users-vs-dev.html" title="Appendix�E.�Developer cries"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">B.3.�How to do regression testing using Subversion</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="bugreports_fix.html">Prev</a>�</td><th width="60%" align="center">Appendix�B.�How to report bugs</th><td width="20%" align="right">�<a accesskey="n" href="bugreports_report.html">Next</a></td></tr></table><hr></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="bugreports_regression_test"></a>B.3.�How to do regression testing using Subversion</h2></div></div></div><p>
2
2
A problem that can happen sometimes is 'it used to work before, now it
3
3
doesn't anymore...'.
4
4
Here is a step by step procedure to try to pinpoint when the problem
5
5
occurred. This is <span class="bold"><strong>not</strong></span> for casual users.
6
6
</p><p>
7
 
First, you'd need to fetch MPlayer's source tree from CVS.
 
7
First, you'd need to fetch MPlayer's source tree from Subversion.
8
8
Instructions can be found at the bottom of
9
 
<a href="http://www.mplayerhq.hu/homepage/dload.html" target="_top">this page</a>.
 
9
<a href="http://www.mplayerhq.hu/dload.html" target="_top">this page</a>.
10
10
</p><p>
11
 
You will have now in the main/ directory an image of the CVS tree, on the
 
11
You will have now in the mplayer/ directory an image of the Subversion tree, on the
12
12
client side.
13
13
Now update this image to the date you want:
14
14
</p><pre class="screen">
15
 
cd main/
16
 
cvs update -PAd -D "2004-08-23"
 
15
cd mplayer/
 
16
svn update -r {"2004-08-23"}
17
17
</pre><p>
18
18
The date format is YYYY-MM-DD HH:MM:SS.
19
19
Using this date format ensure that you will be able to extract patches
28
28
</p><p>
29
29
If any non-programmer reads this, the fastest method to get at the point
30
30
where the problem occurred is to use a binary search &#8212; that is,
31
 
search the date of the breackage by repeatedly dividing the search
 
31
search the date of the breakage by repeatedly dividing the search
32
32
interval in half.
33
33
For example, if the problem occurred in 2003, start at mid-year, then ask
34
34
"Is the problem already here?".
45
45
back to the present.)
46
46
</p><p>
47
47
When you have found the day where the problem happened, continue the search
48
 
using the mplayer-cvslog archive (sorted by date) and a more precise cvs
 
48
using the mplayer-cvslog archive (sorted by date) and a more precise svn
49
49
update including hour, minute and second:
50
50
</p><pre class="screen">
51
 
cvs update -PAd -D "2004-08-23 15:17:25"
 
51
svn update -r {"2004-08-23 15:17:25"}
52
52
</pre><p>
53
53
This will allow you to easily find the exact patch that did it.
54
54
</p><p>
61
61
There is a chance that the author will jump in to suggest a fix.
62
62
You may also look hard at the patch until it is coerced to reveal where
63
63
the bug is :-).
64
 
</p></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="bugreports_fix.html">Prev</a>�</td><td width="20%" align="center"><a accesskey="u" href="bugreports.html">Up</a></td><td width="40%" align="right">�<a accesskey="n" href="bugreports_report.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">B.1.�How to fix bugs�</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">�B.3.�How to report bugs</td></tr></table></div></body></html>
 
64
</p></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="bugreports_fix.html">Prev</a>�</td><td width="20%" align="center"><a accesskey="u" href="bugreports.html">Up</a></td><td width="40%" align="right">�<a accesskey="n" href="bugreports_report.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">B.2.�How to fix bugs�</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">�B.4.�How to report bugs</td></tr></table></div></body></html>