• Home
  • Raw
  • Download

Lines Matching refs:testnum

2314     my ($testnum, $testname, $subject, $firstref, $secondref)=@_;
2320 $timevrfyend{$testnum} = Time::HiRes::time() if($timestats);
2323 logmsg "\n $testnum: $subject FAILED:\n";
2331 logmsg "FAIL: $testnum - $testname - $subject\n";
2813 my $testnum = $_[0];
2815 return if((not defined($testnum)) || ($testnum < 1));
2819 if($timevrfyend{$testnum}) {
2822 elsif($timesrvrlog{$testnum}) {
2823 $timevrfyend{$testnum} = $timesrvrlog{$testnum};
2826 elsif($timetoolend{$testnum}) {
2827 $timevrfyend{$testnum} = $timetoolend{$testnum};
2828 $timesrvrlog{$testnum} = $timetoolend{$testnum};
2830 elsif($timetoolini{$testnum}) {
2831 $timevrfyend{$testnum} = $timetoolini{$testnum};
2832 $timesrvrlog{$testnum} = $timetoolini{$testnum};
2833 $timetoolend{$testnum} = $timetoolini{$testnum};
2835 elsif($timesrvrend{$testnum}) {
2836 $timevrfyend{$testnum} = $timesrvrend{$testnum};
2837 $timesrvrlog{$testnum} = $timesrvrend{$testnum};
2838 $timetoolend{$testnum} = $timesrvrend{$testnum};
2839 $timetoolini{$testnum} = $timesrvrend{$testnum};
2841 elsif($timesrvrini{$testnum}) {
2842 $timevrfyend{$testnum} = $timesrvrini{$testnum};
2843 $timesrvrlog{$testnum} = $timesrvrini{$testnum};
2844 $timetoolend{$testnum} = $timesrvrini{$testnum};
2845 $timetoolini{$testnum} = $timesrvrini{$testnum};
2846 $timesrvrend{$testnum} = $timesrvrini{$testnum};
2848 elsif($timeprepini{$testnum}) {
2849 $timevrfyend{$testnum} = $timeprepini{$testnum};
2850 $timesrvrlog{$testnum} = $timeprepini{$testnum};
2851 $timetoolend{$testnum} = $timeprepini{$testnum};
2852 $timetoolini{$testnum} = $timeprepini{$testnum};
2853 $timesrvrend{$testnum} = $timeprepini{$testnum};
2854 $timesrvrini{$testnum} = $timeprepini{$testnum};
2865 $testnum,
2877 $testnumcheck = $testnum;
2880 $timeprepini{$testnum} = Time::HiRes::time() if($timestats);
2882 if($disttests !~ /test$testnum\W/ ) {
2883 logmsg "Warning: test$testnum not present in tests/data/Makefile.inc\n";
2885 if($disabled{$testnum}) {
2886 logmsg "Warning: test$testnum is explicitly disabled\n";
2890 if(loadtest("${TESTDIR}/test${testnum}")) {
2893 logmsg "RUN: $testnum doesn't look like a test case\n";
3241 $timesrvrini{$testnum} = Time::HiRes::time() if($timestats);
3244 $why = serverfortest($testnum);
3248 $timesrvrend{$testnum} = Time::HiRes::time() if($timestats);
3321 $teststat[$testnum]=$why; # store reason for this test case
3326 logmsg sprintf("test %04d SKIPPED: $why\n", $testnum);
3330 timestampskippedevents($testnum);
3333 logmsg sprintf("test %04d...", $testnum) if(!$automakestyle);
3396 $STDOUT="$LOGDIR/stdout$testnum";
3397 $STDERR="$LOGDIR/stderr$testnum";
3408 my $CURLOUT="$LOGDIR/curl$testnum.out"; # curl output if not stdout
3417 timestampskippedevents($testnum);
3464 timestampskippedevents($testnum);
3531 $cmdargs .= "--trace-ascii log/trace$testnum ";
3552 timestampskippedevents($testnum);
3573 my $stdinfile="$LOGDIR/stdin-for-$testnum";
3601 $valgrindcmd .= "${valgrind_logfile}=$LOGDIR/valgrind$testnum";
3629 timestampskippedevents($testnum);
3635 my $gdbinit = "$TESTDIR/gdbinit$testnum";
3644 $timetoolini{$testnum} = Time::HiRes::time() if($timestats);
3671 $timetoolend{$testnum} = Time::HiRes::time() if($timestats);
3721 $timesrvrlog{$testnum} = Time::HiRes::time() if($timestats);
3806 $timevrfyend{$testnum} = Time::HiRes::time() if($timestats);
3830 $timevrfyend{$testnum} = Time::HiRes::time() if($timestats);
3880 $res = compare($testnum, $testname, "stdout", \@actual, \@validstdout);
3925 $res = compare($testnum, $testname, "protocol", \@out, \@protstrip);
3940 $res = compare($testnum, $testname, "data", \@out, \@reply);
3952 my @out = loadarray("$LOGDIR/upload.$testnum");
3953 $res = compare($testnum, $testname, "upload", \@out, \@upload);
3999 $res = compare($testnum, $testname, "proxy", \@out, \@protstrip);
4024 $timevrfyend{$testnum} = Time::HiRes::time() if($timestats);
4056 $res = compare($testnum, $testname, "output ($filename)",
4088 $timevrfyend{$testnum} = Time::HiRes::time() if($timestats);
4111 $timevrfyend{$testnum} = Time::HiRes::time() if($timestats);
4128 $timevrfyend{$testnum} = Time::HiRes::time() if($timestats);
4135 if($file =~ /^valgrind$testnum(\..*|)$/) {
4141 logmsg "ERROR: valgrind log file missing for test $testnum\n";
4143 $timevrfyend{$testnum} = Time::HiRes::time() if($timestats);
4149 logmsg "FAIL: $testnum - $testname - valgrind\n";
4156 $timevrfyend{$testnum} = Time::HiRes::time() if($timestats);
4187 logmsg "PASS: $testnum - $testname\n";
4196 $timevrfyend{$testnum} = Time::HiRes::time() if($timestats);
4662 my ($testnum)=@_;
4667 warn "Test case $testnum has no server(s) specified";
4723 for my $testnum (1 .. $lasttest) {
4724 if($timesrvrini{$testnum}) {
4725 $timesrvrtot += $timesrvrend{$testnum} - $timesrvrini{$testnum};
4727 (($timetoolini{$testnum} - $timeprepini{$testnum}) -
4728 ($timesrvrend{$testnum} - $timesrvrini{$testnum}));
4729 $timetooltot += $timetoolend{$testnum} - $timetoolini{$testnum};
4730 $timelocktot += $timesrvrlog{$testnum} - $timetoolend{$testnum};
4731 $timevrfytot += $timevrfyend{$testnum} - $timesrvrlog{$testnum};
4732 $timetesttot += $timevrfyend{$testnum} - $timeprepini{$testnum};
4734 $timesrvrend{$testnum} - $timesrvrini{$testnum}, $testnum);
4736 ($timetoolini{$testnum} - $timeprepini{$testnum}) -
4737 ($timesrvrend{$testnum} - $timesrvrini{$testnum}), $testnum);
4739 $timetoolend{$testnum} - $timetoolini{$testnum}, $testnum);
4741 $timesrvrlog{$testnum} - $timetoolend{$testnum}, $testnum);
4743 $timevrfyend{$testnum} - $timesrvrlog{$testnum}, $testnum);
4745 $timevrfyend{$testnum} - $timeprepini{$testnum}, $testnum);
5239 my ($testnum)=@_;
5245 logmsg "== Contents of files in the $LOGDIR/ dir after test $testnum\n";
5259 if(($log =~ /^stdout\d+/) && ($log !~ /^stdout$testnum/)) {
5262 if(($log =~ /^stderr\d+/) && ($log !~ /^stderr$testnum/)) {
5265 if(($log =~ /^upload\d+/) && ($log !~ /^upload$testnum/)) {
5268 if(($log =~ /^curl\d+\.out/) && ($log !~ /^curl$testnum\.out/)) {
5271 if(($log =~ /^test\d+\.txt/) && ($log !~ /^test$testnum\.txt/)) {
5274 if(($log =~ /^file\d+\.txt/) && ($log !~ /^file$testnum\.txt/)) {
5277 if(($log =~ /^netrc\d+/) && ($log !~ /^netrc$testnum/)) {
5280 if(($log =~ /^trace\d+/) && ($log !~ /^trace$testnum/)) {
5283 if(($log =~ /^valgrind\d+/) && ($log !~ /^valgrind$testnum(\..*|)$/)) {
5297 my $testnum;
5306 foreach $testnum (@at) {
5308 $lasttest = $testnum if($testnum > $lasttest);
5311 my $error = singletest($run_event_based, $testnum, $count, scalar(@at));
5320 $failed.= "$testnum ";
5323 displaylogs($testnum);