version 1.5, 2002/09/10 21:27:36 |
version 1.6, 2002/09/11 08:49:36 |
|
|
<head> |
<head> |
<meta http-equiv="content-type" content="text/html; charset=UTF-8"> |
<meta http-equiv="content-type" content="text/html; charset=UTF-8"> |
|
|
<title>OpenBSD Port's Testing Guide</title> |
<title>OpenBSD Port Testing Guide</title> |
</head> |
</head> |
|
|
<body text="#000000" bgcolor="#FFFFFF" link="#23238E"> |
<body text="#000000" bgcolor="#FFFFFF" link="#23238E"> |
<a href="index.html"><img alt="[OpenBSD]" height="30" width="141" src= |
<a href="index.html"><img alt="[OpenBSD]" height="30" width="141" src= |
"images/smalltitle.gif" border="0"></a> |
"images/smalltitle.gif" border="0"></a> |
|
|
<h2><font color="#e00000">Port's Testing Guide</font></h2> |
<h2><font color="#e00000">Port Testing Guide</font></h2> |
<hr> |
<hr> |
|
|
<h2><font color="#0000e0">Index</font></h2> |
<h2><font color="#0000e0">Index</font></h2> |
|
|
<h2><a name="How"><font color="#0000e0">How</font></a></h2> |
<h2><a name="How"><font color="#0000e0">How</font></a></h2> |
|
|
<p>Simply by testing submitted updates or new ports which are posted on |
<p>Simply by testing submitted updates or new ports which are posted on |
<a href="mailto:ports@openbsd.org">ports@openbsd.org</a>. By doing this |
<a href="mail.html">ports mailing list</a>. By doing this |
you reduce the latency of commits and also increase the number of ports to |
you reduce the latency of commits and also increase the number of ports to |
be committed (many ports are not committed because of lack of testing!).</p> |
be committed (many ports are not committed because of lack of testing!).</p> |
|
|
|
|
instructions on following current <a href="anoncvs.html">source</a> and |
instructions on following current <a href="anoncvs.html">source</a> and |
<a href="faq/upgrade-minifaq.html">upgrade faq</a>. When it's done you |
<a href="faq/upgrade-minifaq.html">upgrade faq</a>. When it's done you |
are ready to follow <a href= |
are ready to follow <a href= |
"mailto:ports@openbsd.org">ports@openbsd.org</a> .</p> |
"mail.html">ports mailing list</a> .</p> |
|
|
<h2><a name="Testing"><font color="#0000e0">Testing</font></a></h2> |
<h2><a name="Testing"><font color="#0000e0">Testing</font></a></h2> |
|
|
|
|
and apply the diff to prevent breaking your tree.</p> |
and apply the diff to prevent breaking your tree.</p> |
|
|
<p>You will need to perform step-by-step the building of the port to |
<p>You will need to perform step-by-step the building of the port to |
verify that every <a href= |
verify that every target (see |
"http://www.openbsd.org/cgi-bin/man.cgi?query=ports&sektion=7&format=html">target</a> is going correctly :</p> |
<a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ports&sektion=7&"> |
|
ports(7)</a>) is going correctly :</p> |
|
|
<ul> |
<ul> |
<li>fetch : You just need to verify that distfile(s) are correctly |
<li>fetch : You just need to verify that distfile(s) are correctly |
|
|
|
|
<li>build : The build itself should not give errors but could contain |
<li>build : The build itself should not give errors but could contain |
minor warnings about <a href= |
minor warnings about <a href= |
"http://www.openbsd.org/cgi-bin/man.cgi?query=tmpnam&sektion=0&format=html">tmpnam</a> issues to be resolved by using <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=mkstemp&sektion=0&format=html">mkstemp</a>.</li> |
"http://www.openbsd.org/cgi-bin/man.cgi?query=tmpnam&sektion=3&"> |
|
tmpnam(3)</a> issues to be resolved by using |
|
<a href="http://www.openbsd.org/cgi-bin/man.cgi?query=mkstemp&sektion=3&"> |
|
mkstemp(3)</a>.</li> |
|
|
<li>fake : This target is faking installation of the package to prepare |
<li>fake : This target is faking installation of the package to prepare |
for packaging. You should verify that files are installed in fake |
for packaging. You should verify that files are installed in fake |
|
|
<tr> |
<tr> |
<td nowrap bgcolor="#EEEEEE"> |
<td nowrap bgcolor="#EEEEEE"> |
<pre> |
<pre> |
# make install | /usr/ports/infrastructure/build/portslogger |
# make install | /usr/ports/infrastructure/build/portslogger . |
</pre> |
</pre> |
</td> |
</td> |
</tr> |
</tr> |