mirror of
https://github.com/cuberite/libdeflate.git
synced 2025-09-10 12:58:30 -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
|
return 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if (( $(adb devices | wc -l) < 3)); then
|
if ! adb devices | grep -q 'device$'; then
|
||||||
log_skip "No Android device is currently attached"
|
log_skip "No Android device is currently attached"
|
||||||
return 0;
|
return 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
for compiler in gcc clang; do
|
for compiler in gcc clang; do
|
||||||
|
Loading…
x
Reference in New Issue
Block a user