summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/test/wtperf
diff options
context:
space:
mode:
authorEtienne Petrel <etienne.petrel@mongodb.com>2021-11-23 03:48:03 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-11-23 04:34:41 +0000
commit2975c295c96f218659565237b24d88bf089cdb8a (patch)
treede80cd1590dd7da2a4b785021347dc21454b5f9f /src/third_party/wiredtiger/test/wtperf
parent5d801b0774abeb9297673e2c28a2493ec4b117a9 (diff)
downloadmongo-2975c295c96f218659565237b24d88bf089cdb8a.tar.gz
Import wiredtiger: 3075eacd9c73587a9a0ce0db97ad58481457277d from branch mongodb-master
ref: 8b101406da..3075eacd9c for: 5.2.0 WT-8418 Patch CMake to better support CI/CD testing
Diffstat (limited to 'src/third_party/wiredtiger/test/wtperf')
-rwxr-xr-xsrc/third_party/wiredtiger/test/wtperf/test_conf_dump.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/third_party/wiredtiger/test/wtperf/test_conf_dump.py b/src/third_party/wiredtiger/test/wtperf/test_conf_dump.py
index b94ef563a77..6e9faf65b6b 100755
--- a/src/third_party/wiredtiger/test/wtperf/test_conf_dump.py
+++ b/src/third_party/wiredtiger/test/wtperf/test_conf_dump.py
@@ -51,7 +51,12 @@ import os, re, subprocess, sys
OP_FILE = "WT_TEST/CONFIG.wtperf"
TMP_CONF = "__tmp.wtperf"
WTPERF_BIN = "./wtperf"
-WTPERF_DIR = "../../build_posix/bench/wtperf/"
+
+env_wtperfdir = os.getenv('WTPERF_DIR')
+if env_wtperfdir:
+ WTPERF_DIR = env_wtperfdir
+else:
+ WTPERF_DIR = "../../build_posix/bench/wtperf/"
CONF_NOT_PROVIDED = -2