From ed360ca42f9908e5d8da5e8f4742b07d0b148b17 Mon Sep 17 00:00:00 2001 From: apnadkarni Date: Mon, 27 Feb 2023 03:13:38 +0000 Subject: Add perf constraint to large io tests to prevent memory faults on systems with limited memory --- tests/io.test | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/io.test b/tests/io.test index 20b240f..c245add 100644 --- a/tests/io.test +++ b/tests/io.test @@ -196,7 +196,7 @@ test io-1.9 {Tcl_WriteChars: WriteChars} { } {19 19 19 19 19} test io-1.10 {WriteChars: large file (> INT_MAX). Bug 3d01d51bc4} -constraints { - pointerIs64bit + pointerIs64bit perf } -setup { set tmpfile [file join [temporaryDirectory] io-1.10.tmp] } -cleanup { @@ -209,7 +209,7 @@ test io-1.10 {WriteChars: large file (> INT_MAX). Bug 3d01d51bc4} -constraints { file size $tmpfile } -result 2147483648 test io-1.11 {WriteChars: large file (> UINT_MAX). Bug 3d01d51bc4} -constraints { - pointerIs64bit + pointerIs64bit perf } -setup { set tmpfile [file join [temporaryDirectory] io-1.11.tmp] } -cleanup { @@ -222,7 +222,7 @@ test io-1.11 {WriteChars: large file (> UINT_MAX). Bug 3d01d51bc4} -constraints file size $tmpfile } -result 4294967296 test io-1.12 {WriteChars: large file (== UINT_MAX). Bug 90ff9b7f73} -constraints { - pointerIs64bit + pointerIs64bit perf } -setup { set tmpfile [file join [temporaryDirectory] io-1.12.tmp] } -cleanup { @@ -279,7 +279,7 @@ test io-2.4 {WriteBytes: reset sawLF after each buffer} { } [list "abcdefg\nhijklmno" "abcdefg\nhijklmnopqrstuvwxyz"] test io-2.5 {WriteBytes: large file (> INT_MAX). Bug 3d01d51bc4} -constraints { - pointerIs64bit + pointerIs64bit perf } -setup { set tmpfile [file join [temporaryDirectory] io-2.5.tmp] } -cleanup { @@ -292,7 +292,7 @@ test io-2.5 {WriteBytes: large file (> INT_MAX). Bug 3d01d51bc4} -constraints { file size $tmpfile } -result 2147483648 test io-2.6 {WriteBytes: large file (> UINT_MAX). Bug 3d01d51bc4} -constraints { - pointerIs64bit + pointerIs64bit perf } -setup { set tmpfile [file join [temporaryDirectory] io-2.6.tmp] } -cleanup { @@ -305,7 +305,7 @@ test io-2.6 {WriteBytes: large file (> UINT_MAX). Bug 3d01d51bc4} -constraints { file size $tmpfile } -result 4294967296 test io-2.7 {WriteBytes: large file (== UINT_MAX). Bug 90ff9b7f73} -constraints { - pointerIs64bit + pointerIs64bit perf } -setup { set tmpfile [file join [temporaryDirectory] io-2.7.tmp] } -cleanup { -- cgit v0.12