<div dir="ltr">Thanks, Amos!<div><br></div><div style>One more question. I see <span style="font-family:arial,sans-serif;font-size:12.727272033691406px">test-builds.sh tries to run the tests in the "test-suites" at the top directory. What's the difference between the test under "</span><span style="font-family:arial,sans-serif;font-size:12.727272033691406px">src/tests</span><span style="font-family:arial,sans-serif;font-size:12.727272033691406px">" and "test-suites"? </span></div><div style><span style="font-family:arial,sans-serif;font-size:12.727272033691406px"><br></span></div><div style><span style="font-family:arial,sans-serif;font-size:12.727272033691406px">I'm a little bit confused since you said the tests in "src/tests" contains all the unit tests.</span></div><div style><span style="font-family:arial,sans-serif;font-size:12.727272033691406px"><br></span></div><div style><span style="font-family:arial,sans-serif;font-size:12.727272033691406px">Also, I can successfully ran make check. But when I checked out the trunk and ran ./</span><span style="font-family:arial,sans-serif;font-size:12.727272033691406px">test-builds.sh at the top directory, many tests fail. Is this normal? (sorry I actually do not understand what "test-suites" does)</span></div><div style><span style="font-family:arial,sans-serif;font-size:12.727272033691406px"><br></span></div><div style><font face="arial, sans-serif">Oh, I forget to mention the web page I referred to. Actually I'm referring to the "</font><span style="font-family:arial,sans-serif;font-size:12.727272033691406px">tasks needing a volunteer</span><font face="arial, sans-serif">" in the following wiki page,</font></div><div style><a href="http://wiki.squid-cache.org/Features/CodeTestBed">http://wiki.squid-cache.org/Features/CodeTestBed</a></div><div style>Are these tasks still alive? Since I'm looking at the tests, I think I can give a hand.</div><div style><br></div><div style>~t</div><div style><br></div><div style><br></div><div style><br></div><div style><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 13, 2014 at 8:54 PM, Amos Jeffries <span dir="ltr"><<a href="mailto:squid3@treenet.co.nz" target="_blank">squid3@treenet.co.nz</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<span class=""><br>
On 14/10/2014 2:39 p.m., Tianyin Xu wrote:<br>
> Hi all,<br>
><br>
> Could anyone point me how to run the unit tests of Squid?<br>
><br>
> I think the "src/tests" contains all the unit tests available, am I<br>
> right?<br>
><br>
<br>
</span>Yes, that contains all the unit-tests. A standard autotools "make<br>
check" runs those for any copy of the code.<br>
<br>
If you are building from a repository checkout you will also have the<br>
test-builds.sh script at the top directory. Running that will execute<br>
a longer set of tests with several permutations of ./configure options.<br>
<br>
NP: the full test suite can take 1-6hrs depending on your CPU speed.<br>
<span class=""><br>
<br>
> But I failed to find information related to how to conduct these<br>
> tests.<br>
><br>
> Also, I see a couple of "tasks needing a volunteer." Does it still<br>
> need to be done or it's obsolete?<br>
<br>
</span>If you are referring to <a href="http://wiki.squid-cache.org/RoadMap/Tasks" target="_blank">http://wiki.squid-cache.org/RoadMap/Tasks</a> then<br>
yes, all those tasks still need to be completed.<br>
<br>
It is also just a small set of the items that we/I think need doing<br>
first to make the code generally easier to read and work with. If<br>
there is any other thing in particular you want to help get fixed up<br>
instead all ideas are welcome (there are ~400 open bugs for example).<br>
<br>
Thank you for your assistance with Squid.<br>
Amos<br>
<br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v2.0.22 (MingW32)<br>
<br>
iQEcBAEBAgAGBQJUPJ5zAAoJELJo5wb/XPRjQYwH/1AU0GzmEZLy6pyGfdmDbJkT<br>
ndDbSCCwDTobY0h4IK5dpbfi9ZQZef5S+QN6+iB8OCNIe/VZ/p6pmW++EyYcFt3t<br>
sKHfVfsdx5H4Ecwo5Yh5ia1EW2LwfqxNesh+5KOuyTTFcLVEDYSsz8ZZTxbbVamy<br>
KOqvhJvH1zwcv/8DTRnbkyZyR1ixuA4/mNlcI8kDNB22E0G+6p6tmnGOIgW+32IJ<br>
Qv2CkCNOLW5895onlWFyDdKfRseKkWNxlrJxTFio32fFrafgoOLYWjKNz+cOssdX<br>
9l/BWuqfjLdOne2idSzVADmL/Wf0JFhWqlPj5ZpUI8GLMYKGFabiqBdcOrLrSBk=<br>
=XCxo<br>
-----END PGP SIGNATURE-----<br>
_______________________________________________<br>
squid-dev mailing list<br>
<a href="mailto:squid-dev@lists.squid-cache.org">squid-dev@lists.squid-cache.org</a><br>
<a href="http://lists.squid-cache.org/listinfo/squid-dev" target="_blank">http://lists.squid-cache.org/listinfo/squid-dev</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><span style="border-collapse:separate;color:rgb(0,0,0);font-family:'Times New Roman';font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:medium"><span style="color:rgb(102,102,102);font-family:arial;font-size:small">Tianyin XU,<br><a href="http://cseweb.ucsd.edu/%7Etixu/" target="_blank">http://cseweb.ucsd.edu/~tixu/</a></span></span>
</div></div>