Skip to content

Commit

Permalink
Move velox_aggregation_fuzzer_test and spark_aggregation_fuzzer_test …
Browse files Browse the repository at this point in the history
…to the fuzzer directory (facebookincubator#8007)

Summary:
Pull Request resolved: facebookincubator#8007

This diff moves velox_aggregation_fuzzer_test to velox/functions/prestosql/fuzzer and moves spark_aggregation_fuzzer_test to velox/functions/sparksql/fuzzer.

This is part of facebookincubator#7754.

Differential Revision: D52106081

fbshipit-source-id: aa97ff57497da00409c3b65802c104301dbc9cb2
  • Loading branch information
kagamiori authored and facebook-github-bot committed Dec 13, 2023
1 parent d37874c commit 8a53041
Show file tree
Hide file tree
Showing 5 changed files with 51 additions and 26 deletions.
26 changes: 0 additions & 26 deletions velox/exec/tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -199,33 +199,7 @@ target_link_libraries(
velox_tpch_connector
velox_memory)

# Aggregation Fuzzer.
add_executable(velox_aggregation_fuzzer_test AggregationFuzzerTest.cpp)

target_link_libraries(
velox_aggregation_fuzzer_test
velox_aggregation_fuzzer
velox_aggregation_fuzzer_base
velox_aggregates
velox_window
gtest
gtest_main)

add_executable(spark_aggregation_fuzzer_test SparkAggregationFuzzerTest.cpp)

target_link_libraries(
spark_aggregation_fuzzer_test
velox_aggregation_fuzzer
velox_aggregation_fuzzer_base
velox_functions_spark_aggregates
velox_fuzzer_util
velox_window
velox_vector_test_lib
gtest
gtest_main)

# Join Fuzzer.

add_library(velox_join_fuzzer JoinFuzzer.cpp)

target_link_libraries(velox_join_fuzzer velox_type velox_vector_fuzzer
Expand Down
File renamed without changes.
25 changes: 25 additions & 0 deletions velox/functions/prestosql/fuzzer/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Copyright (c) Facebook, Inc. and its affiliates.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# Aggregation Fuzzer.
add_executable(velox_aggregation_fuzzer_test AggregationFuzzerTest.cpp)

target_link_libraries(
velox_aggregation_fuzzer_test
velox_aggregation_fuzzer
velox_aggregation_fuzzer_base
velox_aggregates
velox_window
gtest
gtest_main)
26 changes: 26 additions & 0 deletions velox/functions/sparksql/fuzzer/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Copyright (c) Facebook, Inc. and its affiliates.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

add_executable(spark_aggregation_fuzzer_test SparkAggregationFuzzerTest.cpp)

target_link_libraries(
spark_aggregation_fuzzer_test
velox_aggregation_fuzzer
velox_aggregation_fuzzer_base
velox_functions_spark_aggregates
velox_fuzzer_util
velox_window
velox_vector_test_lib
gtest
gtest_main)

0 comments on commit 8a53041

Please sign in to comment.