diff options
Diffstat (limited to 'meta/recipes-extended/slang/slang/array_test.patch')
-rw-r--r-- | meta/recipes-extended/slang/slang/array_test.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/meta/recipes-extended/slang/slang/array_test.patch b/meta/recipes-extended/slang/slang/array_test.patch new file mode 100644 index 0000000000..ccd416f207 --- /dev/null +++ b/meta/recipes-extended/slang/slang/array_test.patch | |||
@@ -0,0 +1,20 @@ | |||
1 | slang: modify array test | ||
2 | |||
3 | One array test tries to create an array that is far too large and anticipates an exception. | ||
4 | IndexError will only be thrown for 64 bit machines, so we add InvalidParmError for 32 bit ones. | ||
5 | |||
6 | Upstream-Status: Submitted [jedsoft.org] | ||
7 | |||
8 | Signed-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 | { | ||