testcurl.pl(1) testcurl testcurl.pl(1)
NAME
testcurl.pl − (automatically) test curl
SYNOPSIS
testcurl.pl [options] [dir] > output
DESCRIPTION
testcurl.pl is the master script to use for automatic testing of curl offgit 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 (makesure the subject includes the
word "autobuild" as the mail gets silently discarded otherwise). The most current build status (with a rea-
sonable backlog) will be published on the curl site, at https://curl.haxx.se/dev/builds.html
options may be omitted. See --setup for what happens then.
dir is a curl source dir,possibly a daily snapshot one. Using this will maketestcurl.pl skip the ’buildconf ’
stage and thus it removesthe dependencyonautomake, autoconf, libtool, GNU m4 and possibly a few
other things.
testcurl.pl will run ’buildconf ’ (or similar), run configure, build curl and libcurl in a separate build directory
and then run ’maketest’ to test the fresh build.
OPTIONS
--configure=[options]
Configure options passed to configure.
--crosscompile
This is a cross-compile. Makes testcurl.pl skip a fewthings.
--desc=[desc]
Description of your test system. Displayed on the build summary page on the weba site.
--email=[email]
Set email address to report as. Displayed in the build logs on the site.
--mktarball=[command]
Generic command to run after completed test.
--name=[name]
Set name to report as. Displayed in the build summary on the site.
--nobuildconf
Don’trun buildconf. Useful when manybuilds 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 (likesev eral
hosts on a NFS mounted dir), simultaneous buildconf invokesmay cause problems. (Added in
7.14.1)
--nogitpull
Don’tupdate from git eventhough it is a git tree. Useful to still be able to test eventhough your
network is down, or similar.
--runtestopts=[options]
Options that is passed to the runtests.pl script. Useful for disabling valgrind by force, and similar.
--setup=[file name]
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 --name, --email, --configure and --desc instead.
--target=[your os]
Specify your target environment. Recognized strings include ’vc’, ’mingw32’, ’borland’ and ’net-
ware’.
Curl 7.20.1 24 Mar 2010 1
评论1
最新资源