mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
SERVER-36757 Generate and extract mongoebench-compatible JSON config files to consistent locations
This commit is contained in:
parent
8143b34ed3
commit
e86d011012
3
.gitignore
vendored
3
.gitignore
vendored
@ -112,6 +112,9 @@ scratch
|
||||
/clientTest
|
||||
/httpClientTest
|
||||
|
||||
# benchrun files
|
||||
/benchrun_embedded
|
||||
|
||||
# Linters
|
||||
.mypy_cache
|
||||
|
||||
|
@ -26,7 +26,7 @@ fi
|
||||
NAME=mongo-perf
|
||||
SRC_ROOT=$(mktemp -d /tmp/$NAME.XXXXXX)
|
||||
trap "rm -rf $SRC_ROOT" EXIT
|
||||
DEST_DIR=$(git rev-parse --show-toplevel)/src/third_party/$NAME
|
||||
DEST_DIR=$(git rev-parse --show-toplevel)/benchrun_embedded/testcases
|
||||
|
||||
git clone --branch=master https://github.com/mongodb/mongo-perf.git $SRC_ROOT
|
||||
|
||||
@ -55,6 +55,6 @@ find testcases -type f -print0 | xargs -0 -I% -n1 -P$NUM_CPUS \
|
||||
popd
|
||||
|
||||
test -d $DEST_DIR && rm -r $DEST_DIR
|
||||
mkdir -p $DEST_DIR
|
||||
mkdir -p $(dirname $DEST_DIR)
|
||||
|
||||
mv $SRC_ROOT/mongoebench/ $DEST_DIR/
|
||||
mv $SRC_ROOT/mongoebench $DEST_DIR
|
||||
|
Loading…
Reference in New Issue
Block a user