tests: Simplify multiple tests per driver code

This commit is contained in:
Bastien Nocera 2021-09-02 16:25:17 +02:00
parent 83541a2ddc
commit ec53abfc3a

View file

@ -86,11 +86,7 @@ if get_option('introspection')
endforeach
foreach driver_test: drivers_tests
if driver_test.contains('-')
driver_name = driver_test.split('-')[0]
else
driver_name = driver_test
endif
driver_name = driver_test.split('-')[0]
driver_envs = envs
driver_envs.set('FP_DRIVERS_WHITELIST', driver_name)