diff options
| author | bors <bors@rust-lang.org> | 2020-01-23 19:39:07 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2020-01-23 19:39:07 +0000 |
| commit | 41f41b2354778375dc72f7ed1d9323626580dc4d (patch) | |
| tree | 43cd87fbf04e08797e7fea8d20d8d5f0eaf83a3b /src/bootstrap | |
| parent | e0bbe7915e2b663ac84244918d6d06e0747ed33e (diff) | |
| parent | 5c384ab00c7b4b39e457b75d385e9cbe12e699f5 (diff) | |
| download | rust-41f41b2354778375dc72f7ed1d9323626580dc4d.tar.gz rust-41f41b2354778375dc72f7ed1d9323626580dc4d.zip | |
Auto merge of #68391 - tmiasko:compiletest-debuginfo, r=alexcrichton
compiletest: Simplify multi-debugger support Previous implementation used a single mode type to store various pieces of otherwise loosely related information: * Whether debuginfo mode is in use or not. * Which debuggers should run in general. * Which debuggers are enabled for particular test case. The new implementation introduces a separation between those aspects. There is a single debuginfo mode parametrized by a debugger type. The debugger detection is performed first and a separate configuration is created for each detected debugger. The test cases are gathered independently for each debugger which makes it trivial to implement support for `ignore` / `only` conditions. Functional changes: * A single `debuginfo` entry point (rather than `debuginfo-cdb`, `debuginfo-gdb+lldb`, etc.). * Debugger name is included in the test name. * Test outputs are placed in per-debugger directory. * Fixed spurious hash mismatch. Previously, the config mode would change from `DebugInfoGdbLldb` (when collecting tests) to `DebugInfoGdb` or `DebugInfoLldb` (when running them) which would affect hash computation. * PYTHONPATH is additionally included in gdb hash. * lldb-python and lldb-python-dir are additionally included in lldb hash.
Diffstat (limited to 'src/bootstrap')
| -rw-r--r-- | src/bootstrap/test.rs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/bootstrap/test.rs b/src/bootstrap/test.rs index 10e07489e12..a186c16f1aa 100644 --- a/src/bootstrap/test.rs +++ b/src/bootstrap/test.rs @@ -957,14 +957,6 @@ impl Step for Compiletest { } if suite == "debuginfo" { - let msvc = builder.config.build.contains("msvc"); - if mode == "debuginfo" { - return builder.ensure(Compiletest { - mode: if msvc { "debuginfo-cdb" } else { "debuginfo-gdb+lldb" }, - ..self - }); - } - builder .ensure(dist::DebuggerScripts { sysroot: builder.sysroot(compiler), host: target }); } |
