diff options
| -rw-r--r-- | meta/recipes-extended/slang/slang/array_test.patch | 20 | ||||
| -rw-r--r-- | meta/recipes-extended/slang/slang_2.3.2.bb | 1 |
2 files changed, 21 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 | { | ||
diff --git a/meta/recipes-extended/slang/slang_2.3.2.bb b/meta/recipes-extended/slang/slang_2.3.2.bb index e329310937..99efb16da6 100644 --- a/meta/recipes-extended/slang/slang_2.3.2.bb +++ b/meta/recipes-extended/slang/slang_2.3.2.bb | |||
| @@ -19,6 +19,7 @@ SRC_URI = "http://www.jedsoft.org/releases/${BPN}/${BP}.tar.bz2 \ | |||
| 19 | file://dont-link-to-host.patch \ | 19 | file://dont-link-to-host.patch \ |
| 20 | file://test-add-output-in-the-format-result-testname.patch \ | 20 | file://test-add-output-in-the-format-result-testname.patch \ |
| 21 | file://terminfo_fixes.patch \ | 21 | file://terminfo_fixes.patch \ |
| 22 | file://array_test.patch \ | ||
| 22 | file://run-ptest \ | 23 | file://run-ptest \ |
| 23 | " | 24 | " |
| 24 | 25 | ||
