From: Loic Dachary Date: Mon, 22 Sep 2014 12:08:48 +0000 (+0200) Subject: erasure-code: run isa tests via libtool and valgrind X-Git-Tag: v0.86~29^2~4 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=ed77178e7dc1c27538ddd94a70bcc6f91dc65928;p=ceph.git erasure-code: run isa tests via libtool and valgrind Because running valgrind with no libtool does not test the binary but the enclosing shell script. Signed-off-by: Loic Dachary --- diff --git a/src/test/erasure-code/TestErasureCodeIsa.cc b/src/test/erasure-code/TestErasureCodeIsa.cc index 9a995e6602f..5d98f5d29aa 100644 --- a/src/test/erasure-code/TestErasureCodeIsa.cc +++ b/src/test/erasure-code/TestErasureCodeIsa.cc @@ -921,9 +921,8 @@ int main(int argc, char **argv) /* * Local Variables: - * compile-command: "cd ../.. ; make -j4 && - * make unittest_erasure_code_isa && - * valgrind --tool=memcheck --leak-check=full \ + * compile-command: "cd ../.. ; make -j4 unittest_erasure_code_isa && + * libtool --mode=execute valgrind --tool=memcheck --leak-check=full \ * ./unittest_erasure_code_isa \ * --gtest_filter=*.* --log-to-stderr=true --debug-osd=20" * End: