Alexandre Julliard : winetest: Also check for file size overflow occurring between tests.

Alexandre Julliard julliard at winehq.org
Thu Dec 27 06:08:23 CST 2018


Module: tools
Branch: master
Commit: 5579470f18ba8ce4014d441916777660577f4159
URL:    https://source.winehq.org/git/tools.git/?a=commit;h=5579470f18ba8ce4014d441916777660577f4159

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Thu Dec 27 13:06:20 2018 +0100

winetest: Also check for file size overflow occurring between tests.

Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 winetest/dissect | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/winetest/dissect b/winetest/dissect
index 24d5621..a468812 100755
--- a/winetest/dissect
+++ b/winetest/dissect
@@ -751,6 +751,8 @@ close_test_unit(1);
 close SUM or mydie "error writing to '$tmpdir/summary.txt': $!";
 close IN;
 
+mydie "report reached file size limit (runaway test?)" if -s $report >= $maxfilesize;
+
 
 #
 # Generate the 'DLL version' section of the info box




More information about the wine-cvs mailing list