mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-25 17:59:25 +01:00
test-runner: remove ofono/hardcoded IWD options
This commit is contained in:
parent
bbcfde8743
commit
f3e2c4e5c3
@ -607,7 +607,6 @@ class TestContext:
|
|||||||
return
|
return
|
||||||
elif sim_keys != 'ofono':
|
elif sim_keys != 'ofono':
|
||||||
os.environ['IWD_SIM_KEYS'] = sim_keys
|
os.environ['IWD_SIM_KEYS'] = sim_keys
|
||||||
self.iwd_extra_options = '--plugin=sim_hardcoded'
|
|
||||||
return
|
return
|
||||||
|
|
||||||
if not find_binary(['ofonod']) or not find_binary(['phonesim']):
|
if not find_binary(['ofonod']) or not find_binary(['phonesim']):
|
||||||
@ -616,8 +615,6 @@ class TestContext:
|
|||||||
|
|
||||||
Process(['ifconfig', 'lo', 'up'], wait=True)
|
Process(['ifconfig', 'lo', 'up'], wait=True)
|
||||||
|
|
||||||
self.iwd_extra_options = '--plugin=ofono'
|
|
||||||
|
|
||||||
os.environ['OFONO_PHONESIM_CONFIG'] = '/tmp/phonesim.conf'
|
os.environ['OFONO_PHONESIM_CONFIG'] = '/tmp/phonesim.conf'
|
||||||
|
|
||||||
phonesim_args = ['phonesim', '-p', '12345', '/usr/share/phonesim/default.xml']
|
phonesim_args = ['phonesim', '-p', '12345', '/usr/share/phonesim/default.xml']
|
||||||
|
Loading…
Reference in New Issue
Block a user