]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
erasure-code: run isa tests via libtool and valgrind
authorLoic Dachary <loic-201408@dachary.org>
Mon, 22 Sep 2014 12:08:48 +0000 (14:08 +0200)
committerLoic Dachary <loic-201408@dachary.org>
Thu, 25 Sep 2014 15:39:16 +0000 (17:39 +0200)
Because running valgrind with no libtool does not test the binary but
the enclosing shell script.

Signed-off-by: Loic Dachary <loic-201408@dachary.org>
src/test/erasure-code/TestErasureCodeIsa.cc

index 9a995e6602f58505dc15888d111636553361ee12..5d98f5d29aa2510e251d2462f9c82c9199a066aa 100644 (file)
@@ -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: