------- Comment #9 from ebotcazou at gcc dot gnu dot org  2009-04-25 20:27 
-------
> Anyway, can you try
> sed -i -e 's,/==,/.=,' contrib/dg-extract-results.sh
> or
> sed -i -e 's,/==,/[=]=,' contrib/dg-extract-results.sh
> or
> sed -i -e 's,/==,/^.*==,' contrib/dg-extract-results.sh
> ?  I guess the last one would be best.

Thanks, the last one works.  But then nawk chokes on

  print > "${TMP}/chapter-"chapter

so I additionally need:

/^Running chapter / {
  if (chapter) close ("${TMP}/chapter-"chapter)
  chapter=\$3
  file="${TMP}/chapter-"chapter
  print >> file
  next
}

and

{
  if (print_prologue) { print; next }
  if (chapter) {
    file="${TMP}/chapter-"chapter
    print >> file
  }
}

With all the changes I get a correct ACATS log file (at least manually).


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39807

Reply via email to