<pclass="level0"><spanClass="emphasis">testcurl.pl</span> is the master script to use for automatic testing of curl off git or daily snapshots. It is written for the purpose of being run from a crontab job or similar at a regular interval. The output is suitable to be mailed to curl-autocompile@haxx.se to be dealt with automatically (make sure the subject includes the word "autobuild" as the mail gets silently discarded otherwise). The most current build status (with a reasonable backlog) will be published on the curl site, at <ahref="http://curl.haxx.se/auto/">http://curl.haxx.se/auto/</a>
<pclass="level0"><spanClass="emphasis">options</span> may be omitted. See <spanClass="emphasis">--setup</span> for what happens then.
<pclass="level0"><spanClass="emphasis">dir</span> is a curl source dir, possibly a daily snapshot one. Using this will make testcurl.pl skip the 'buildconf' stage and thus it removes the dependency on automake, autoconf, libtool, GNU m4 and possibly a few other things.
<pclass="level0">testcurl.pl will run 'buildconf' (or similar), run configure, build curl and libcurl in a separate build directory and then run 'make test' to test the fresh build. <aname="OPTIONS"></a><h2class="nroffsh">OPTIONS</h2>
<pclass="level1">Don't run buildconf. Useful when many builds use the same source tree, as then only one need to do this. Also, if multiple processes run tests simultaneously on the same source tree (like several hosts on a NFS mounted dir), simultaneous buildconf invokes may cause problems. (Added in 7.14.1)
<pclass="level1">File name to read setup from (deprecated). The old style of providing info. If info is missing when testcurl.pl is started, it will prompt you and then store the info in a 'setup' file, which it will look for on each invoke. Use <spanClass="emphasis">--name</span>, <spanClass="emphasis">--email</span>, <spanClass="emphasis">--configure</span> and <spanClass="emphasis">--desc</span> instead.
<pclass="level1">Specify your target environment. Recognized strings include 'vc', 'mingw32', 'borland' and 'netware'. <aname="INITIAL"></a><h2class="nroffsh">INITIAL SETUP</h2>
<pclass="level0">First you make a checkout from git (or you write a script that downloads daily snapshots automatically, find inspiration at <ahref="http://curl.haxx.se/auto/autocurl.txt">http://curl.haxx.se/auto/autocurl.txt</a>):
<pclass="level0">With the curl sources checked out, or downloaded, you can start testing right away. If you want to use <spanClass="emphasis">testcurl.pl</span> without command line arguments and to have it store and remember the config in its 'setup' file, then start it manually now and fill in the answers to the questions it prompts you for:
<pclass="level0">Now you are ready to go. If you let the script run, it will perform a full cycle and spit out lots of output. Mail us that output as described above. <aname="CRONTAB"></a><h2class="nroffsh">CRONTAB EXAMPLE</h2>