[oe-commits] [openembedded-core] 08/10: slang: modify an array test

git at git.openembedded.org git at git.openembedded.org
Thu Jun 6 11:13:18 UTC 2019

This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 5c196935b46e150fe72e035ac0f7628cd2d2a912
Author: Joe Slater <joe.slater at windriver.com>
AuthorDate: Wed Jun 5 15:50:40 2019 -0700

    slang: modify an array test
    One array test attempts to create an array that is far too
    large to exist.  Different exceptions are thrown for 32 and 64
    bit machines, so we account for that when catching them.
    Signed-off-by: Joe Slater <joe.slater at windriver.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
 meta/recipes-extended/slang/slang/array_test.patch | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

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 0000000..ccd416f
--- /dev/null
+++ b/meta/recipes-extended/slang/slang/array_test.patch
@@ -0,0 +1,20 @@
+slang: modify array test
+One array test tries to create an array that is far too large and anticipates an exception.
+IndexError will only be thrown for 64 bit machines, so we add InvalidParmError for 32 bit ones.
+Upstream-Status: Submitted [jedsoft.org]
+Signed-off-by: Joe Slater <joe.slater at windriver.com>
+--- a/src/test/array.sl
++++ b/src/test/array.sl
+@@ -165,7 +165,7 @@ try
+ {
+    SS = Long_Type[10000,10000,10000,10000,10000,10000];
+ }
+-catch IndexError;
++catch IndexError,InvalidParmError;
+ private define array_map2_func ()
+ {

To stop receiving notification emails like this one, please contact
the administrator of this repository.

More information about the Openembedded-commits mailing list