Lines Matching refs:testnum
617 my ($testcmd, $testnum, $gdbline) = @_;
696 $valgrindcmd .= "${valgrind_logfile}=$LOGDIR/valgrind$testnum";
722 my @e = valgrindparse("$LOGDIR/valgrind$testnum");
725 logmsg "FAIL: torture $testnum - valgrind\n";
2740 my ($testnum, $testname, $subject, $firstref, $secondref)=@_;
2746 $timevrfyend{$testnum} = Time::HiRes::time();
2749 logmsg "\n $testnum: $subject FAILED:\n";
2757 logmsg "FAIL: $testnum - $testname - $subject\n";
3339 my $testnum = $_[0];
3341 return if((not defined($testnum)) || ($testnum < 1));
3345 if($timevrfyend{$testnum}) {
3348 elsif($timesrvrlog{$testnum}) {
3349 $timevrfyend{$testnum} = $timesrvrlog{$testnum};
3352 elsif($timetoolend{$testnum}) {
3353 $timevrfyend{$testnum} = $timetoolend{$testnum};
3354 $timesrvrlog{$testnum} = $timetoolend{$testnum};
3356 elsif($timetoolini{$testnum}) {
3357 $timevrfyend{$testnum} = $timetoolini{$testnum};
3358 $timesrvrlog{$testnum} = $timetoolini{$testnum};
3359 $timetoolend{$testnum} = $timetoolini{$testnum};
3361 elsif($timesrvrend{$testnum}) {
3362 $timevrfyend{$testnum} = $timesrvrend{$testnum};
3363 $timesrvrlog{$testnum} = $timesrvrend{$testnum};
3364 $timetoolend{$testnum} = $timesrvrend{$testnum};
3365 $timetoolini{$testnum} = $timesrvrend{$testnum};
3367 elsif($timesrvrini{$testnum}) {
3368 $timevrfyend{$testnum} = $timesrvrini{$testnum};
3369 $timesrvrlog{$testnum} = $timesrvrini{$testnum};
3370 $timetoolend{$testnum} = $timesrvrini{$testnum};
3371 $timetoolini{$testnum} = $timesrvrini{$testnum};
3372 $timesrvrend{$testnum} = $timesrvrini{$testnum};
3374 elsif($timeprepini{$testnum}) {
3375 $timevrfyend{$testnum} = $timeprepini{$testnum};
3376 $timesrvrlog{$testnum} = $timeprepini{$testnum};
3377 $timetoolend{$testnum} = $timeprepini{$testnum};
3378 $timetoolini{$testnum} = $timeprepini{$testnum};
3379 $timesrvrend{$testnum} = $timeprepini{$testnum};
3380 $timesrvrini{$testnum} = $timeprepini{$testnum};
3391 $testnum,
3406 $testnumcheck = $testnum;
3409 $timeprepini{$testnum} = Time::HiRes::time();
3411 if($disttests !~ /test$testnum\W/ ) {
3412 logmsg "Warning: test$testnum not present in tests/data/Makefile.inc\n";
3414 if($disabled{$testnum}) {
3415 logmsg "Warning: test$testnum is explicitly disabled\n";
3417 if($ignored{$testnum}) {
3418 logmsg "Warning: test$testnum result is ignored\n";
3423 if(loadtest("${TESTDIR}/test${testnum}")) {
3426 logmsg "RUN: $testnum doesn't look like a test case\n";
3489 logmsg "Warning: test$testnum result is ignored due to $k\n";
3523 $AZURE_RESULT_ID = azure_create_test_result($VCURL, $AZURE_RUN_ID, $testnum, $testname);
3526 appveyor_create_test_result($VCURL, $testnum, $testname);
3533 $timesrvrini{$testnum} = Time::HiRes::time();
3536 $why = serverfortest($testnum);
3542 my $otest = "log/test$testnum";
3561 loadtest("log/test${testnum}") if($diff);
3564 $timesrvrend{$testnum} = Time::HiRes::time();
3633 $teststat[$testnum]=$why; # store reason for this test case
3638 logmsg sprintf("test %04d SKIPPED: $why\n", $testnum);
3642 timestampskippedevents($testnum);
3645 logmsg sprintf("test %04d...", $testnum) if(!$automakestyle);
3692 $STDOUT="$LOGDIR/stdout$testnum";
3693 $STDERR="$LOGDIR/stderr$testnum";
3712 my $CURLOUT="$LOGDIR/curl$testnum.out"; # curl output if not stdout
3718 timestampskippedevents($testnum);
3736 push @ftpservercmd, "Testnum $testnum\n";
3766 timestampskippedevents($testnum);
3837 $cmdargs .= "--trace log/trace$testnum ";
3840 $cmdargs .= "--trace-ascii log/trace$testnum ";
3855 $tool="unit$testnum";
3867 timestampskippedevents($testnum);
3888 my $stdinfile="$LOGDIR/stdin-for-$testnum";
3916 $valgrindcmd .= "${valgrind_logfile}=$LOGDIR/valgrind$testnum";
3937 my $gdbinit = "$TESTDIR/gdbinit$testnum";
3946 $timetoolini{$testnum} = Time::HiRes::time();
3951 $testnum,
3974 $timetoolend{$testnum} = Time::HiRes::time();
4024 $timesrvrlog{$testnum} = Time::HiRes::time();
4051 $timevrfyend{$testnum} = Time::HiRes::time();
4072 $timevrfyend{$testnum} = Time::HiRes::time();
4122 $res = compare($testnum, $testname, "stdout", \@actual, \@validstdout);
4173 $res = compare($testnum, $testname, "stderr", \@actual, \@validstderr);
4220 logmsg "\n $testnum: protocol FAILED!\n".
4226 $res = compare($testnum, $testname, "protocol", \@out, \@protstrip);
4241 $res = compare($testnum, $testname, "data", \@out, \@reply);
4253 my @out = loadarray("$LOGDIR/upload.$testnum");
4265 $res = compare($testnum, $testname, "upload", \@out, \@upload);
4311 $res = compare($testnum, $testname, "proxy", \@out, \@protstrip);
4336 $timevrfyend{$testnum} = Time::HiRes::time();
4368 $res = compare($testnum, $testname, "output ($filename)",
4400 $timevrfyend{$testnum} = Time::HiRes::time();
4423 $timevrfyend{$testnum} = Time::HiRes::time();
4440 $timevrfyend{$testnum} = Time::HiRes::time();
4447 if($file =~ /^valgrind$testnum(\..*|)$/) {
4453 logmsg "ERROR: valgrind log file missing for test $testnum\n";
4455 $timevrfyend{$testnum} = Time::HiRes::time();
4461 logmsg "FAIL: $testnum - $testname - valgrind\n";
4468 $timevrfyend{$testnum} = Time::HiRes::time();
4489 $timevrfyend{$testnum} = Time::HiRes::time();
4497 my $took = $timevrfyend{$testnum} - $timeprepini{$testnum};
4505 logmsg "PASS: $testnum - $testname\n";
4509 logmsg "Warning: test$testnum result is ignored, but passed!\n";
5000 my ($testnum)=@_;
5005 warn "Test case $testnum has no server(s) specified";
5061 for my $testnum (1 .. $lasttest) {
5062 if($timesrvrini{$testnum}) {
5063 $timesrvrtot += $timesrvrend{$testnum} - $timesrvrini{$testnum};
5065 (($timetoolini{$testnum} - $timeprepini{$testnum}) -
5066 ($timesrvrend{$testnum} - $timesrvrini{$testnum}));
5067 $timetooltot += $timetoolend{$testnum} - $timetoolini{$testnum};
5068 $timelocktot += $timesrvrlog{$testnum} - $timetoolend{$testnum};
5069 $timevrfytot += $timevrfyend{$testnum} - $timesrvrlog{$testnum};
5070 $timetesttot += $timevrfyend{$testnum} - $timeprepini{$testnum};
5072 $timesrvrend{$testnum} - $timesrvrini{$testnum}, $testnum);
5074 ($timetoolini{$testnum} - $timeprepini{$testnum}) -
5075 ($timesrvrend{$testnum} - $timesrvrini{$testnum}), $testnum);
5077 $timetoolend{$testnum} - $timetoolini{$testnum}, $testnum);
5079 $timesrvrlog{$testnum} - $timetoolend{$testnum}, $testnum);
5081 $timevrfyend{$testnum} - $timesrvrlog{$testnum}, $testnum);
5083 $timevrfyend{$testnum} - $timeprepini{$testnum}, $testnum);
5625 my ($testnum)=@_;
5631 logmsg "== Contents of files in the $LOGDIR/ dir after test $testnum\n";
5645 if(($log =~ /^stdout\d+/) && ($log !~ /^stdout$testnum/)) {
5648 if(($log =~ /^stderr\d+/) && ($log !~ /^stderr$testnum/)) {
5651 if(($log =~ /^upload\d+/) && ($log !~ /^upload$testnum/)) {
5654 if(($log =~ /^curl\d+\.out/) && ($log !~ /^curl$testnum\.out/)) {
5657 if(($log =~ /^test\d+\.txt/) && ($log !~ /^test$testnum\.txt/)) {
5660 if(($log =~ /^file\d+\.txt/) && ($log !~ /^file$testnum\.txt/)) {
5663 if(($log =~ /^netrc\d+/) && ($log !~ /^netrc$testnum/)) {
5666 if(($log =~ /^trace\d+/) && ($log !~ /^trace$testnum/)) {
5669 if(($log =~ /^valgrind\d+/) && ($log !~ /^valgrind$testnum(\..*|)$/)) {
5672 if(($log =~ /^test$testnum$/)) {
5695 my $testnum;
5705 foreach $testnum (@at) {
5707 $lasttest = $testnum if($testnum > $lasttest);
5710 my $error = singletest($run_event_based, $testnum, $count, scalar(@at));
5714 …URE_RESULT_ID = azure_update_test_result($VCURL, $AZURE_RUN_ID, $AZURE_RESULT_ID, $testnum, $error,
5715 $timeprepini{$testnum}, $timevrfyend{$testnum});
5718 …appveyor_update_test_result($VCURL, $testnum, $error, $timeprepini{$testnum}, $timevrfyend{$testnu…
5731 $failed.= "($testnum) ";
5734 $failed.= "$testnum ";
5738 displaylogs($testnum);