]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
misc: pass premable through when no valgrind 310/head
authorSage Weil <sage@redhat.com>
Tue, 12 Aug 2014 00:31:57 +0000 (17:31 -0700)
committerSage Weil <sage@redhat.com>
Tue, 12 Aug 2014 00:31:57 +0000 (17:31 -0700)
Signed-off-by: Sage Weil <sage@redhat.com>
teuthology/misc.py

index 3757c5e1242413539d02820d8d9fb15a05f499e3..b2194893e2c1fa8df29c3eea69bae6392bc3b1f6 100644 (file)
@@ -1006,7 +1006,7 @@ def get_valgrind_args(testdir, name, preamble, v):
     v - valgrind arguments
     """
     if v is None:
-        return []
+        return preamble
     if not isinstance(v, list):
         v = [v]
     val_path = '/var/log/ceph/valgrind'.format(tdir=testdir)