blob: 76d37100b5383405dd8940932ee0f9306b30bca6 [file] [log] [blame]
# Copyright 2012 Google Inc. All Rights Reserved.
#
# 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.
# Unittests should be added to this file so that they are discovered by
# the unittest infrastructure. Each unit-test should be a target of a
# dependency, and should correspond to an executable that will be created
# in the output directory. For example:
#
# '<(DEPTH)/syzygy/pdb/pdb.gyp:pdb_unittests',
#
# The target of this dependency rule is 'pdb_unittests', and it
# corresponds to the executable '<build_dir>/Debug/pdb_unittests.exe'.
# (Or 'Release' instead of 'Debug', as the case may be.)
{
'variables': {
'unittests': [
# Common tests.
'<(DEPTH)/syzygy/agent/common/common.gyp:agent_common_unittests',
# Agent tests.
'<(DEPTH)/syzygy/agent/asan/asan.gyp:asan_rtl_unittests',
'<(DEPTH)/syzygy/agent/coverage/coverage.gyp:coverage_unittests',
'<(DEPTH)/syzygy/agent/profiler/profiler.gyp:profile_unittests',
'<(DEPTH)/syzygy/agent/basic_block_entry/basic_block_entry.gyp:'
'basic_block_entry_unittests',
# Block graph tests.
'<(DEPTH)/syzygy/block_graph/block_graph.gyp:block_graph_unittests',
'<(DEPTH)/syzygy/block_graph/transforms/block_graph_transforms.gyp:'
'block_graph_transforms_unittests',
'<(DEPTH)/syzygy/block_graph/orderers/block_graph_orderers.gyp:'
'block_graph_orderers_unittests',
# Common tests.
'<(DEPTH)/syzygy/common/common.gyp:common_unittests',
# Core tests.
'<(DEPTH)/syzygy/core/core.gyp:core_unittests',
# Grinder tests.
'<(DEPTH)/syzygy/grinder/grinder.gyp:grinder_unittests',
# Instrumenter tests.
'<(DEPTH)/syzygy/instrument/instrument.gyp:instrument_unittests',
# PDB tests.
'<(DEPTH)/syzygy/pdb/pdb.gyp:pdb_unittests',
# PE tests.
'<(DEPTH)/syzygy/pe/pe.gyp:pe_unittests',
'<(DEPTH)/syzygy/pe/orderers/pe_orderers.gyp:pe_orderers_unittests',
'<(DEPTH)/syzygy/pe/transforms/pe_transforms.gyp:pe_transforms_unittests',
# Playback tests.
'<(DEPTH)/syzygy/playback/playback.gyp:playback_unittests',
# Relink tests.
'<(DEPTH)/syzygy/relink/relink.gyp:relink_unittests',
# Reorder tests.
'<(DEPTH)/syzygy/reorder/reorder.gyp:reorder_unittests',
# Simulator tests.
'<(DEPTH)/syzygy/simulate/simulate.gyp:simulate_unittests',
# Trace tests.
'<(DEPTH)/syzygy/trace/client/client.gyp:rpc_client_lib_unittests',
'<(DEPTH)/syzygy/trace/parse/parse.gyp:parse_unittests',
'<(DEPTH)/syzygy/trace/protocol/protocol.gyp:protocol_unittests',
'<(DEPTH)/syzygy/trace/service/service.gyp:rpc_service_unittests',
# WSDump tests.
'<(DEPTH)/syzygy/wsdump/wsdump.gyp:wsdump_unittests',
],
}
}