summaryrefslogtreecommitdiffhomepage
path: root/test/unit/option.py
diff options
context:
space:
mode:
authorAndrei Zeliankou <zelenkov@nginx.com>2024-02-07 16:22:18 +0000
committerandrey-zelenkov <xim.andrew@gmail.com>2024-02-21 17:40:25 +0000
commit99da2f3c8e689341a83c9432e0692160c1d8316d (patch)
treef6e876f92c6616f90a3f6c3f0c530dfd622f7ffa /test/unit/option.py
parent7883acc62df64023dc8900298d65218b96d36ec7 (diff)
downloadunit-99da2f3c8e689341a83c9432e0692160c1d8316d.tar.gz
unit-99da2f3c8e689341a83c9432e0692160c1d8316d.tar.bz2
Tests: check for the AddressSanitizer flag during discovery
This flag is necessary to either run or skip certain tests that have specific behavior depending on whether AddressSanitizer is enabled. For instance, some tests may fail only when the binary is compiled with AddressSanitizer.
Diffstat (limited to 'test/unit/option.py')
-rw-r--r--test/unit/option.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/unit/option.py b/test/unit/option.py
index ee1f46dd..7c66c619 100644
--- a/test/unit/option.py
+++ b/test/unit/option.py
@@ -6,6 +6,7 @@ class Options:
_options = {
'architecture': platform.architecture()[0],
'available': {'modules': {}, 'features': {}},
+ 'configure_flag': {},
'is_privileged': os.geteuid() == 0,
'skip_alerts': [],
'skip_sanitizer': False,