sanitycheck: also look for cpp files when scanning

look for *.c* instead of just *.c files when scanning or testcases.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2020-05-08 07:22:58 -04:00 committed by Carles Cufí
parent bb28035a82
commit 91fd68dbbf

View File

@ -1411,7 +1411,7 @@ Tests should reference the category and subsystem with a dot as a separator.
def scan_path(self, path):
subcases = []
for filename in glob.glob(os.path.join(path, "src", "*.c")):
for filename in glob.glob(os.path.join(path, "src", "*.c*")):
try:
_subcases, warnings = self.scan_file(filename)
if warnings: