diff options
author | Matt Johnston <matt@ucc.asn.au> | 2022-03-16 17:25:03 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2022-03-16 17:25:03 +0800 |
commit | b58f96526acb8bf9b333766499a6d758030d9fa9 (patch) | |
tree | 688a8927ded642f425accdb73c4f010f3d75b1b9 /.github | |
parent | 10875e8524b9d38c0ac278c872de697e416ebfac (diff) | |
download | dropbear-b58f96526acb8bf9b333766499a6d758030d9fa9.tar.gz |
Disable aslr pytest for fsanitize test platforms
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/build.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ba207ec..d474866 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -65,6 +65,8 @@ jobs: # 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 @@ jobs: # 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 @@ jobs: # 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 |