diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2020-10-15 10:40:23 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-10-15 10:40:23 +0200 |
commit | b2700811f3fa701a14701fc1a9e629f468e7d8a1 (patch) | |
tree | 3ac99d2afc31062edf81d44cfce9139d7e192a55 | |
parent | 682cc42900aa2f9705d6d04c586a2aa47e99be43 (diff) | |
download | php-git-b2700811f3fa701a14701fc1a9e629f468e7d8a1.tar.gz |
Skip arginfo test under msan
Msan is missing interceptors for some functions that result in
false positives.
-rw-r--r-- | Zend/tests/arginfo_zpp_mismatch.phpt | 4 | ||||
-rw-r--r-- | azure-pipelines.yml | 2 | ||||
-rwxr-xr-x | run-tests.php | 4 |
3 files changed, 9 insertions, 1 deletions
diff --git a/Zend/tests/arginfo_zpp_mismatch.phpt b/Zend/tests/arginfo_zpp_mismatch.phpt index cd37fbf33a..2a9522a6de 100644 --- a/Zend/tests/arginfo_zpp_mismatch.phpt +++ b/Zend/tests/arginfo_zpp_mismatch.phpt @@ -1,5 +1,9 @@ --TEST-- Test that there is no arginfo/zpp mismatch +--SKIPIF-- +<?php +if (getenv('SKIP_MSAN')) die("skip msan misses interceptors for some functions"); +?> --FILE-- <?php diff --git a/azure-pipelines.yml b/azure-pipelines.yml index beb512c735..e962dad8aa 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -84,7 +84,7 @@ jobs: parameters: configurationName: DEBUG_ZTS_MSAN configurationParameters: '--enable-debug --enable-zts' - runTestsParameters: --asan + runTestsParameters: --msan timeoutInMinutes: 90 - template: azure/community_job.yml parameters: diff --git a/run-tests.php b/run-tests.php index 761ef949fe..011885c678 100755 --- a/run-tests.php +++ b/run-tests.php @@ -608,10 +608,14 @@ function main(): void $shuffle = true; break; case '--asan': + case '--msan': $environment['USE_ZEND_ALLOC'] = 0; $environment['USE_TRACKED_ALLOC'] = 1; $environment['SKIP_ASAN'] = 1; $environment['SKIP_PERF_SENSITIVE'] = 1; + if ($switch === '--msan') { + $environment['SKIP_MSAN'] = 1; + } $lsanSuppressions = __DIR__ . '/azure/lsan-suppressions.txt'; if (file_exists($lsanSuppressions)) { |