mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 17:12:03 +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" ]
|
if [ "performance" == "$COMBINED_OUTPUT" ]
|
||||||
then
|
then
|
||||||
cp -r ../tests/performance /output
|
cp -r ../tests/performance /output
|
||||||
|
cp -r ../tests/config/top_level_domains /
|
||||||
cp -r ../docker/test/performance-comparison/config /output ||:
|
cp -r ../docker/test/performance-comparison/config /output ||:
|
||||||
rm /output/unit_tests_dbms ||:
|
rm /output/unit_tests_dbms ||:
|
||||||
rm /output/clickhouse-odbc-bridge ||:
|
rm /output/clickhouse-odbc-bridge ||:
|
||||||
|
@ -15,16 +15,6 @@ install (
|
|||||||
COMPONENT clickhouse
|
COMPONENT clickhouse
|
||||||
PATTERN "CMakeLists.txt" EXCLUDE
|
PATTERN "CMakeLists.txt" EXCLUDE
|
||||||
PATTERN ".gitignore" 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)
|
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