runtests.pl: support option=no-include

This commit is contained in:
Daniel Stenberg
2011-08-04 17:36:00 +02:00
parent efc8ef7cc4
commit c4142034ff
2 changed files with 12 additions and 2 deletions

View File

@@ -2825,7 +2825,13 @@ sub singletest {
elsif(!$tool) {
# run curl, add --verbose for debug information output
$cmd = "-1 ".$cmd if(exists $feature{"SSL"} && ($has_axtls));
$cmdargs ="$out --include --verbose --trace-time $cmd";
my $inc="";
if((!$cmdhash{'option'}) || ($cmdhash{'option'} !~ /no-include/)) {
$inc = "--include ";
}
$cmdargs ="$out $inc--verbose --trace-time $cmd";
}
else {
$cmdargs = " $cmd"; # $cmd is the command line for the test file