don't exclude tests enabled to run on files set as not_sources
When paths are added to not_sources
they should considered only to verify if a test has targeted tests.
Currently, if a test is configured to trigger on a file that matches a regex of path on not_sources
they are not executed.
example: https://gitlab.com/cki-project/kpet-db/-/blob/main/cases/core-kernel/module_diff/index.yaml#L22
This test should have triggered for redhat/centos-stream/src/kernel/centos-stream-9!400 (merged)
It was not triggered because redhat/configs/common/generic/CONFIG_CRAMFS
matched redhat/.*
on not_sources
not_sources:
- \.clang-format
- \.cocciconfig
- \.get_maintainer\.conf
- \.get_maintainer\.ignore
- \.gitattributes
- \.gitlab-ci\.yml
- \.mailmap
- COPYING
- CREDITS
- MAINTAINERS
- Documentation/.*
- LICENSES/.*
- redhat/.*
- scripts/.*
- (.+/)?\.gitignore
- (.+/)?README