blob: ccd416f207288f28f7f2b1754f8c99654e261497 [file] [log] [blame]
Brad Bishop15ae2502019-06-18 21:44:24 -04001slang: modify array test
2
3One array test tries to create an array that is far too large and anticipates an exception.
4IndexError will only be thrown for 64 bit machines, so we add InvalidParmError for 32 bit ones.
5
6Upstream-Status: Submitted [jedsoft.org]
7
8Signed-off-by: Joe Slater <joe.slater@windriver.com>
9
10--- a/src/test/array.sl
11+++ b/src/test/array.sl
12@@ -165,7 +165,7 @@ try
13 {
14 SS = Long_Type[10000,10000,10000,10000,10000,10000];
15 }
16-catch IndexError;
17+catch IndexError,InvalidParmError;
18
19 private define array_map2_func ()
20 {