Skip to content

Commit

Permalink
temp: show tpcds time usage.
Browse files Browse the repository at this point in the history
  • Loading branch information
RinChanNOWWW committed Dec 20, 2023
1 parent 59b47b0 commit 2c63506
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
6 changes: 6 additions & 0 deletions scripts/ci/ci-run-sqllogic-tests-native.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,11 @@ if [ $# -gt 0 ]; then
fi
echo "Run suites using argument: $RUN_DIR"

# If RUN_DIR is tpcds, run benchmark tests
if [ "$RUN_DIR" == "--run_dir tpcds" ]; then
./target/${BUILD_PROFILE}/databend-sqllogictests --handlers ${TEST_HANDLERS} ${RUN_DIR} -f queries.test --enable_sandbox --parallel 8 --bench
exit 0
fi

echo "Starting databend-sqllogic tests"
target/${BUILD_PROFILE}/databend-sqllogictests --handlers ${TEST_HANDLERS} ${RUN_DIR} --skip_dir management,cluster,explain,tpch,ee --enable_sandbox --parallel 8
7 changes: 7 additions & 0 deletions scripts/ci/ci-run-sqllogic-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,11 @@ fi
echo "Run suites using argument: $RUN_DIR"

echo "Starting databend-sqllogic tests"

# If RUN_DIR is tpcds, run benchmark tests
if [ "$RUN_DIR" == "--run_dir tpcds" ]; then
./target/${BUILD_PROFILE}/databend-sqllogictests --handlers ${TEST_HANDLERS} ${RUN_DIR} -f queries.test --enable_sandbox --parallel 8 --bench
exit 0
fi

target/${BUILD_PROFILE}/databend-sqllogictests --handlers ${TEST_HANDLERS} ${RUN_DIR} --skip_dir management,explain_native,ee --enable_sandbox --parallel 8

0 comments on commit 2c63506

Please sign in to comment.