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
main
Aaron Gao 8 years ago committed by Facebook Github Bot
parent 8f927e5f75
commit 87128bd5c5
  1. 6
      tools/regression_test.sh

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

Loading…
Cancel
Save