tests: Simplify multiple tests per driver code
This commit is contained in:
parent
83541a2ddc
commit
ec53abfc3a
1 changed files with 1 additions and 5 deletions
|
@ -86,11 +86,7 @@ if get_option('introspection')
|
||||||
endforeach
|
endforeach
|
||||||
|
|
||||||
foreach driver_test: drivers_tests
|
foreach driver_test: drivers_tests
|
||||||
if driver_test.contains('-')
|
driver_name = driver_test.split('-')[0]
|
||||||
driver_name = driver_test.split('-')[0]
|
|
||||||
else
|
|
||||||
driver_name = driver_test
|
|
||||||
endif
|
|
||||||
driver_envs = envs
|
driver_envs = envs
|
||||||
driver_envs.set('FP_DRIVERS_WHITELIST', driver_name)
|
driver_envs.set('FP_DRIVERS_WHITELIST', driver_name)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue