# HG changeset patch # User Matt Johnston # Date 1647422703 -28800 # Node ID e128d6bc3d8f836b251dd6cf8152fcd574b87d33 # Parent 5d8dbb6fdab7a6d33c0da772532f6ce85f75f692 Disable aslr pytest for fsanitize test platforms diff -r 5d8dbb6fdab7 -r e128d6bc3d8f .github/workflows/build.yml --- a/.github/workflows/build.yml Wed Mar 16 17:17:23 2022 +0800 +++ b/.github/workflows/build.yml Wed Mar 16 17:25:03 2022 +0800 @@ -65,6 +65,8 @@ # configure_flags: --enable-fuzz --disable-harden --enable-bundled-libtom --enable-werror # ldflags: -fsanitize=address # extracflags: -fsanitize=address + # # -fsanitize=address prevents aslr, don't test it + # pytest_addopts: -k "not aslr" # fuzz: True # cc: clang @@ -74,6 +76,7 @@ # ldflags: -fsanitize=undefined # # don't fail with alignment due to https://github.com/libtom/libtomcrypt/issues/549 # extracflags: -fsanitize=undefined -fno-sanitize-recover=undefined -fsanitize-recover=alignment + # pytest_addopts: -k "not aslr" # fuzz: True # cc: clang @@ -86,6 +89,8 @@ # for fuzzing CXX: clang++ RANLIB: ${{ matrix.ranlib || 'ranlib' }} + # pytest in "make check" recognises this for extra arguments + PYTEST_ADDOPTS: ${{ matrix.pytest_addopts }} # some pytests depend on special setup from this file. see authorized_keys below. DBTEST_IN_ACTION: true