Skip to content

Commit 7ab0f0d

Browse files
committed
do not run method on x86 as it may crash
1 parent f400830 commit 7ab0f0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test-app/app/src/main/assets/app/tests/exceptionHandlingTests.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ describe("Tests exception handling ", function () {
340340
});
341341

342342
// run this test only for API level bigger than 25 as we have handling there
343-
if(android.os.Build.VERSION.SDK_INT > 25) {
343+
if(android.os.Build.VERSION.SDK_INT > 25 && android.os.Build.CPU_ABI != "x86" && android.os.Build.CPU_ABI != "x86_64") {
344344
it("Should handle SIGABRT and throw a NativeScript exception when incorrectly calling JNI methods", function () {
345345
let myClassInstance = new com.tns.tests.MyTestBaseClass3();
346346
// public void callMeWithAString(java.lang.String[] stringArr, Runnable arbitraryInterface)

0 commit comments

Comments
 (0)