summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorWilliam Godbe <wigodbe@microsoft.com>2016-03-21 15:37:10 -0700
committerWilliam Godbe <wigodbe@microsoft.com>2016-03-21 15:37:10 -0700
commit0dbc5078010500386c1ddef0c0c452e9c94dc85a (patch)
tree8e471b3c3a77cb7a7505340d3bb2eb6cd7d7f657 /tests
parent09b6bf06fdd69d6f5450685fadf479b1fbf9f3a9 (diff)
parent1493edbb852879b35509308284143f24cc8002c0 (diff)
downloadcoreclr-0dbc5078010500386c1ddef0c0c452e9c94dc85a.tar.gz
coreclr-0dbc5078010500386c1ddef0c0c452e9c94dc85a.tar.bz2
coreclr-0dbc5078010500386c1ddef0c0c452e9c94dc85a.zip
Merge pull request #3840 from wtgodbe/HardwareEh
Disable OutOfMemoryException test in HardwareEh test
Diffstat (limited to 'tests')
-rw-r--r--tests/src/baseservices/exceptions/simple/HardwareEh.cs6
-rw-r--r--tests/testsFailingOutsideWindows.txt1
2 files changed, 3 insertions, 4 deletions
diff --git a/tests/src/baseservices/exceptions/simple/HardwareEh.cs b/tests/src/baseservices/exceptions/simple/HardwareEh.cs
index 216c4697cc..3d5cd9a2ad 100644
--- a/tests/src/baseservices/exceptions/simple/HardwareEh.cs
+++ b/tests/src/baseservices/exceptions/simple/HardwareEh.cs
@@ -59,7 +59,7 @@ public class HardwareEh
retVal = PosTest9() && retVal;
// The current stack overflow behavior is to rip the process
// retVal = PosTest10() && retVal;
- retVal = PosTest11() && retVal;
+// retVal = PosTest11() && retVal;
retVal = PosTest12() && retVal;
retVal = PosTest13() && retVal;
retVal = PosTest14() && retVal;
@@ -115,7 +115,7 @@ public class HardwareEh
public bool PosTest8() { return ExceptionTest(8, "OverflowException (int64)", typeof(OverflowException), new TestDelegate(ILHelper.Int64Overflow) ); }
public bool PosTest9() { return ExceptionTest(9, "OverflowException (int32)", typeof(OverflowException), new TestDelegate(ILHelper.Int32Overflow) ); }
// public bool PosTest10() { return ExceptionTest(10, "StackOverflow", typeof(StackOverflowException), new TestDelegate( GobbleStack )); }
- public bool PosTest11() { return ExceptionTest(11, "OutOfMemory", typeof(OutOfMemoryException),
+/* public bool PosTest11() { return ExceptionTest(11, "OutOfMemory", typeof(OutOfMemoryException),
delegate()
{
List<object> list;
@@ -125,7 +125,7 @@ public class HardwareEh
// allocate memory (86 meg chunks)
list.Add( new byte[8388608]);
}
- } ); }
+ } ); } */
public bool PosTest12() { return ExceptionTest(12, "IndexOutOfRange (single dim [less than])", typeof(IndexOutOfRangeException),
delegate()
{
diff --git a/tests/testsFailingOutsideWindows.txt b/tests/testsFailingOutsideWindows.txt
index 43d7189fb9..039c7841f2 100644
--- a/tests/testsFailingOutsideWindows.txt
+++ b/tests/testsFailingOutsideWindows.txt
@@ -1,4 +1,3 @@
-baseservices/exceptions/simple/HardwareEH/HardwareEH.sh
baseservices/exceptions/unittests/EHPatternTests/EHPatternTests.sh
baseservices/threading/paramthreadstart/ThreadStartString_1/ThreadStartString_1.sh
CoreMangLib/cti/system/multicastdelegate/MulticastDelegateCtor/MulticastDelegateCtor.sh