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:
parent
bb28035a82
commit
91fd68dbbf
@ -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:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user