mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2025-01-23 20:54:14 +01:00
auto-t: require "needs_hwsim" on hwsim tests
Running autotests with native hardware will not work on tests which depend on the hwsim python API (since hwsim will not be running). For these tests, it will now be required that they specify: needs_hwsim=1 This allows the test to be skipped when running with native hardware rather than the test failing with a python exception.
This commit is contained in:
parent
07115e56a1
commit
19bb93a622
@ -1,5 +1,6 @@
|
||||
[SETUP]
|
||||
num_radios=4
|
||||
needs_hwsim=1
|
||||
|
||||
[HOSTAPD]
|
||||
rad0=ssid1.conf
|
||||
|
@ -3,6 +3,8 @@ num_radios=3
|
||||
max_test_exec_interval_sec=45
|
||||
tmpfs_extra_stuff=../misc/certs:main.conf
|
||||
iwd_config_dir=/tmp
|
||||
tmpfs_extra_stuff=../misc/certs
|
||||
needs_hwsim=1
|
||||
|
||||
[HOSTAPD]
|
||||
rad0=ft-eap-ccmp-1.conf
|
||||
|
@ -3,6 +3,7 @@ num_radios=3
|
||||
max_test_exec_interval_sec=45
|
||||
iwd_config_dir=/tmp
|
||||
tmpfs_extra_stuff=main.conf
|
||||
needs_hwsim=1
|
||||
|
||||
[HOSTAPD]
|
||||
rad0=ft-psk-ccmp-1.conf
|
||||
|
@ -3,6 +3,7 @@ num_radios=4
|
||||
max_test_exec_interval_sec=120
|
||||
iwd_config_dir=/tmp
|
||||
tmpfs_extra_stuff=main.conf
|
||||
needs_hwsim=1
|
||||
|
||||
[HOSTAPD]
|
||||
rad0=ft-sae-1.conf
|
||||
|
@ -2,6 +2,7 @@
|
||||
num_radios=3
|
||||
max_test_exec_interval_sec=30
|
||||
tmpfs_extra_stuff=../misc/certs
|
||||
needs_hwsim=1
|
||||
|
||||
[HOSTAPD]
|
||||
rad0=eaptls-preauth-1.conf
|
||||
|
@ -3,6 +3,7 @@ num_radios=2
|
||||
max_test_exec_interval_sec=60
|
||||
iwd_config_dir=/tmp
|
||||
tmpfs_extra_stuff=main.conf
|
||||
needs_hwsim=1
|
||||
|
||||
[HOSTAPD]
|
||||
rad0=open.conf
|
||||
|
@ -1,5 +1,6 @@
|
||||
[SETUP]
|
||||
num_radios=2
|
||||
needs_hwsim=1
|
||||
|
||||
[HOSTAPD]
|
||||
rad0=ssidCCMP.conf
|
||||
|
Loading…
Reference in New Issue
Block a user