2016-05-22 18:17:39 +00:00
|
|
|
# Copyright (c) 2016 Google Inc.
|
|
|
|
#
|
2016-09-01 19:33:59 +00:00
|
|
|
# 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
|
2016-05-22 18:17:39 +00:00
|
|
|
#
|
2016-09-01 19:33:59 +00:00
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
2016-05-22 18:17:39 +00:00
|
|
|
#
|
2016-09-01 19:33:59 +00:00
|
|
|
# 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.
|
2016-05-22 18:17:39 +00:00
|
|
|
|
2016-08-25 16:55:44 +00:00
|
|
|
add_spvtools_unittest(TARGET instruction
|
2016-09-22 15:05:30 +00:00
|
|
|
SRCS instruction_test.cpp
|
2016-09-16 20:12:04 +00:00
|
|
|
LIBS SPIRV-Tools-opt
|
2016-08-25 16:55:44 +00:00
|
|
|
)
|
|
|
|
|
2016-05-22 18:17:39 +00:00
|
|
|
add_spvtools_unittest(TARGET ir_loader
|
2016-09-22 15:05:30 +00:00
|
|
|
SRCS ir_loader_test.cpp
|
2016-09-16 20:12:04 +00:00
|
|
|
LIBS SPIRV-Tools-opt
|
2016-05-22 18:17:39 +00:00
|
|
|
)
|
2016-06-28 18:58:17 +00:00
|
|
|
|
|
|
|
add_spvtools_unittest(TARGET pass_manager
|
2016-08-25 22:36:03 +00:00
|
|
|
SRCS module_utils.h
|
2016-09-22 15:05:30 +00:00
|
|
|
pass_manager_test.cpp
|
2016-09-16 20:12:04 +00:00
|
|
|
LIBS SPIRV-Tools-opt
|
2016-06-28 18:58:17 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
add_spvtools_unittest(TARGET pass_strip_debug_info
|
2016-09-22 15:05:30 +00:00
|
|
|
SRCS strip_debug_info_test.cpp pass_utils.cpp
|
2016-09-16 20:12:04 +00:00
|
|
|
LIBS SPIRV-Tools-opt
|
2016-06-28 18:58:17 +00:00
|
|
|
)
|
|
|
|
|
2016-07-26 16:11:03 +00:00
|
|
|
add_spvtools_unittest(TARGET pass_freeze_spec_const
|
2016-09-22 15:05:30 +00:00
|
|
|
SRCS freeze_spec_const_test.cpp pass_utils.cpp
|
2016-09-16 20:12:04 +00:00
|
|
|
LIBS SPIRV-Tools-opt
|
2016-07-26 16:11:03 +00:00
|
|
|
)
|
|
|
|
|
2016-07-29 15:35:58 +00:00
|
|
|
add_spvtools_unittest(TARGET pass_eliminate_dead_const
|
2016-09-22 15:05:30 +00:00
|
|
|
SRCS eliminate_dead_const_test.cpp pass_utils.cpp
|
2016-09-16 20:12:04 +00:00
|
|
|
LIBS SPIRV-Tools-opt
|
2016-07-29 15:35:58 +00:00
|
|
|
)
|
|
|
|
|
2016-06-28 18:58:17 +00:00
|
|
|
add_spvtools_unittest(TARGET pass_utils
|
2016-09-22 15:05:30 +00:00
|
|
|
SRCS utils_test.cpp pass_utils.cpp
|
2016-09-16 20:12:04 +00:00
|
|
|
LIBS SPIRV-Tools-opt
|
2016-06-28 18:58:17 +00:00
|
|
|
)
|
2016-07-27 21:37:04 +00:00
|
|
|
|
|
|
|
add_spvtools_unittest(TARGET def_use
|
2016-09-22 15:05:30 +00:00
|
|
|
SRCS def_use_test.cpp pass_utils.cpp
|
2016-09-16 20:12:04 +00:00
|
|
|
LIBS SPIRV-Tools-opt
|
2016-07-27 21:37:04 +00:00
|
|
|
)
|
2016-08-02 16:08:40 +00:00
|
|
|
|
|
|
|
add_spvtools_unittest(TARGET assembly_builder
|
2016-09-22 15:05:30 +00:00
|
|
|
SRCS assembly_builder_test.cpp pass_utils.cpp
|
2016-09-16 20:12:04 +00:00
|
|
|
LIBS SPIRV-Tools-opt
|
2016-08-02 16:08:40 +00:00
|
|
|
)
|
2016-07-28 16:11:01 +00:00
|
|
|
|
|
|
|
add_spvtools_unittest(TARGET types
|
2016-09-22 15:05:30 +00:00
|
|
|
SRCS types_test.cpp
|
2016-07-28 16:11:01 +00:00
|
|
|
LIBS SPIRV-Tools-opt
|
|
|
|
)
|
2016-07-28 16:15:14 +00:00
|
|
|
|
|
|
|
add_spvtools_unittest(TARGET type_manager
|
2016-09-22 15:05:30 +00:00
|
|
|
SRCS type_manager_test.cpp
|
2016-09-16 20:12:04 +00:00
|
|
|
LIBS SPIRV-Tools-opt
|
2016-07-28 16:15:14 +00:00
|
|
|
)
|
2016-08-10 14:02:28 +00:00
|
|
|
|
|
|
|
add_spvtools_unittest(TARGET iterator
|
2016-09-22 15:05:30 +00:00
|
|
|
SRCS iterator_test.cpp
|
2016-09-16 20:12:04 +00:00
|
|
|
LIBS SPIRV-Tools-opt
|
2016-08-10 14:02:28 +00:00
|
|
|
)
|
2016-08-20 09:51:15 +00:00
|
|
|
|
|
|
|
add_spvtools_unittest(TARGET module
|
2016-08-25 22:36:03 +00:00
|
|
|
SRCS module_utils.h
|
2016-09-22 15:05:30 +00:00
|
|
|
module_test.cpp
|
2016-09-16 20:12:04 +00:00
|
|
|
LIBS SPIRV-Tools-opt
|
2016-08-20 09:51:15 +00:00
|
|
|
)
|
2016-08-04 17:24:08 +00:00
|
|
|
|
|
|
|
add_spvtools_unittest(TARGET pass_fold_spec_const_op_composite
|
2016-09-22 15:05:30 +00:00
|
|
|
SRCS fold_spec_const_op_composite_test.cpp pass_utils.cpp
|
2016-09-16 20:12:04 +00:00
|
|
|
LIBS SPIRV-Tools-opt
|
2016-08-17 21:19:48 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
add_spvtools_unittest(TARGET pass_unify_const
|
2016-09-22 15:05:30 +00:00
|
|
|
SRCS unify_const_test.cpp
|
2016-09-16 20:12:04 +00:00
|
|
|
LIBS SPIRV-Tools-opt
|
2016-08-31 23:37:13 +00:00
|
|
|
)
|
|
|
|
|
2016-08-30 18:57:56 +00:00
|
|
|
add_spvtools_unittest(TARGET pass_set_spec_const_default_value
|
2016-09-22 15:05:30 +00:00
|
|
|
SRCS set_spec_const_default_value_test.cpp pass_utils.cpp
|
2016-09-16 20:12:04 +00:00
|
|
|
LIBS SPIRV-Tools-opt
|
2016-08-30 18:57:56 +00:00
|
|
|
)
|
|
|
|
|
2016-08-31 23:37:13 +00:00
|
|
|
add_spvtools_unittest(TARGET line_debug_info
|
2016-09-22 15:05:30 +00:00
|
|
|
SRCS line_debug_info_test.cpp pass_utils.cpp
|
2016-09-16 20:12:04 +00:00
|
|
|
LIBS SPIRV-Tools-opt
|
2016-08-31 23:37:13 +00:00
|
|
|
)
|