summaryrefslogtreecommitdiffstats
path: root/configure.py
diff options
context:
space:
mode:
authorJan Niklas Hasse <jhasse@bixense.com>2019-05-28 12:58:03 (GMT)
committerJan Niklas Hasse <jhasse@bixense.com>2020-11-18 13:13:50 (GMT)
commit836abffe5eb34485e755a6976815656d28984e92 (patch)
treee9d450bd1abe73340d25ee4dfd459b100e0c8347 /configure.py
parenta30ccaef7314f5aa858ba3167af08be4b518d960 (diff)
downloadNinja-836abffe5eb34485e755a6976815656d28984e92.zip
Ninja-836abffe5eb34485e755a6976815656d28984e92.tar.gz
Ninja-836abffe5eb34485e755a6976815656d28984e92.tar.bz2
Use GoogleTest instead of our own framework
Fixes #1248.
Diffstat (limited to 'configure.py')
-rwxr-xr-xconfigure.py35
1 files changed, 0 insertions, 35 deletions
diff --git a/configure.py b/configure.py
index cded265..ed56fab 100755
--- a/configure.py
+++ b/configure.py
@@ -559,41 +559,6 @@ if options.bootstrap:
# build.ninja file.
n = ninja_writer
-n.comment('Tests all build into ninja_test executable.')
-
-objs = []
-if platform.is_msvc():
- cxxvariables = [('pdb', 'ninja_test.pdb')]
-
-for name in ['build_log_test',
- 'build_test',
- 'clean_test',
- 'clparser_test',
- 'depfile_parser_test',
- 'deps_log_test',
- 'dyndep_parser_test',
- 'disk_interface_test',
- 'edit_distance_test',
- 'graph_test',
- 'lexer_test',
- 'manifest_parser_test',
- 'ninja_test',
- 'state_test',
- 'string_piece_util_test',
- 'subprocess_test',
- 'test',
- 'util_test']:
- objs += cxx(name, variables=cxxvariables)
-if platform.is_windows():
- for name in ['includes_normalize_test', 'msvc_helper_test']:
- objs += cxx(name, variables=cxxvariables)
-
-ninja_test = n.build(binary('ninja_test'), 'link', objs, implicit=ninja_lib,
- variables=[('libs', libs)])
-n.newline()
-all_targets += ninja_test
-
-
n.comment('Ancillary executables.')
if platform.is_aix() and '-maix64' not in ldflags: