]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
teuthology/misc: pass --vgdb=yes to valgrind 1424/head
authorSage Weil <sage@redhat.com>
Tue, 10 Mar 2020 18:51:39 +0000 (13:51 -0500)
committerSage Weil <sage@redhat.com>
Tue, 10 Mar 2020 18:51:39 +0000 (13:51 -0500)
This lets us attach to the process later.

Signed-off-by: Sage Weil <sage@redhat.com>
teuthology/misc.py

index 4c9dab01c328d8a414a4e4a13455b9cb2d78ef5f..e4a3624369f1e0939b1158d755dbc17ae0147fd3 100644 (file)
@@ -1068,6 +1068,7 @@ def get_valgrind_args(testdir, name, preamble, v):
             '--xml=yes',
             '--xml-file={vdir}/{n}.log'.format(vdir=val_path, n=name),
             '--time-stamp=yes',
+            '--vgdb=yes',
         ]
     else:
         extra_args = [
@@ -1077,6 +1078,7 @@ def get_valgrind_args(testdir, name, preamble, v):
             '--suppressions={tdir}/valgrind.supp'.format(tdir=testdir),
             '--log-file={vdir}/{n}.log'.format(vdir=val_path, n=name),
             '--time-stamp=yes',
+            '--vgdb=yes',
         ]
     args = [
         'cd', testdir,