Mercurial > hg-stable
changeset 40208:b7ba1cfba174
tests: configure fsmonitor.mode=paranoid always if fsmonitor is used
This forces fsmonitor extension execute "paranoid" code path.
Strict speaking, we should make fsmonitor-run-tests.py accept own
specific options, but there is no code path, which is disabled in
"paranoid" mode, at least now. Therefore, this solution seems
reasonable enough.
author | FUJIWARA Katsunori <foozy@lares.dti.ne.jp> |
---|---|
date | Fri, 12 Oct 2018 16:07:08 +0900 |
parents | f9e3044d16d0 |
children | 6b1a8c396b05 |
files | tests/fsmonitor-run-tests.py |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/fsmonitor-run-tests.py Mon Oct 08 13:12:06 2018 +0900 +++ b/tests/fsmonitor-run-tests.py Fri Oct 12 16:07:08 2018 +0900 @@ -123,6 +123,12 @@ runtestsargv.extend([ '--extra-config', 'extensions.fsmonitor=', + # specify fsmonitor.mode=paranoid always in order to force + # fsmonitor extension execute "paranoid" code path + # + # TODO: make fsmonitor-run-tests.py accept specific options + '--extra-config', + 'fsmonitor.mode=paranoid', '--blacklist', blacklist, ])