fix regression test

Summary:
delete the checkout line
Closes https://github.com/facebook/rocksdb/pull/2556

Differential Revision: D5394446

Pulled By: lightmark

fbshipit-source-id: 4afaf35e7ad0378d12169d13a3131a92b428b5d2
This commit is contained in:
Aaron Gao 2017-07-10 16:56:50 -07:00 committed by Facebook Github Bot
parent 8f927e5f75
commit 87128bd5c5

View File

@ -113,16 +113,10 @@ PERC_PATTERN+="P99: ([0-9\.]+) P99.9: ([0-9\.]+) P99.99: ([0-9\.]+)"
#==============================================================================
function main {
commit=${1:-"origin/master"}
TEST_ROOT_DIR=${TEST_PATH:-"/tmp/rocksdb/regression_test"}
init_arguments $TEST_ROOT_DIR
if [ $DEBUG -eq 0 ]; then
checkout_rocksdb $commit
build_db_bench_and_ldb
elif [[ ! -f db_bench ]] || [[ ! -f ldb ]]; then
build_db_bench_and_ldb
fi
build_db_bench_and_ldb
setup_test_directory
if [ $TEST_MODE -le 1 ]; then