diff options
| author | MaulingMonkey <git@maulingmonkey.com> | 2019-05-20 02:44:26 -0700 |
|---|---|---|
| committer | MaulingMonkey <git@maulingmonkey.com> | 2019-05-20 02:44:26 -0700 |
| commit | 0a423a70bb303195f09753dfdc5a7c4e149e29ff (patch) | |
| tree | 78299bbc196698692d945aaaf59513ab3cdc0c4b /src/tools/compiletest | |
| parent | e33c4415b3a504bd723328a38bce0f14786db61b (diff) | |
| download | rust-0a423a70bb303195f09753dfdc5a7c4e149e29ff.tar.gz rust-0a423a70bb303195f09753dfdc5a7c4e149e29ff.zip | |
Fix CDB support tidy check line length failures.
Diffstat (limited to 'src/tools/compiletest')
| -rw-r--r-- | src/tools/compiletest/src/main.rs | 2 | ||||
| -rw-r--r-- | src/tools/compiletest/src/runtest.rs | 9 |
2 files changed, 6 insertions, 5 deletions
diff --git a/src/tools/compiletest/src/main.rs b/src/tools/compiletest/src/main.rs index 631ed067c34..48ecd5a9142 100644 --- a/src/tools/compiletest/src/main.rs +++ b/src/tools/compiletest/src/main.rs @@ -873,7 +873,7 @@ fn find_cdb(target: &String) -> Option<OsString> { let mut path = PathBuf::with_capacity(64); path.push(pf86); - path.push(r"Windows Kits\10\Debuggers"); // We could check more known install locations (8.1?) + path.push(r"Windows Kits\10\Debuggers"); // We could check 8.1 etc. too? path.push(cdb_arch); path.push(r"cdb.exe"); diff --git a/src/tools/compiletest/src/runtest.rs b/src/tools/compiletest/src/runtest.rs index c0dedccdff8..c940e2de665 100644 --- a/src/tools/compiletest/src/runtest.rs +++ b/src/tools/compiletest/src/runtest.rs @@ -3,7 +3,8 @@ use crate::common::CompareMode; use crate::common::{expected_output_path, UI_EXTENSIONS, UI_FIXED, UI_STDERR, UI_STDOUT}; use crate::common::{output_base_dir, output_base_name, output_testname_unique}; -use crate::common::{Codegen, CodegenUnits, DebugInfoCdb, DebugInfoGdbLldb, DebugInfoGdb, DebugInfoLldb, Rustdoc}; +use crate::common::{Codegen, CodegenUnits, Rustdoc}; +use crate::common::{DebugInfoCdb, DebugInfoGdbLldb, DebugInfoGdb, DebugInfoLldb}; use crate::common::{CompileFail, Pretty, RunFail, RunPass, RunPassValgrind}; use crate::common::{Config, TestPaths}; use crate::common::{Incremental, MirOpt, RunMake, Ui, JsDocTest, Assembly}; @@ -709,7 +710,7 @@ impl<'test> TestCx<'test> { // https://docs.microsoft.com/en-us/windows-hardware/drivers/debugger/debugger-commands let mut script_str = String::with_capacity(2048); script_str.push_str("version\n"); // List CDB (and more) version info in test output - script_str.push_str(".nvlist\n"); // List loaded `*.natvis` files (bulk of MSVC debugger customizations) + script_str.push_str(".nvlist\n"); // List loaded `*.natvis` files, bulk of custom MSVC debug // Set breakpoints on every line that contains the string "#break" let source_file_name = self.testpaths.file.file_name().unwrap().to_string_lossy(); @@ -1968,8 +1969,8 @@ impl<'test> TestCx<'test> { rustc.arg(dir_opt); } - RunFail | RunPassValgrind | Pretty | DebugInfoCdb | DebugInfoGdbLldb | DebugInfoGdb | DebugInfoLldb - | Codegen | Rustdoc | RunMake | CodegenUnits | JsDocTest | Assembly => { + RunFail | RunPassValgrind | Pretty | DebugInfoCdb | DebugInfoGdbLldb | DebugInfoGdb + | DebugInfoLldb | Codegen | Rustdoc | RunMake | CodegenUnits | JsDocTest | Assembly => { // do not use JSON output } } |
