aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/test_printers_common.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/test_printers_common.py b/scripts/test_printers_common.py
index 73ca525..cf4de5a 100644
--- a/scripts/test_printers_common.py
+++ b/scripts/test_printers_common.py
@@ -171,6 +171,9 @@ def init_test(test_bin, printer_files, printer_names):
# Finally, load the test binary.
test('file {0}'.format(test_bin))
+ # Disable lock elision.
+ test('set environment GLIBC_TUNABLES glibc.elision.enable=0')
+
def go_to_main():
"""Executes a gdb 'start' command, which takes us to main."""