mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
Avoid using symlinks for top_level_domains
Move the main copy into the tests/config and ship it to the perf tests via the perf package.
This commit is contained in:
parent
01286a6a09
commit
95c35b318e
@ -31,6 +31,7 @@ find . -name '*.so.*' -print -exec mv '{}' /output \;
|
||||
if [ "performance" == "$COMBINED_OUTPUT" ]
|
||||
then
|
||||
cp -r ../tests/performance /output
|
||||
cp -r ../tests/config/top_level_domains /
|
||||
cp -r ../docker/test/performance-comparison/config /output ||:
|
||||
rm /output/unit_tests_dbms ||:
|
||||
rm /output/clickhouse-odbc-bridge ||:
|
||||
|
@ -15,16 +15,6 @@ install (
|
||||
COMPONENT clickhouse
|
||||
PATTERN "CMakeLists.txt" EXCLUDE
|
||||
PATTERN ".gitignore" EXCLUDE
|
||||
PATTERN "top_level_domains" EXCLUDE
|
||||
)
|
||||
|
||||
# Dereference symlink
|
||||
get_filename_component(TOP_LEVEL_DOMAINS_ABS_DIR config/top_level_domains REALPATH)
|
||||
install (
|
||||
DIRECTORY "${TOP_LEVEL_DOMAINS_ABS_DIR}"
|
||||
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/clickhouse-test/config
|
||||
USE_SOURCE_PERMISSIONS
|
||||
COMPONENT clickhouse
|
||||
)
|
||||
|
||||
install (FILES server-test.xml DESTINATION ${CLICKHOUSE_ETC_DIR}/clickhouse-server COMPONENT clickhouse)
|
||||
|
@ -1 +0,0 @@
|
||||
../../docker/test/performance-comparison/config/top_level_domains
|
Loading…
Reference in New Issue
Block a user