[PATCH] testsuite: MultiSource/Benchmarks/Trimaran/netbench-url
robert lytton
robert at xmos.com
Thu Feb 13 11:52:39 PST 2014
Replace stderr with stdout to make deterministic
(xcore does not buffer output streams)
http://llvm-reviews.chandlerc.com/D2786
Files:
MultiSource/Benchmarks/Trimaran/netbench-url/netbench-url.reference_output
MultiSource/Benchmarks/Trimaran/netbench-url/netbench-url.reference_output.small
MultiSource/Benchmarks/Trimaran/netbench-url/url.c
Index: MultiSource/Benchmarks/Trimaran/netbench-url/netbench-url.reference_output
===================================================================
--- MultiSource/Benchmarks/Trimaran/netbench-url/netbench-url.reference_output
+++ MultiSource/Benchmarks/Trimaran/netbench-url/netbench-url.reference_output
@@ -1,3 +1,3 @@
-URL finished for 900 packets
URL table initialized, reading packets...
+URL finished for 900 packets
exit 0
Index: MultiSource/Benchmarks/Trimaran/netbench-url/netbench-url.reference_output.small
===================================================================
--- MultiSource/Benchmarks/Trimaran/netbench-url/netbench-url.reference_output.small
+++ MultiSource/Benchmarks/Trimaran/netbench-url/netbench-url.reference_output.small
@@ -1,3 +1,3 @@
-URL finished for 100 packets
URL table initialized, reading packets...
+URL finished for 100 packets
exit 0
Index: MultiSource/Benchmarks/Trimaran/netbench-url/url.c
===================================================================
--- MultiSource/Benchmarks/Trimaran/netbench-url/url.c
+++ MultiSource/Benchmarks/Trimaran/netbench-url/url.c
@@ -142,6 +142,6 @@
free(packet);
}
- fprintf (stderr, "URL finished for %d packets \n", num_packets);
+ fprintf (stdout, "URL finished for %d packets\n", num_packets);
return 0;
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D2786.1.patch
Type: text/x-patch
Size: 1331 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140213/b444009b/attachment.bin>
More information about the llvm-commits
mailing list