Lines Matching full:line
75 print "** ERROR: special pattern not recognized: <<$type>>, CONSOLE_LOG line: $.\n";
83 print "** ERROR: $script_name internal error, at end of compare(), CONSOLE_LOG line: $.\n";
103 --line-num report line number of CONSOLE_LOG
135 <<all>> matches: anything to end of line
139 A prefix is added to every line of output:
141 'ok ' Line matches an enclosing EXPECT begin/end pair
143 '** ' Line reports $script_name warning or error
145 '-> ' Line reports start or end of the unittests
147 '>> ' Line reports a unittest test FAIL
155 --line-num causes the CONSOLE_LOG line number to be printed in 4 columns.
157 used to report the line number for lines greater than 9999 (eg for
171 "line-num" => \$print_line_num,
178 print STDERR "ERROR processing command line options\n";
220 # 'while ($line = <ARGV>) {' in the code below supports multiple file
221 # names on the command line, but the EXPECT statistics are reported
253 LINE:
254 while ($line = <ARGV>) {
256 chomp $line;
265 $timestamp = $line;
268 ($timestamp, $null) = split(/]/, $line);
276 $line =~ s/^\[\s*[0-9]+\.[0-9]*\] //;
281 if ($line =~ /^\s*$exp_begin/) {
282 $data = $line;
290 printf "%s %s%s%s\n", $prefix, $line_num, $timestamp, $line;
293 next LINE;
299 if ($line =~ /^\s*$exp_end/) {
300 $data = $line;
307 printf "%s %s%s%s\n", $prefix, $line_num, $timestamp, $line;
328 print " end ---> $line\n";
345 print " end ---> $line\n";
349 next LINE;
355 if ($line =~ /^\s*$expnot_begin/) {
356 $data = $line;
364 printf "%s %s%s%s\n", $prefix, $line_num, $timestamp, $line;
367 next LINE;
373 if ($line =~ /^\s*$expnot_end/) {
374 $data = $line;
381 printf "%s %s%s%s\n", $prefix, $line_num, $timestamp, $line;
400 print " end ---> $line\n";
410 printf "** %s%s$script_name WARNING - next line matches EXPECT_NOT\n",
412 printf "** %s%s%s\n", $line_num, $timestamp, $line;
428 print " end ---> $line\n";
433 next LINE;
437 # ----- not an EXPECT line
439 if (($line =~ /^${pr_fmt}start of unittest - you will see error messages$/) ||
440 ($line =~ /^${pr_fmt}end of unittest - [0-9]+ passed, [0-9]+ failed$/ ) ) {
442 } elsif ($line =~ /^${pr_fmt}FAIL /) {
449 if (compare($begin, $line)) {
457 while (! compare($begin, $line)) {
461 push @exp_found_or_begin, $line;
472 if (compare($begin, $line)) {
480 while (! compare($begin, $line)) {
484 push @expnot_found_or_begin, $line;
494 next LINE;
501 printf "%s %s%s%s\n", $prefix, $line_num, $timestamp, $line;