Skip to content

Commit

Permalink
Verify that stripped clickhouse shows symbol names
Browse files Browse the repository at this point in the history
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
  • Loading branch information
azat committed Jan 31, 2024
1 parent f8f66a0 commit ce43c6c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docker/test/fasttest/run.sh
Expand Up @@ -211,6 +211,12 @@ function build
echo "build_clickhouse_fasttest_binary: [ OK ] $BUILD_SECONDS_ELAPSED sec." \
| ts '%Y-%m-%d %H:%M:%S' \
| tee "$FASTTEST_OUTPUT/test_result.txt"

stripped_clickhouse_shows_symbols_names=FAIL
programs/clickhouse-stripped --stacktrace -q 'select' || :
programs/clickhouse-stripped --stacktrace -q 'select' |& grep -q 'DB::LocalServer::main' && stripped_clickhouse_shows_symbols_names=OK
echo "stripped_clickhouse_shows_symbols_names: [ $stripped_clickhouse_shows_symbols_names ] 0 sec." | ts '%Y-%m-%d %H:%M:%S' | tee -a "$FASTTEST_OUTPUT/test_result.txt"

if [ "$COPY_CLICKHOUSE_BINARY_TO_OUTPUT" -eq "1" ]; then
mkdir -p "$FASTTEST_OUTPUT/binaries/"
cp programs/clickhouse "$FASTTEST_OUTPUT/binaries/clickhouse"
Expand Down

0 comments on commit ce43c6c

Please sign in to comment.