third_party_spirv-tools/test
Corentin Wallez 2d9a325264 Refactor BUILD.gn so can easily be embedded in other projects
1.
BUILD.gn: Don't use the extra Chromium clang warnings

Also removes the unused .gn secondary_sources.

2.

Move fuzzers in test/ instead of testing/

This frees up testing/ to be the git subtree of Chromium's src/testing/
that contains test.gni, gtest, gmock and libfuzzer

3.

DEPS: get the whole testing/ subtree of Chromium

4.

BUILD.gn: Simplify the standalone gtest targets

These targets definitions are inspired from ANGLE's and add a variable
that is the path of the googletest directory so that it can be made
overridable in future commits.

6.

BUILD.gn: Add overridable variables for deps dirs

This avoids hardcoded paths to dependencies that make it hard to
integrate SPIRV-Tools in other GN projects.
2018-08-03 10:06:11 -04:00
..
comp Change libspirv to spvtools namespace (#1678) 2018-07-07 09:38:00 -04:00
fuzzers Refactor BUILD.gn so can easily be embedded in other projects 2018-08-03 10:06:11 -04:00
link Rewrite include guards (#1793) 2018-08-03 08:05:33 -04:00
opt Remove using namespace commands. (#1794) 2018-08-03 08:05:52 -04:00
scripts Added --compact-ids to /tools/opt 2017-04-20 10:54:39 -04:00
stats Change libspirv to spvtools namespace (#1678) 2018-07-07 09:38:00 -04:00
util Move tests into namespaces (#1689) 2018-07-11 09:24:49 -04:00
val Rewrite include guards (#1793) 2018-08-03 08:05:33 -04:00
assembly_context_test.cpp Move tests into namespaces (#1689) 2018-07-11 09:24:49 -04:00
assembly_format_test.cpp Move tests into namespaces (#1689) 2018-07-11 09:24:49 -04:00
binary_destroy_test.cpp Move tests into namespaces (#1689) 2018-07-11 09:24:49 -04:00
binary_endianness_test.cpp Move tests into namespaces (#1689) 2018-07-11 09:24:49 -04:00
binary_header_get_test.cpp Move tests into namespaces (#1689) 2018-07-11 09:24:49 -04:00
binary_parse_test.cpp Change libspirv to spvtools namespace (#1678) 2018-07-07 09:38:00 -04:00
binary_strnlen_s_test.cpp Move tests into namespaces (#1689) 2018-07-11 09:24:49 -04:00
binary_to_text_test.cpp Remove using std::<foo> statements. (#1756) 2018-08-01 14:58:12 -04:00
binary_to_text.literal_test.cpp Move tests into namespaces (#1689) 2018-07-11 09:24:49 -04:00
bit_stream.cpp Move utils/ to spvtools::utils 2018-07-06 16:47:46 -04:00
c_interface_test.cpp Move tests into namespaces (#1689) 2018-07-11 09:24:49 -04:00
CMakeLists.txt Add --time-report to spirv-opt 2018-03-20 21:30:06 -04:00
comment_test.cpp Move tests into namespaces (#1689) 2018-07-11 09:24:49 -04:00
cpp_interface_test.cpp Make sure all instructions are in the ordered list. 2018-07-31 09:55:57 -04:00
diagnostic_test.cpp Change libspirv to spvtools namespace (#1678) 2018-07-07 09:38:00 -04:00
enum_set_test.cpp Change libspirv to spvtools namespace (#1678) 2018-07-07 09:38:00 -04:00
enum_string_mapping_test.cpp Change libspirv to spvtools namespace (#1678) 2018-07-07 09:38:00 -04:00
ext_inst.debuginfo_test.cpp Move tests into namespaces (#1689) 2018-07-11 09:24:49 -04:00
ext_inst.glsl_test.cpp Move tests into namespaces (#1689) 2018-07-11 09:24:49 -04:00
ext_inst.opencl_test.cpp Move tests into namespaces (#1689) 2018-07-11 09:24:49 -04:00
fix_word_test.cpp Move tests into namespaces (#1689) 2018-07-11 09:24:49 -04:00
generator_magic_number_test.cpp Move tests into namespaces (#1689) 2018-07-11 09:24:49 -04:00
hex_float_test.cpp Move tests into namespaces (#1689) 2018-07-11 09:24:49 -04:00
huffman_codec.cpp Move utils/ to spvtools::utils 2018-07-06 16:47:46 -04:00
immediate_int_test.cpp Move utils/ to spvtools::utils 2018-07-06 16:47:46 -04:00
libspirv_macros_test.cpp Move tests into namespaces (#1689) 2018-07-11 09:24:49 -04:00
log_test.cpp Move tests into namespaces (#1689) 2018-07-11 09:24:49 -04:00
move_to_front_test.cpp Move utils/ to spvtools::utils 2018-07-06 16:47:46 -04:00
name_mapper_test.cpp Move tests into namespaces (#1689) 2018-07-11 09:24:49 -04:00
named_id_test.cpp Move tests into namespaces (#1689) 2018-07-11 09:24:49 -04:00
opcode_make_test.cpp Move tests into namespaces (#1689) 2018-07-11 09:24:49 -04:00
opcode_require_capabilities_test.cpp Change libspirv to spvtools namespace (#1678) 2018-07-07 09:38:00 -04:00
opcode_split_test.cpp Move tests into namespaces (#1689) 2018-07-11 09:24:49 -04:00
opcode_table_get_test.cpp Move tests into namespaces (#1689) 2018-07-11 09:24:49 -04:00
operand_capabilities_test.cpp Remove using std::<foo> statements. (#1756) 2018-08-01 14:58:12 -04:00
operand_pattern_test.cpp Move tests into namespaces (#1689) 2018-07-11 09:24:49 -04:00
operand_test.cpp Remove using std::<foo> statements. (#1756) 2018-08-01 14:58:12 -04:00
operand-class-test-coverage.csv Fix operand class test coverage table. 2016-09-23 11:58:25 -04:00
parse_number_test.cpp Move utils/ to spvtools::utils 2018-07-06 16:47:46 -04:00
preserve_numeric_ids_test.cpp Move tests into namespaces (#1689) 2018-07-11 09:24:49 -04:00
software_version_test.cpp Move tests into namespaces (#1689) 2018-07-11 09:24:49 -04:00
string_utils_test.cpp Move utils/ to spvtools::utils 2018-07-06 16:47:46 -04:00
target_env_test.cpp Move tests into namespaces (#1689) 2018-07-11 09:24:49 -04:00
test_fixture.h Rewrite include guards (#1793) 2018-08-03 08:05:33 -04:00
text_advance_test.cpp Change libspirv to spvtools namespace (#1678) 2018-07-07 09:38:00 -04:00
text_destroy_test.cpp Move tests into namespaces (#1689) 2018-07-11 09:24:49 -04:00
text_literal_test.cpp Move tests into namespaces (#1689) 2018-07-11 09:24:49 -04:00
text_start_new_inst_test.cpp Change libspirv to spvtools namespace (#1678) 2018-07-07 09:38:00 -04:00
text_to_binary_test.cpp Change libspirv to spvtools namespace (#1678) 2018-07-07 09:38:00 -04:00
text_to_binary.annotation_test.cpp Remove using std::<foo> statements. (#1756) 2018-08-01 14:58:12 -04:00
text_to_binary.barrier_test.cpp Move tests into namespaces (#1689) 2018-07-11 09:24:49 -04:00
text_to_binary.constant_test.cpp Move tests into namespaces (#1689) 2018-07-11 09:24:49 -04:00
text_to_binary.control_flow_test.cpp Remove using std::<foo> statements. (#1756) 2018-08-01 14:58:12 -04:00
text_to_binary.debug_test.cpp Move tests into namespaces (#1689) 2018-07-11 09:24:49 -04:00
text_to_binary.device_side_enqueue_test.cpp Move tests into namespaces (#1689) 2018-07-11 09:24:49 -04:00
text_to_binary.extension_test.cpp Move tests into namespaces (#1689) 2018-07-11 09:24:49 -04:00
text_to_binary.function_test.cpp Move tests into namespaces (#1689) 2018-07-11 09:24:49 -04:00
text_to_binary.group_test.cpp Move tests into namespaces (#1689) 2018-07-11 09:24:49 -04:00
text_to_binary.image_test.cpp Move tests into namespaces (#1689) 2018-07-11 09:24:49 -04:00
text_to_binary.literal_test.cpp Move tests into namespaces (#1689) 2018-07-11 09:24:49 -04:00
text_to_binary.memory_test.cpp Move tests into namespaces (#1689) 2018-07-11 09:24:49 -04:00
text_to_binary.misc_test.cpp Move tests into namespaces (#1689) 2018-07-11 09:24:49 -04:00
text_to_binary.mode_setting_test.cpp Remove using std::<foo> statements. (#1756) 2018-08-01 14:58:12 -04:00
text_to_binary.pipe_storage_test.cpp Move tests into namespaces (#1689) 2018-07-11 09:24:49 -04:00
text_to_binary.reserved_sampling_test.cpp Move tests into namespaces (#1689) 2018-07-11 09:24:49 -04:00
text_to_binary.subgroup_dispatch_test.cpp Remove using std::<foo> statements. (#1756) 2018-08-01 14:58:12 -04:00
text_to_binary.type_declaration_test.cpp Move tests into namespaces (#1689) 2018-07-11 09:24:49 -04:00
text_word_get_test.cpp Change libspirv to spvtools namespace (#1678) 2018-07-07 09:38:00 -04:00
timer_test.cpp Move utils/ to spvtools::utils 2018-07-06 16:47:46 -04:00
unit_spirv.cpp Move tests into namespaces (#1689) 2018-07-11 09:24:49 -04:00
unit_spirv.h Rewrite include guards (#1793) 2018-08-03 08:05:33 -04:00