Skip to content

Commit

Permalink
Move benchmarks to top-level directory
Browse files Browse the repository at this point in the history
  • Loading branch information
jerryct committed Oct 26, 2018
1 parent 2f61ba4 commit 01a8e63
Show file tree
Hide file tree
Showing 13 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ script:
- bazel build //...
- bazel test --test_output=all //core/... //pull/...
- bazel test --test_output=all //pull/tests/integration:scrape-test
- bazel run -c opt //core/tests/benchmark
- bazel run -c opt //core/benchmarks

- pushd .
- mkdir _build_internal_deps
Expand Down
4 changes: 4 additions & 0 deletions core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,7 @@ install(
if(ENABLE_TESTING)
add_subdirectory(tests)
endif()

if(GoogleBenchmark_FOUND)
add_subdirectory(benchmarks)
endif()
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
cc_binary(
name = "benchmark",
name = "benchmarks",
srcs = glob([
"*.cc",
"*.h",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 0 additions & 4 deletions core/tests/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@

if(GoogleBenchmark_FOUND)
add_subdirectory(benchmark)
endif()

add_executable(prometheus_test
check_names_test.cc
counter_test.cc
Expand Down

0 comments on commit 01a8e63

Please sign in to comment.