summaryrefslogtreecommitdiff
path: root/buckifier
diff options
context:
space:
mode:
authorPeter Dillinger <peterd@fb.com>2022-04-13 23:54:35 -0700
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>2022-04-13 23:54:35 -0700
commitfefacd33e3e7d9f888a22e8f78a2ce5aee04d073 (patch)
tree4e09ba4cba50d2e7f15bda6287103240e7130c24 /buckifier
parentb3a6fb7e86078e111b4d83eeb254a41cf4c7525f (diff)
Add db_stress to buck build (#9840)
Summary: For internal testing purposes (minimal deps) Pull Request resolved: https://github.com/facebook/rocksdb/pull/9840 Test Plan: buck build :db_stress Reviewed By: hx235 Differential Revision: D35635192 Pulled By: pdillinger fbshipit-source-id: eefca3bcea174de6fdcdc1c763774f3134c7342c
Diffstat (limited to 'buckifier')
-rw-r--r--buckifier/buckify_rocksdb.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/buckifier/buckify_rocksdb.py b/buckifier/buckify_rocksdb.py
index bd6158a10..e9b1a2959 100644
--- a/buckifier/buckify_rocksdb.py
+++ b/buckifier/buckify_rocksdb.py
@@ -184,6 +184,10 @@ def generate_targets(repo_path, deps_map):
src_mk.get("ANALYZER_LIB_SOURCES", [])
+ src_mk.get('STRESS_LIB_SOURCES', [])
+ ["test_util/testutil.cc"])
+ # db_stress binary
+ TARGETS.add_binary("db_stress",
+ ["db_stress_tool/db_stress.cc"],
+ [":rocksdb_stress_lib"])
# bench binaries
for src in src_mk.get("MICROBENCH_SOURCES", []):
name = src.rsplit('/',1)[1].split('.')[0] if '/' in src else src.split('.')[0]