Skip to content

Commit

Permalink
Check for both arm and armv7 android targets in runtest.
Browse files Browse the repository at this point in the history
  • Loading branch information
Nercury committed May 7, 2016
1 parent b6fc4ab commit ca03b81
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/tools/compiletest/src/runtest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ use std::process::{Command, Output, ExitStatus};
pub fn run(config: Config, testpaths: &TestPaths) {
match &*config.target {

"arm-linux-androideabi" | "aarch64-linux-android" => {
"arm-linux-androideabi" | "armv7-linux-androideabi" | "aarch64-linux-android" => {
if !config.adb_device_status {
panic!("android device not available");
}
Expand Down Expand Up @@ -424,7 +424,7 @@ actual:\n\

let debugger_run_result;
match &*self.config.target {
"arm-linux-androideabi" | "aarch64-linux-android" => {
"arm-linux-androideabi" | "armv7-linux-androideabi" | "aarch64-linux-android" => {

cmds = cmds.replace("run", "continue");

Expand Down Expand Up @@ -1132,7 +1132,7 @@ actual:\n\

match &*self.config.target {

"arm-linux-androideabi" | "aarch64-linux-android" => {
"arm-linux-androideabi" | "armv7-linux-androideabi" | "aarch64-linux-android" => {
self._arm_exec_compiled_test(env)
}

Expand Down Expand Up @@ -1230,7 +1230,7 @@ actual:\n\
}

match &*self.config.target {
"arm-linux-androideabi" | "aarch64-linux-android" => {
"arm-linux-androideabi" | "armv7-linux-androideabi" | "aarch64-linux-android" => {
self._arm_push_aux_shared_library();
}
_ => {}
Expand Down

0 comments on commit ca03b81

Please sign in to comment.