From b8fce28cb78e4a2d51f9228836ef7ae2c2e807cf Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 4 Oct 2021 20:58:08 +0530 Subject: [PATCH] oops --- setup/test.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/setup/test.py b/setup/test.py index 02bbc84e58..5220c331c9 100644 --- a/setup/test.py +++ b/setup/test.py @@ -184,11 +184,11 @@ class Test(Command): if opts.under_sanitize: if 'libasan' not in os.environ.get('LD_PRELOAD', ''): os.environ['LD_PRELOAD'] = os.path.abspath(subprocess.check_output('gcc -print-file-name=libasan.so'.split()).decode('utf-8').strip()) - os.environ['ASAN_OPTIONS'] = 'detect_leaks=0' - os.environ['PYCRYPTODOME_DISABLE_DEEPBIND'] = '1' # https://github.com/Legrandin/pycryptodome/issues/558 - self.info(f'Re-execing with LD_PRELOAD={os.environ["LD_PRELOAD"]}') - sys.stdout.flush() - os.execl('setup.py', *sys.argv) + os.environ['ASAN_OPTIONS'] = 'detect_leaks=0' + os.environ['PYCRYPTODOME_DISABLE_DEEPBIND'] = '1' # https://github.com/Legrandin/pycryptodome/issues/558 + self.info(f'Re-execing with LD_PRELOAD={os.environ["LD_PRELOAD"]}') + sys.stdout.flush() + os.execl('setup.py', *sys.argv) from calibre.utils.run_tests import ( filter_tests_by_name, remove_tests_by_name, run_cli )