commit 5453f71a7cfbd892bcd91c227f90ab9ba58f293a
parent cec5fab9b3ea60bf292a6aaa5fde488cc4876743
Author: James Prestwood <prestwoj@gmail.com>
Date: Wed, 6 Apr 2022 15:08:55 -0700
test-runner: fix check for phonesim
This got changed to use which, but not updated to remove the
list argument.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/run-tests b/tools/run-tests
@@ -461,7 +461,7 @@ class TestContext(Namespace):
os.environ['IWD_SIM_KEYS'] = sim_keys
return
- if not shutil.which('ofonod') or not shutil.which(['phonesim']):
+ if not shutil.which('ofonod') or not shutil.which('phonesim'):
print("Ofono or Phonesim not found, skipping test")
return