File tree 3 files changed +6
-6
lines changed
3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -199,7 +199,7 @@ endef
199
199
$(foreach target,$(CFG_TARGET_TRIPLES), \
200
200
$(if $(findstring $(target),"arm-linux-androideabi"), \
201
201
$(if $(findstring adb,$(CFG_ADB)), \
202
- $(if $(findstring device,$(shell adb devices 2>/dev/null | grep -E '^[_A-Za-z0-9-]+[[ :blank:]]+device')), \
202
+ $(if $(findstring device,$(shell $( CFG_ADB ) devices 2>/dev/null | grep -E '^[_A-Za-z0-9-]+[[ :blank:]]+device')), \
203
203
$(info install : install-runtime-target for $(target ) enabled \
204
204
$(info install : android device attached) \
205
205
$(eval $(call DEF_ADB_DEVICE_STATUS, true))), \
Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ endef
123
123
$(foreach target,$(CFG_TARGET_TRIPLES), \
124
124
$(if $(findstring $(target),"arm-linux-androideabi"), \
125
125
$(if $(findstring adb,$(CFG_ADB)), \
126
- $(if $(findstring device,$(shell adb devices 2>/dev/null | grep -E '^[_A-Za-z0-9-]+[[ :blank:]]+device')), \
126
+ $(if $(findstring device,$(shell $( CFG_ADB ) devices 2>/dev/null | grep -E '^[_A-Za-z0-9-]+[[ :blank:]]+device')), \
127
127
$(info check : $(target ) test enabled \
128
128
$(info check : android device attached) \
129
129
$(eval $(call DEF_ADB_DEVICE_STATUS, true))), \
Original file line number Diff line number Diff line change @@ -1309,11 +1309,11 @@ mod tests {
1309
1309
let output = str::from_bytes(prog.finish_with_output().output);
1310
1310
1311
1311
let r = os::env();
1312
- for &(k, v) in r.iter() {
1312
+ for &(ref k, ref v) in r.iter() {
1313
1313
// don't check android RANDOM variables
1314
- if k != ~" RANDOM " {
1315
- assert!(output.contains(fmt!(" %s=%s", k, v)) ||
1316
- output.contains(fmt!(" %s=\' %s\' ", k, v) ) ) ;
1314
+ if * k != ~" RANDOM " {
1315
+ assert!(output.contains(fmt!(" %s=%s", * k, * v)) ||
1316
+ output.contains(fmt!(" %s=\' %s\' ", * k, * v) ) ) ;
1317
1317
}
1318
1318
}
1319
1319
}
You can’t perform that action at this time.
0 commit comments