Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
TLMSP curl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CYBER - Cyber Security
TS 103 523 MSP
TLMSP
TLMSP curl
Commits
bee7b874
Commit
bee7b874
authored
19 years ago
by
Daniel Stenberg
Browse files
Options
Downloads
Patches
Plain Diff
added -nobuildconf
parent
9c3fc592
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tests/testcurl.1
+6
-1
6 additions, 1 deletion
tests/testcurl.1
tests/testcurl.pl
+15
-7
15 additions, 7 deletions
tests/testcurl.pl
with
21 additions
and
8 deletions
tests/testcurl.1
+
6
−
1
View file @
bee7b874
...
...
@@ -21,7 +21,7 @@
.\" * $Id$
.\" **************************************************************************
.\"
.TH testcurl.pl 1 "
15
Ma
r
2005" "Curl 7.1
3.2
" "testcurl"
.TH testcurl.pl 1 "
20
Ma
y
2005" "Curl 7.1
4.1
" "testcurl"
.SH NAME
testcurl.pl \- (automatically) test curl
.SH SYNOPSIS
...
...
@@ -58,6 +58,11 @@ Set email address to report as. Displayed in the build logs on the site.
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.
...
...
This diff is collapsed.
Click to expand it.
tests/testcurl.pl
+
15
−
7
View file @
bee7b874
...
...
@@ -46,6 +46,7 @@
# --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.
...
...
@@ -64,7 +65,7 @@ use vars qw($version $fixed $infixed $CURLDIR $CVS $pwd $build $buildlog
$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$
';
...
...
@@ -101,6 +102,10 @@ while ($ARGV[0]) {
$nocvsup
=
1
;
shift
@ARGV
;
}
elsif
(
$ARGV
[
0
]
=~
/--nobuildconf/
)
{
$nobuildconf
=
1
;
shift
@ARGV
;
}
elsif
(
$ARGV
[
0
]
=~
/--crosscompile/
)
{
$crosscompile
=
1
;
shift
@ARGV
;
...
...
@@ -348,11 +353,14 @@ if ($CVS) {
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
;
...
...
@@ -395,9 +403,9 @@ if ($CVS) {
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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment