Skip to content

Commit 14ebc0f

Browse files
committed
---
yaml --- r: 63426 b: refs/heads/snap-stage3 c: c4c7e0f h: refs/heads/master v: v3
1 parent bee557d commit 14ebc0f

File tree

4 files changed

+11
-5
lines changed

4 files changed

+11
-5
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: 2d28d645422c1617be58c8ca7ad9a457264ca850
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: f7ee7d09dd520d5a392de7a28477e50465cce243
4+
refs/heads/snap-stage3: c4c7e0fb6689f606ec74d9cc29c8e0f7c71fd51c
55
refs/heads/try: 7b78b52e602bb3ea8174f9b2006bff3315f03ef9
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

branches/snap-stage3/src/test/run-pass/core-run-destroy.rs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,18 @@ fn test_destroy_actually_kills(force: bool) {
4242
#[cfg(windows)]
4343
static BLOCK_COMMAND: &'static str = "cmd";
4444

45-
#[cfg(unix)]
45+
#[cfg(unix,not(target_os="android"))]
4646
fn process_exists(pid: libc::pid_t) -> bool {
4747
let run::ProcessOutput {output, _} = run::process_output("ps", [~"-p", pid.to_str()]);
4848
str::from_bytes(output).contains(pid.to_str())
4949
}
5050

51+
#[cfg(unix,target_os="android")]
52+
fn process_exists(pid: libc::pid_t) -> bool {
53+
let run::ProcessOutput {output, _} = run::process_output("/system/bin/ps", [pid.to_str()]);
54+
str::from_bytes(output).contains(~"root")
55+
}
56+
5157
#[cfg(windows)]
5258
fn process_exists(pid: libc::pid_t) -> bool {
5359

branches/snap-stage3/src/test/run-pass/intrinsic-alignment.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ mod m {
6060
pub fn main() {
6161
unsafe {
6262
assert_eq!(::rusti::pref_align_of::<u64>(), 8u);
63-
assert_eq!(::rusti::min_align_of::<u64>(), 4u);
63+
assert_eq!(::rusti::min_align_of::<u64>(), 8u);
6464
}
6565
}
6666
}

branches/snap-stage3/src/test/run-pass/rec-align-u64.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ mod m {
6363
mod m {
6464
#[cfg(target_arch = "arm")]
6565
pub mod m {
66-
pub fn align() -> uint { 4u }
67-
pub fn size() -> uint { 12u }
66+
pub fn align() -> uint { 8u }
67+
pub fn size() -> uint { 16u }
6868
}
6969
}
7070

0 commit comments

Comments
 (0)