diff options
| author | kennytm <kennytm@gmail.com> | 2018-10-18 10:47:20 +0800 |
|---|---|---|
| committer | kennytm <kennytm@gmail.com> | 2018-10-18 12:54:49 +0800 |
| commit | 43ac030d7e6848bf06298153471567525618f955 (patch) | |
| tree | 8681feac3e5c0cde67647e38178fe100a123fc45 /src/bootstrap | |
| parent | fd616f01705ddc580948279cb22f1f69b753acf4 (diff) | |
| parent | ac66b04ccb04e264004189970c817eb3da208f4a (diff) | |
| download | rust-43ac030d7e6848bf06298153471567525618f955.tar.gz rust-43ac030d7e6848bf06298153471567525618f955.zip | |
Rollup merge of #54964 - tromey:run-both-gdb-and-lldb-tests, r=nikomatsakis
Run both lldb and gdb tests Currently lldb tests are run only on macOS, and gdb tests are only run elsewhere. This patch changes this to run tests depending on what is available. One test is changed, as it was previously marked as failing on macOS, whereas really it is a generic failure with lldb. Closes #54721
Diffstat (limited to 'src/bootstrap')
| -rw-r--r-- | src/bootstrap/test.rs | 20 |
1 files changed, 6 insertions, 14 deletions
diff --git a/src/bootstrap/test.rs b/src/bootstrap/test.rs index 633c15b54b9..80c89b9ff38 100644 --- a/src/bootstrap/test.rs +++ b/src/bootstrap/test.rs @@ -812,8 +812,7 @@ default_test!(Incremental { default_test!(Debuginfo { path: "src/test/debuginfo", - // What this runs varies depending on the native platform being apple - mode: "debuginfo-XXX", + mode: "debuginfo", suite: "debuginfo" }); @@ -950,18 +949,11 @@ impl Step for Compiletest { return; } - if mode == "debuginfo-XXX" { - return if builder.config.build.contains("apple") { - builder.ensure(Compiletest { - mode: "debuginfo-lldb", - ..self - }); - } else { - builder.ensure(Compiletest { - mode: "debuginfo-gdb", - ..self - }); - }; + if mode == "debuginfo" { + return builder.ensure(Compiletest { + mode: "debuginfo-both", + ..self + }); } builder.ensure(dist::DebuggerScripts { |
