[llvm-commits] [test-suite] r109888 - in /test-suite/trunk/MultiSource/Applications/lemon: lemon.c lemon.reference_output
Jakob Stoklund Olesen
stoklund at 2pi.dk
Fri Jul 30 13:49:24 PDT 2010
Author: stoklund
Date: Fri Jul 30 15:49:24 2010
New Revision: 109888
URL: http://llvm.org/viewvc/llvm-project?rev=109888&view=rev
Log:
Don't print the number of parsing conflicts to stderr. The text gets merged with
stdout in a way that depends on the stdout buffer size, foiling reference
outputs.
Note that lem.nconflict is printed to stdout as well, so no test information is
lost.
Modified:
test-suite/trunk/MultiSource/Applications/lemon/lemon.c
test-suite/trunk/MultiSource/Applications/lemon/lemon.reference_output
Modified: test-suite/trunk/MultiSource/Applications/lemon/lemon.c
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/MultiSource/Applications/lemon/lemon.c?rev=109888&r1=109887&r2=109888&view=diff
==============================================================================
--- test-suite/trunk/MultiSource/Applications/lemon/lemon.c (original)
+++ test-suite/trunk/MultiSource/Applications/lemon/lemon.c Fri Jul 30 15:49:24 2010
@@ -1515,9 +1515,6 @@
printf(" %d states, %d parser table entries, %d conflicts\n",
lem.nstate, lem.tablesize, lem.nconflict);
}
- if( lem.nconflict ){
- fprintf(stderr,"%d parsing conflicts.\n",lem.nconflict);
- }
exit(lem.errorcnt + lem.nconflict);
return (lem.errorcnt + lem.nconflict);
}
Modified: test-suite/trunk/MultiSource/Applications/lemon/lemon.reference_output
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/MultiSource/Applications/lemon/lemon.reference_output?rev=109888&r1=109887&r2=109888&view=diff
==============================================================================
--- test-suite/trunk/MultiSource/Applications/lemon/lemon.reference_output (original)
+++ test-suite/trunk/MultiSource/Applications/lemon/lemon.reference_output Fri Jul 30 15:49:24 2010
@@ -1 +1 @@
-1ec0c020ebeb276de5d975275c657078
+b0e45716410d6ea87f60851c46267162
More information about the llvm-commits
mailing list