commit | 516ceb2c7eebc10b9163e5e04792b2eb264ac1d2 | [log] [tgz] |
---|---|---|
author | Brian Silverman <brian@peloton-tech.com> | Fri Nov 27 01:29:05 2015 -0500 |
committer | Brian Silverman <brian@peloton-tech.com> | Fri Nov 27 18:26:15 2015 -0500 |
tree | c78ce82e8562c08459ae3c5fa3ad62a2bf5bcc1a | |
parent | 390d8a090d55be724b8d8f7c137813fb5a331aab [diff] [blame] |
Actually use tcmalloc and test for it Change-Id: I61e47db48fca960b77eafaf4c8bda4b4d9517617
diff --git a/build_tests/BUILD b/build_tests/BUILD index cae87f0..cce2e01 100644 --- a/build_tests/BUILD +++ b/build_tests/BUILD
@@ -51,3 +51,21 @@ ], size = 'small', ) + +cc_binary( + name = 'tcmalloc_build_test_binary', + srcs = [ + 'tcmalloc.cc', + ], +) + +sh_test( + name = 'tcmalloc_build_test', + srcs = [ + 'tcmalloc_test.sh', + ], + data = [ + ':tcmalloc_build_test_binary', + ], + size = 'small', +)