Skip to content

Commit 2790184

Browse files
committed
Auto merge of #23695 - sae-bom:mac-android-debuginfo, r=alexcrichton
1. when mac-android cross compile and make-check , make it use gdb instead of lldb so as to it passes debuginfo tests. 2. ignore some tests on aarch64
2 parents a3b1361 + c66a2b7 commit 2790184

File tree

5 files changed

+10
-1
lines changed

5 files changed

+10
-1
lines changed

mk/tests.mk

+5
Original file line numberDiff line numberDiff line change
@@ -569,6 +569,11 @@ ifeq ($(CFG_OSTYPE),apple-darwin)
569569
CTEST_DISABLE_debuginfo-gdb = "gdb on darwin needs root"
570570
endif
571571

572+
ifeq ($(findstring android, $(CFG_TARGET)), android)
573+
CTEST_DISABLE_debuginfo-gdb =
574+
CTEST_DISABLE_debuginfo-lldb = "lldb tests are disabled on android"
575+
endif
576+
572577
# CTEST_DISABLE_NONSELFHOST_$(TEST_GROUP), if set, will cause that
573578
# test group to be disabled *unless* the target is able to build a
574579
# compiler (i.e. when the target triple is in the set of of host

src/libstd/process.rs

+1
Original file line numberDiff line numberDiff line change
@@ -748,6 +748,7 @@ mod tests {
748748
cmd
749749
}
750750

751+
#[cfg(not(target_arch = "aarch64"))]
751752
#[test]
752753
fn test_keep_current_working_dir() {
753754
use os;

src/test/debuginfo/c-style-enum.rs

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11+
// ignore-aarch64
1112
// min-lldb-version: 310
1213

1314
// compile-flags:-g

src/test/debuginfo/issue12886.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,13 @@
1010

1111
// ignore-windows failing on 64-bit bots FIXME #17638
1212
// ignore-lldb
13+
// ignore-aarch64
1314

1415
// compile-flags:-g
1516

1617
// gdb-command:run
1718
// gdb-command:next
18-
// gdb-check:[...]33[...]s
19+
// gdb-check:[...]34[...]s
1920
// gdb-command:continue
2021

2122
#![omit_gdb_pretty_printer_section]

src/test/run-pass/sigpipe-should-be-ignored.rs

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
// Be sure that when a SIGPIPE would have been received that the entire process
1212
// doesn't die in a ball of fire, but rather it's gracefully handled.
1313

14+
// ignore-aarch64
1415
// pretty-expanded FIXME #23616
1516

1617
use std::env;

0 commit comments

Comments
 (0)