mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-04-28 12:42:58 +02:00
oops
This commit is contained in:
parent
f70125774e
commit
b8fce28cb7
1 changed files with 5 additions and 5 deletions
|
|
@ -184,11 +184,11 @@ def run(self, opts):
|
|||
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
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue