mirror of
https://github.com/cuberite/libdeflate.git
synced 2025-09-08 03:39:25 -04:00
run_tests.sh: fix Android device detection
This commit is contained in:
parent
14007c05fa
commit
7662390f55
@ -164,9 +164,9 @@ android_tests() {
|
||||
return 0
|
||||
fi
|
||||
|
||||
if (( $(adb devices | wc -l) < 3)); then
|
||||
if ! adb devices | grep -q 'device$'; then
|
||||
log_skip "No Android device is currently attached"
|
||||
return 0;
|
||||
return 0
|
||||
fi
|
||||
|
||||
for compiler in gcc clang; do
|
||||
|
Loading…
x
Reference in New Issue
Block a user