Skip to content

Commit 4ebd8b2

Browse files
committed
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
1 parent 0793e2a commit 4ebd8b2

10 files changed

+1350
-1062
lines changed

.appveyor.yml

+1
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,4 @@ build_script:
3434

3535
test_script:
3636
- build\%CONFIGURATION%\snappy_unittest
37+
- build\%CONFIGURATION%\snappy_benchmark

.travis.yml

+1
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ before_script:
9090

9191
script:
9292
- build/snappy_unittest
93+
- build/snappy_benchmark
9394
- if [ -f build/snappy_compress_fuzzer ]; then
9495
build/snappy_compress_fuzzer -runs=1000 -close_fd_mask=3;
9596
fi

0 commit comments

Comments
 (0)