aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/skpbench
diff options
context:
space:
mode:
Diffstat (limited to 'tools/skpbench')
-rw-r--r--tools/skpbench/_adb_path.py2
-rwxr-xr-xtools/skpbench/skpbench.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/skpbench/_adb_path.py b/tools/skpbench/_adb_path.py
index 47eb7de17e..72382bc1dc 100644
--- a/tools/skpbench/_adb_path.py
+++ b/tools/skpbench/_adb_path.py
@@ -25,7 +25,7 @@ def find_skps(skps):
return __ADB.check_lines('''\
for PATHNAME in %s; do
if [ -d "$PATHNAME" ]; then
- ls "$PATHNAME"/*.skp
+ find "$PATHNAME" -maxdepth 1 -name *.skp
else
echo "$PATHNAME"
fi
diff --git a/tools/skpbench/skpbench.py b/tools/skpbench/skpbench.py
index b84b0703a0..6b226e0a57 100755
--- a/tools/skpbench/skpbench.py
+++ b/tools/skpbench/skpbench.py
@@ -10,7 +10,7 @@ from _adb import Adb
from _benchresult import BenchResult
from _hardware import HardwareException, Hardware
from argparse import ArgumentParser
-from queue import Queue
+from multiprocessing import Queue
from threading import Thread, Timer
import collections
import glob