Changeset View
Changeset View
Standalone View
Standalone View
helpers/run-tests.py
Show First 20 Lines • Show All 81 Lines • ▼ Show 20 Line(s) | 81 | knownAsanNames = [ | |||
---|---|---|---|---|---|
82 | 'libasan.so.4', | 82 | 'libasan.so.4', | ||
83 | 'libasan.so.3', | 83 | 'libasan.so.3', | ||
84 | 'libasan.so.2' | 84 | 'libasan.so.2' | ||
85 | ] | 85 | ] | ||
86 | # Knowing all of that, let's find ASAN's library and set it up to be injected | 86 | # Knowing all of that, let's find ASAN's library and set it up to be injected | ||
87 | buildEnvironment['LD_PRELOAD'] = CommonUtils.firstPresentFileInPaths( knownAsanLocations, knownAsanNames ) | 87 | buildEnvironment['LD_PRELOAD'] = CommonUtils.firstPresentFileInPaths( knownAsanLocations, knownAsanNames ) | ||
88 | 88 | | |||
89 | # We want Qt to be noisy about debug output to make debugging tests easier | 89 | # We want Qt to be noisy about debug output to make debugging tests easier | ||
90 | buildEnvironment['QT_LOGGING_RULES'] = "*.debug=true" | 90 | # Some stuff is so verbose it hits the testlib maxwarnings limits though | ||
91 | buildEnvironment['QT_LOGGING_RULES'] = "*.debug=true;qt.text.font.db=false" | ||||
91 | # We want to force Qt to print to stderr, even on Windows | 92 | # We want to force Qt to print to stderr, even on Windows | ||
92 | buildEnvironment['QT_LOGGING_TO_CONSOLE'] = '1' | 93 | buildEnvironment['QT_LOGGING_TO_CONSOLE'] = '1' | ||
93 | buildEnvironment['QT_FORCE_STDERR_LOGGING'] = '1' | 94 | buildEnvironment['QT_FORCE_STDERR_LOGGING'] = '1' | ||
94 | # Always use software libgl instead of hardware | 95 | # Always use software libgl instead of hardware | ||
95 | buildEnvironment['LIBGL_ALWAYS_SOFTWARE'] = 'true' | 96 | buildEnvironment['LIBGL_ALWAYS_SOFTWARE'] = 'true' | ||
96 | # We also want Mesa to tell us what it's doing | 97 | # We also want Mesa to tell us what it's doing | ||
97 | # This makes it much easier to debug tests which are dependent on 3D stuff | 98 | # This makes it much easier to debug tests which are dependent on 3D stuff | ||
98 | buildEnvironment['EGL_LOG_LEVEL'] = 'debug' | 99 | buildEnvironment['EGL_LOG_LEVEL'] = 'debug' | ||
▲ Show 20 Lines • Show All 123 Lines • Show Last 20 Lines |