Also posfixing test files with `_test' to make it more clear.
endfunction()
set(TEST_SOURCES
- ${CMAKE_CURRENT_SOURCE_DIR}/TestFixture.h
- ${CMAKE_CURRENT_SOURCE_DIR}/UnitSPIRV.h
+ test_fixture.h
+ unit_spirv.h
- ${CMAKE_CURRENT_SOURCE_DIR}/AssemblyContext.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/AssemblyFormat.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/BinaryDestroy.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/BinaryEndianness.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/BinaryHeaderGet.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/BinaryParse.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/BinaryToText.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/BinaryToText.Literal.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/CapabilitySet.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/Comment.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/ExtInstGLSLstd450.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/ExtInst.OpenCL.std.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/FixWord.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/GeneratorMagicNumber.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/HexFloat.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/ImmediateInt.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/LibspirvMacros.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/NamedId.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/NameMapper.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/OpcodeMake.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/OpcodeRequiresCapabilities.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/OpcodeSplit.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/OpcodeTableGet.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/OperandCapabilities.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/Operand.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/OperandPattern.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/SoftwareVersion.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/TargetEnv.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/TextAdvance.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/TextDestroy.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/TextLiteral.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/TextStartsNewInst.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/TextToBinary.Annotation.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/TextToBinary.Barrier.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/TextToBinary.Constant.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/TextToBinary.ControlFlow.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/TextToBinary.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/TextToBinary.Debug.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/TextToBinary.DeviceSideEnqueue.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/TextToBinary.Extension.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/TextToBinary.Function.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/TextToBinary.Group.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/TextToBinary.Image.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/TextToBinary.Literal.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/TextToBinary.Memory.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/TextToBinary.Miscellaneous.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/TextToBinary.ModeSetting.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/TextToBinary.PipeStorage.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/TextToBinary.TypeDeclaration.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/TextToBinary.SubgroupDispatch.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/TextWordGet.cpp
- ${CMAKE_CURRENT_SOURCE_DIR}/UnitSPIRV.cpp
+ assembly_context_test.cpp
+ assembly_format_test.cpp
+ binary_destroy_test.cpp
+ binary_endianness_test.cpp
+ binary_header_get_test.cpp
+ binary_parse_test.cpp
+ binary_to_text_test.cpp
+ binary_to_text.literal_test.cpp
+ capability_set_test.cpp
+ comment_test.cpp
+ ext_inst.glsl_test.cpp
+ ext_inst.opencl_test.cpp
+ fix_word_test.cpp
+ generator_magic_number_test.cpp
+ hex_float_test.cpp
+ immediate_int_test.cpp
+ libspirv_macros_test.cpp
+ named_id_test.cpp
+ name_mapper_test.cpp
+ opcode_make_test.cpp
+ opcode_require_capabilities_test.cpp
+ opcode_split_test.cpp
+ opcode_table_get_test.cpp
+ operand_capabilities_test.cpp
+ operand_test.cpp
+ operand_pattern_test.cpp
+ software_version_test.cpp
+ target_env_test.cpp
+ text_advance_test.cpp
+ text_destroy_test.cpp
+ text_literal_test.cpp
+ text_start_new_inst_test.cpp
+ text_to_binary.annotation_test.cpp
+ text_to_binary.barrier_test.cpp
+ text_to_binary.constant_test.cpp
+ text_to_binary.control_flow_test.cpp
+ text_to_binary_test.cpp
+ text_to_binary.debug_test.cpp
+ text_to_binary.device_side_enqueue_test.cpp
+ text_to_binary.extension_test.cpp
+ text_to_binary.function_test.cpp
+ text_to_binary.group_test.cpp
+ text_to_binary.image_test.cpp
+ text_to_binary.literal_test.cpp
+ text_to_binary.memory_test.cpp
+ text_to_binary.misc_test.cpp
+ text_to_binary.mode_setting_test.cpp
+ text_to_binary.pipe_storage_test.cpp
+ text_to_binary.type_declaration_test.cpp
+ text_to_binary.subgroup_dispatch_test.cpp
+ text_word_get_test.cpp
+
+ unit_spirv.cpp
)
add_spvtools_unittest(
add_spvtools_unittest(
TARGET diagnostic
- SRCS diagnostic.cpp
+ SRCS diagnostic_test.cpp
LIBS ${SPIRV_TOOLS})
add_spvtools_unittest(
TARGET c_interface
- SRCS c_interface.cpp
+ SRCS c_interface_test.cpp
LIBS ${SPIRV_TOOLS})
add_spvtools_unittest(
TARGET cpp_interface
- SRCS cpp_interface.cpp
- LIBS SPIRV-Tools-opt ${SPIRV_TOOLS})
+ SRCS cpp_interface_test.cpp
+ LIBS SPIRV-Tools-opt)
add_spvtools_unittest(
TARGET parse_number
- SRCS ${CMAKE_CURRENT_SOURCE_DIR}/ParseNumber.cpp
+ SRCS parse_number_test.cpp
LIBS ${SPIRV_TOOLS})
add_spvtools_unittest(
TARGET log
- SRCS test_log.cpp
+ SRCS log_test.cpp
LIBS ${SPIRV_TOOLS})
add_subdirectory(opt)
// See the License for the specific language governing permissions and
// limitations under the License.
-#include "UnitSPIRV.h"
+#include "unit_spirv.h"
#include <vector>
#include <gmock/gmock.h>
// See the License for the specific language governing permissions and
// limitations under the License.
-#include "TestFixture.h"
+#include "test_fixture.h"
namespace {
// See the License for the specific language governing permissions and
// limitations under the License.
-#include "UnitSPIRV.h"
+#include "unit_spirv.h"
-#include "TestFixture.h"
+#include "test_fixture.h"
namespace {
// See the License for the specific language governing permissions and
// limitations under the License.
-#include "UnitSPIRV.h"
+#include "unit_spirv.h"
namespace {
// limitations under the License.
#include "source/spirv_constant.h"
-#include "UnitSPIRV.h"
+#include "unit_spirv.h"
namespace {
#include <string>
#include <vector>
-#include "TestFixture.h"
-#include "UnitSPIRV.h"
+#include "test_fixture.h"
+#include "unit_spirv.h"
#include "gmock/gmock.h"
#include "source/message.h"
#include "source/table.h"
// See the License for the specific language governing permissions and
// limitations under the License.
-#include "UnitSPIRV.h"
+#include "unit_spirv.h"
#include "gmock/gmock.h"
-#include "TestFixture.h"
+#include "test_fixture.h"
using ::testing::Eq;
// See the License for the specific language governing permissions and
// limitations under the License.
-#include "UnitSPIRV.h"
+#include "unit_spirv.h"
#include <sstream>
#include "gmock/gmock.h"
-#include "TestFixture.h"
+#include "test_fixture.h"
#include "source/spirv_constant.h"
namespace {
#include "gmock/gmock.h"
#include "enum_set.h"
-#include "UnitSPIRV.h"
+#include "unit_spirv.h"
namespace {
// limitations under the License.
#include "gmock/gmock.h"
-#include "TestFixture.h"
-#include "UnitSPIRV.h"
+#include "test_fixture.h"
+#include "unit_spirv.h"
namespace {
// See the License for the specific language governing permissions and
// limitations under the License.
-#include "UnitSPIRV.h"
+#include "unit_spirv.h"
namespace {
#include <algorithm>
#include <vector>
-#include "UnitSPIRV.h"
+#include "unit_spirv.h"
#include "spirv/1.0/GLSL.std.450.h"
namespace {
// See the License for the specific language governing permissions and
// limitations under the License.
-#include "UnitSPIRV.h"
+#include "unit_spirv.h"
#include <gmock/gmock.h>
-#include "TestFixture.h"
+#include "test_fixture.h"
#include "spirv/1.0/OpenCL.std.h"
namespace {
// See the License for the specific language governing permissions and
// limitations under the License.
-#include "UnitSPIRV.h"
+#include "unit_spirv.h"
namespace {
// See the License for the specific language governing permissions and
// limitations under the License.
-#include "UnitSPIRV.h"
+#include "unit_spirv.h"
#include <gmock/gmock.h>
#include <tuple>
#include <gmock/gmock.h>
+
#include "source/util/hex_float.h"
+#include "unit_spirv.h"
namespace {
using ::testing::Eq;
#include <gmock/gmock.h>
-#include "TestFixture.h"
+#include "test_fixture.h"
#include "source/util/bitutils.h"
namespace {
// See the License for the specific language governing permissions and
// limitations under the License.
-#include "UnitSPIRV.h"
+#include "unit_spirv.h"
namespace {
const spv_position_t&, const char* message) {
++invocation;
EXPECT_EQ(SPV_MSG_INTERNAL_ERROR, level);
- EXPECT_THAT(source, MatchesRegex(".*test_log.cpp$"));
+ EXPECT_THAT(source, MatchesRegex(".*log_test.cpp$"));
EXPECT_STREQ("unimplemented: the-ultimite-feature", message);
};
const spv_position_t&, const char* message) {
++invocation;
EXPECT_EQ(SPV_MSG_INTERNAL_ERROR, level);
- EXPECT_THAT(source, MatchesRegex(".*test_log.cpp$"));
+ EXPECT_THAT(source, MatchesRegex(".*log_test.cpp$"));
EXPECT_STREQ("unreachable", message);
};
#include "gmock/gmock.h"
-#include "TestFixture.h"
-#include "UnitSPIRV.h"
+#include "test_fixture.h"
+#include "unit_spirv.h"
#include "source/name_mapper.h"
#include <vector>
-#include "TestFixture.h"
-#include "UnitSPIRV.h"
+#include "test_fixture.h"
+#include "unit_spirv.h"
namespace {
// See the License for the specific language governing permissions and
// limitations under the License.
-#include "UnitSPIRV.h"
+#include "unit_spirv.h"
namespace {
// See the License for the specific language governing permissions and
// limitations under the License.
-#include "UnitSPIRV.h"
+#include "unit_spirv.h"
#include "enum_set.h"
// See the License for the specific language governing permissions and
// limitations under the License.
-#include "UnitSPIRV.h"
+#include "unit_spirv.h"
namespace {
#include <gmock/gmock.h>
-#include "UnitSPIRV.h"
+#include "unit_spirv.h"
namespace {
#include "gmock/gmock.h"
#include "enum_set.h"
-#include "UnitSPIRV.h"
+#include "unit_spirv.h"
namespace {
// See the License for the specific language governing permissions and
// limitations under the License.
-#include "UnitSPIRV.h"
+#include "unit_spirv.h"
#include "gmock/gmock.h"
#include "source/operand.h"
// See the License for the specific language governing permissions and
// limitations under the License.
-#include "UnitSPIRV.h"
+#include "unit_spirv.h"
namespace {
# limitations under the License.
add_spvtools_unittest(TARGET instruction
- SRCS test_instruction.cpp
+ SRCS instruction_test.cpp
LIBS SPIRV-Tools-opt
)
add_spvtools_unittest(TARGET ir_loader
- SRCS test_ir_loader.cpp
+ SRCS ir_loader_test.cpp
LIBS SPIRV-Tools-opt
)
add_spvtools_unittest(TARGET pass_manager
SRCS module_utils.h
- test_pass_manager.cpp
+ pass_manager_test.cpp
LIBS SPIRV-Tools-opt
)
add_spvtools_unittest(TARGET pass_strip_debug_info
- SRCS test_strip_debug_info.cpp pass_utils.cpp
+ SRCS strip_debug_info_test.cpp pass_utils.cpp
LIBS SPIRV-Tools-opt
)
add_spvtools_unittest(TARGET pass_freeze_spec_const
- SRCS test_freeze_spec_const.cpp pass_utils.cpp
+ SRCS freeze_spec_const_test.cpp pass_utils.cpp
LIBS SPIRV-Tools-opt
)
add_spvtools_unittest(TARGET pass_eliminate_dead_const
- SRCS test_eliminate_dead_const.cpp pass_utils.cpp
+ SRCS eliminate_dead_const_test.cpp pass_utils.cpp
LIBS SPIRV-Tools-opt
)
add_spvtools_unittest(TARGET pass_utils
- SRCS test_utils.cpp pass_utils.cpp
+ SRCS utils_test.cpp pass_utils.cpp
LIBS SPIRV-Tools-opt
)
add_spvtools_unittest(TARGET def_use
- SRCS test_def_use.cpp pass_utils.cpp
+ SRCS def_use_test.cpp pass_utils.cpp
LIBS SPIRV-Tools-opt
)
add_spvtools_unittest(TARGET assembly_builder
- SRCS test_assembly_builder.cpp pass_utils.cpp
+ SRCS assembly_builder_test.cpp pass_utils.cpp
LIBS SPIRV-Tools-opt
)
add_spvtools_unittest(TARGET types
- SRCS test_types.cpp
+ SRCS types_test.cpp
LIBS SPIRV-Tools-opt
)
add_spvtools_unittest(TARGET type_manager
- SRCS test_type_manager.cpp
+ SRCS type_manager_test.cpp
LIBS SPIRV-Tools-opt
)
add_spvtools_unittest(TARGET iterator
- SRCS test_iterator.cpp
+ SRCS iterator_test.cpp
LIBS SPIRV-Tools-opt
)
add_spvtools_unittest(TARGET module
SRCS module_utils.h
- test_module.cpp
+ module_test.cpp
LIBS SPIRV-Tools-opt
)
add_spvtools_unittest(TARGET pass_fold_spec_const_op_composite
- SRCS test_fold_spec_const_op_composite.cpp pass_utils.cpp
+ SRCS fold_spec_const_op_composite_test.cpp pass_utils.cpp
LIBS SPIRV-Tools-opt
)
add_spvtools_unittest(TARGET pass_unify_const
- SRCS test_unify_const.cpp
+ SRCS unify_const_test.cpp
LIBS SPIRV-Tools-opt
)
add_spvtools_unittest(TARGET pass_set_spec_const_default_value
- SRCS test_set_spec_const_default_value.cpp pass_utils.cpp
+ SRCS set_spec_const_default_value_test.cpp pass_utils.cpp
LIBS SPIRV-Tools-opt
)
add_spvtools_unittest(TARGET line_debug_info
- SRCS test_line_debug_info.cpp pass_utils.cpp
+ SRCS line_debug_info_test.cpp pass_utils.cpp
LIBS SPIRV-Tools-opt
)
#include "gmock/gmock.h"
#include "spirv-tools/libspirv.h"
-#include "UnitSPIRV.h"
+#include "unit_spirv.h"
namespace {
// See the License for the specific language governing permissions and
// limitations under the License.
-#include "UnitSPIRV.h"
+#include "unit_spirv.h"
#include <sstream>
#include <gmock/gmock.h>
-#include "UnitSPIRV.h"
+#include "unit_spirv.h"
#include "source/spirv_target_env.h"
#ifndef LIBSPIRV_TEST_TEST_FIXTURE_H_
#define LIBSPIRV_TEST_TEST_FIXTURE_H_
-#include "UnitSPIRV.h"
+#include "unit_spirv.h"
namespace spvtest {
// See the License for the specific language governing permissions and
// limitations under the License.
-#include "UnitSPIRV.h"
+#include "unit_spirv.h"
namespace {
// See the License for the specific language governing permissions and
// limitations under the License.
-#include "UnitSPIRV.h"
+#include "unit_spirv.h"
namespace {
// See the License for the specific language governing permissions and
// limitations under the License.
-#include "UnitSPIRV.h"
+#include "unit_spirv.h"
-#include "TestFixture.h"
+#include "test_fixture.h"
#include "gmock/gmock.h"
#include "message.h"
// See the License for the specific language governing permissions and
// limitations under the License.
-#include "UnitSPIRV.h"
+#include "unit_spirv.h"
#include <string>
// Assembler tests for instructions in the "Annotation" section of the
// SPIR-V spec.
-#include "UnitSPIRV.h"
+#include "unit_spirv.h"
#include <sstream>
#include <tuple>
-#include "TestFixture.h"
+#include "test_fixture.h"
#include "gmock/gmock.h"
namespace {
// Assembler tests for instructions in the "Barrier Instructions" section
// of the SPIR-V spec.
-#include "UnitSPIRV.h"
+#include "unit_spirv.h"
-#include "TestFixture.h"
+#include "test_fixture.h"
#include "gmock/gmock.h"
namespace {
// Assembler tests for instructions in the "Group Instrucions" section of the
// SPIR-V spec.
-#include "UnitSPIRV.h"
+#include "unit_spirv.h"
#include <cstdint>
#include <limits>
-#include "TestFixture.h"
+#include "test_fixture.h"
#include "gmock/gmock.h"
namespace {
#include <tuple>
#include <vector>
-#include "UnitSPIRV.h"
+#include "unit_spirv.h"
-#include "TestFixture.h"
+#include "test_fixture.h"
#include "gmock/gmock.h"
namespace {
// Assembler tests for instructions in the "Debug" section of the
// SPIR-V spec.
-#include "UnitSPIRV.h"
+#include "unit_spirv.h"
#include <string>
-#include "TestFixture.h"
+#include "test_fixture.h"
#include "gmock/gmock.h"
namespace {
// Assembler tests for instructions in the "Device-Side Enqueue Instructions"
// section of the SPIR-V spec.
-#include "UnitSPIRV.h"
+#include "unit_spirv.h"
#include "gmock/gmock.h"
-#include "TestFixture.h"
+#include "test_fixture.h"
namespace {
using spvtest::MakeInstruction;
// Assembler tests for instructions in the "Extension Instruction" section
// of the SPIR-V spec.
-#include "UnitSPIRV.h"
+#include "unit_spirv.h"
-#include "TestFixture.h"
+#include "test_fixture.h"
#include "gmock/gmock.h"
#include "spirv/1.0/GLSL.std.450.h"
#include "spirv/1.0/OpenCL.std.h"
// Assembler tests for instructions in the "Function" section of the
// SPIR-V spec.
-#include "UnitSPIRV.h"
+#include "unit_spirv.h"
#include "gmock/gmock.h"
-#include "TestFixture.h"
+#include "test_fixture.h"
namespace {
// Assembler tests for instructions in the "Group Instrucions" section of the
// SPIR-V spec.
-#include "UnitSPIRV.h"
+#include "unit_spirv.h"
#include "gmock/gmock.h"
-#include "TestFixture.h"
+#include "test_fixture.h"
namespace {
// Assembler tests for instructions in the "Image Instructions" section of
// the SPIR-V spec.
-#include "UnitSPIRV.h"
+#include "unit_spirv.h"
#include "gmock/gmock.h"
-#include "TestFixture.h"
+#include "test_fixture.h"
namespace {
// Assembler tests for literal numbers and literal strings.
-#include "TestFixture.h"
+#include "test_fixture.h"
namespace {
// Assembler tests for instructions in the "Memory Instructions" section of
// the SPIR-V spec.
-#include "UnitSPIRV.h"
+#include "unit_spirv.h"
#include <sstream>
#include "gmock/gmock.h"
-#include "TestFixture.h"
+#include "test_fixture.h"
namespace {
// Assembler tests for instructions in the "Miscellaneous" section of the
// SPIR-V spec.
-#include "UnitSPIRV.h"
+#include "unit_spirv.h"
-#include "TestFixture.h"
+#include "test_fixture.h"
#include "gmock/gmock.h"
namespace {
// Assembler tests for instructions in the "Mode-Setting" section of the
// SPIR-V spec.
-#include "UnitSPIRV.h"
+#include "unit_spirv.h"
-#include "TestFixture.h"
+#include "test_fixture.h"
#include "gmock/gmock.h"
namespace {
// See the License for the specific language governing permissions and
// limitations under the License.
-#include "TestFixture.h"
+#include "test_fixture.h"
#include "gmock/gmock.h"
namespace {
// Assembler tests for instructions in the "Barrier Instructions" section
// of the SPIR-V spec.
-#include "UnitSPIRV.h"
+#include "unit_spirv.h"
-#include "TestFixture.h"
+#include "test_fixture.h"
#include "gmock/gmock.h"
namespace {
// Assembler tests for instructions in the "Type-Declaration" section of the
// SPIR-V spec.
-#include "UnitSPIRV.h"
+#include "unit_spirv.h"
-#include "TestFixture.h"
+#include "test_fixture.h"
#include "gmock/gmock.h"
namespace {
#include "gmock/gmock.h"
-#include "TestFixture.h"
-#include "UnitSPIRV.h"
+#include "test_fixture.h"
+#include "unit_spirv.h"
#include "source/spirv_constant.h"
#include "source/util/bitutils.h"
#include "source/util/hex_float.h"
// See the License for the specific language governing permissions and
// limitations under the License.
-#include "UnitSPIRV.h"
+#include "unit_spirv.h"
namespace {
// See the License for the specific language governing permissions and
// limitations under the License.
-#include "UnitSPIRV.h"
+#include "unit_spirv.h"
#include "gmock/gmock.h"
-#include "TestFixture.h"
+#include "test_fixture.h"
namespace {
# limitations under the License.
set(VAL_TEST_COMMON_SRCS
- ${CMAKE_CURRENT_SOURCE_DIR}/../TestFixture.h
- ${CMAKE_CURRENT_SOURCE_DIR}/../UnitSPIRV.h
- ${CMAKE_CURRENT_SOURCE_DIR}/../UnitSPIRV.cpp
+ ${CMAKE_CURRENT_SOURCE_DIR}/../test_fixture.h
+ ${CMAKE_CURRENT_SOURCE_DIR}/../unit_spirv.h
+ ${CMAKE_CURRENT_SOURCE_DIR}/../unit_spirv.cpp
${CMAKE_CURRENT_SOURCE_DIR}/ValidateFixtures.h
${CMAKE_CURRENT_SOURCE_DIR}/ValidateFixtures.cpp
)
#include "gmock/gmock.h"
-#include "TestFixture.h"
-#include "UnitSPIRV.h"
+#include "test_fixture.h"
+#include "unit_spirv.h"
#include "ValidateFixtures.h"
#include "source/diagnostic.h"
#include "source/validate.h"
// Validation tests for Logical Layout
#include <gmock/gmock.h>
-#include "TestFixture.h"
-#include "UnitSPIRV.h"
+#include "test_fixture.h"
+#include "unit_spirv.h"
#include "ValidateFixtures.h"
#include "source/assembly_grammar.h"
#include "gmock/gmock.h"
-#include "UnitSPIRV.h"
+#include "unit_spirv.h"
#include "ValidateFixtures.h"
#include "source/diagnostic.h"
// Validation tests for SSA
-#include "UnitSPIRV.h"
+#include "unit_spirv.h"
#include "ValidateFixtures.h"
#include "gmock/gmock.h"
#include <tuple>
#include <utility>
-#include "TestFixture.h"
+#include "test_fixture.h"
namespace spvtest {
#ifndef LIBSPIRV_TEST_VALIDATE_FIXTURES_H_
#define LIBSPIRV_TEST_VALIDATE_FIXTURES_H_
-#include "UnitSPIRV.h"
+#include "unit_spirv.h"
namespace spvtest {
#include <sstream>
#include <string>
-#include "TestFixture.h"
+#include "test_fixture.h"
// NOTE: The tests in this file are ONLY testing ID usage, there for the input
// SPIR-V does not follow the logical layout rules from the spec in all cases in