TriggerTest+TrigValTools: Fix and protect against test art_type mismatching the file name
When adding new ART-grid tests for ATR-22923, I made a copy-paste mistake leaving an incorrect test.art_type
(build instead of grid). Fix this and protect against such mistakes by further enforcing the naming convention agreed in ATR-19735 - specifically that there needs to be a "build" or "grid" suffix in the file name matching the test.art_type
.
The naming is checked at the test configuration time, i.e. during runtime as well as in unit tests.
TrigInDetValidation is exempt from this check as agreed with @hartj
Edited by Rafal Bielski