Skip to content

Commit

Permalink
disable armv7 because of NULL input parameter failures
Browse files Browse the repository at this point in the history
Signed-off-by: Hans Zandbelt <[email protected]>
  • Loading branch information
zandbelt committed Jun 6, 2024
1 parent 67a803c commit 1c9bbeb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/archs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,10 @@ jobs:
strategy:
matrix:
include:
#test/check_cache.c:74:F:core:test_cache_redis:0: Assertion 'value == ((void *)0)' failed: value == 0x4006a290, ((void *)0) == 0
#test/check_nginx.c:106:E:core:test_request_context:0: (after this point) Received signal 11 (Segmentation fault)
#test/check_nginx.c:118:E:core:test_nginx_http_response_set:0: (after this point) Received signal 11 (Segmentation fault)
- arch: armv7
distro: ubuntu_latest
nginx_version: 1.24.0
# passing literal NULL as a function input paramter does not seem to work on armv7; need compile flag??
# - arch: armv7
# distro: ubuntu_latest
# nginx_version: 1.24.0
- arch: aarch64
distro: ubuntu_latest
nginx_version: 1.24.0
Expand Down
5 changes: 2 additions & 3 deletions test/check_jose.c
Original file line number Diff line number Diff line change
Expand Up @@ -250,9 +250,8 @@ START_TEST(test_jwt_encrypt)
ck_assert_int_eq(rc, false);
ck_assert_ptr_eq(cser, NULL);

// TODO: fails on armv7??
//rc = oauth2_jose_jwt_encrypt(_log, secret1, payload1, NULL);
//ck_assert_int_eq(rc, false);
rc = oauth2_jose_jwt_encrypt(_log, secret1, payload1, NULL);
ck_assert_int_eq(rc, false);
}
END_TEST

Expand Down

0 comments on commit 1c9bbeb

Please sign in to comment.