.\" * $Id$
.\" **************************************************************************
.\"
-.TH testcurl.pl 1 "15 Mar 2005" "Curl 7.13.2" "testcurl"
+.TH testcurl.pl 1 "20 May 2005" "Curl 7.14.1" "testcurl"
.SH NAME
testcurl.pl \- (automatically) test curl
.SH SYNOPSIS
Generic command to run after completed test.
.IP "--name=[name]"
Set name to report as. Displayed in the build summary on the site.
+.IP "--nobuildconf"
+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)
.IP "--nocvsup"
Don't update from CVS even though it is a CVS tree. Useful to still be able to
test even though your network is down, or similar.
# --mktarball=[command] Command to run after completed test
# --name=[name] Set name to report as
# --nocvsup Don't update from CVS even though it is a CVS tree
+# --nobuildconf Don't run buildconf
# --runtestopts=[options] Options to pass to runtests.pl
# --setup=[file name] File name to read setup from (deprecated)
# --target=[your os] Specify your target environment.
$buildlogname $configurebuild $targetos $confsuffix $binext
$libext);
use vars qw($name $email $desc $confopts $runtestopts $setupfile $mktarball
- $nocvsup $crosscompile);
+ $nocvsup $nobuildconf $crosscompile);
# version of this script
$version='$Revision$';
$nocvsup=1;
shift @ARGV;
}
+ elsif ($ARGV[0] =~ /--nobuildconf/) {
+ $nobuildconf=1;
+ shift @ARGV;
+ }
elsif ($ARGV[0] =~ /--crosscompile/) {
$crosscompile=1;
shift @ARGV;
mydie "failed to update from CVS ($cvsstat), exiting";
}
- # remove possible left-overs from the past
- unlink "configure";
- unlink "autom4te.cache";
+ if($nobuildconf) {
+ logit "told to not run buildconf";
+ }
+ elsif ($configurebuild) {
+ # remove possible left-overs from the past
+ unlink "configure";
+ unlink "autom4te.cache";
- if ($configurebuild) {
# generate the build files
logit "invoke buildconf, but filter off the silly aclocal warnings";
open(F, "./buildconf 2>&1 |") or die;
if ($configurebuild) {
if (-f "configure") {
- logit "configure created";
+ logit "configure created (at least it exists)";
} else {
- mydie "no configure created";
+ mydie "no configure created/found";
}
} else {
logit "configure created (dummy message)"; # dummy message to feign success