You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucy.apache.org by ma...@apache.org on 2011/10/23 18:38:46 UTC
[lucy-commits] svn commit: r1187922 -
/incubator/lucy/branches/clownfish_lemon/clownfish/buildlib/Clownfish/Build.pm
Author: marvin
Date: Sun Oct 23 16:38:45 2011
New Revision: 1187922
URL: http://svn.apache.org/viewvc?rev=1187922&view=rev
Log:
Generate Lemon report file.
Instead of suppressing the generation of the report file by lemon, create it
and then clean it up.
Modified:
incubator/lucy/branches/clownfish_lemon/clownfish/buildlib/Clownfish/Build.pm
Modified: incubator/lucy/branches/clownfish_lemon/clownfish/buildlib/Clownfish/Build.pm
URL: http://svn.apache.org/viewvc/incubator/lucy/branches/clownfish_lemon/clownfish/buildlib/Clownfish/Build.pm?rev=1187922&r1=1187921&r2=1187922&view=diff
==============================================================================
--- incubator/lucy/branches/clownfish_lemon/clownfish/buildlib/Clownfish/Build.pm (original)
+++ incubator/lucy/branches/clownfish_lemon/clownfish/buildlib/Clownfish/Build.pm Sun Oct 23 16:38:45 2011
@@ -107,7 +107,10 @@ sub ACTION_parsers {
$h_file =~ s/\.y$/.h/ or die "no match";
next if $self->up_to_date( $y_file, $c_file );
$self->add_to_cleanup( $c_file, $h_file );
- system( $LEMON_EXE_PATH, '-c', '-q', $y_file ) and die "lemon failed";
+ my $lemon_report_file = $y_file;
+ $lemon_report_file =~ s/\.y$/.out/ or die "no match";
+ $self->add_to_cleanup($lemon_report_file);
+ system( $LEMON_EXE_PATH, '-c', $y_file ) and die "lemon failed";
}
}