Split benchmarks and test tools into separate targets.

This lets us remove main() from snappy_bench.cc and snappy_unittest.cc,
which simplifies integrating these tests and benchmarks with other
suites.

PiperOrigin-RevId: 347857427
This commit is contained in:
Victor Costan
2020-12-16 19:07:59 +00:00
parent 0793e2ae2d
commit 4ebd8b2f23
10 changed files with 1349 additions and 1061 deletions

View File

@@ -34,3 +34,4 @@ build_script:
test_script:
- build\%CONFIGURATION%\snappy_unittest
- build\%CONFIGURATION%\snappy_benchmark